Anchors don't work with images

danwhite85's Avatar

danwhite85

28 Aug, 2012 12:33 AM

How come I can't get a simple image link to work.

My slide markup is simple, but the image isn't clickable.

<div class="rsNoDrag">
    <a href="http://google.com">
        <img src="http://placekitten.com/1200/400">
    </a>
</div>
  1. Support Staff 1 Posted by Dmitry Semenov on 28 Aug, 2012 06:04 AM

    Dmitry Semenov's Avatar

    Hi,

    I've tried your code for slide, it works. Please make sure that you're using latest version of JS file. You can find it on build tool page - http://dimsemenov.com/private

    Andm also, any reason why do you add rsNoDrag class there?

    Dmitry

  2. 2 Posted by danwhite85 on 28 Aug, 2012 05:08 PM

    danwhite85's Avatar

    I found out what it was on mine: The bullets layer didn't have a set height and was position relative, so it was laying over the top of of my slides. So clicks were actually being made on the bullets container.

    NEW ISSUE:

    The issue I'm having now is that I can't get my slider to resize correctly. From the inspect tool I can see that rsOverflow isn't resizing, but I don't know if that's the element causing it or not.

    I've tried using the exact same markup and styles from your fullwidth example, but no luck.

    Here's my site:
    http://www.lcsc.edu/mocks/live/

    **EDIT I see that my images are not resizing. They do have the rsImg class applied. They size up if I refresh with the screen small and expand, but they don't size back down.

  3. danwhite85 closed this discussion on 28 Aug, 2012 09:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac