Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript img link in a ul, simple problem?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36659
    Ranger
    Member

    okay, so I have an unordered list with images in each li. the last image i wanted to make a link, so i wrapped it in an ‘a’ tag.
    simple right? now this whole list is used in a jquery slider kinda thing. My problem is this, instead of making my one img a link it turned every other image into link except the image i wrapped in an ‘a’ tag. so what gives? I must be missing something simple.
    here’s the site verticaldiner.com I’m referring to the rotating images up top.

    here’s the jquery involved: if you have any idea what’s going on, thanks!





    #96702
    wolfcry911
    Participant

    Its the z-index. Change the .show class to:

    div.rotator ul li.show {
    z-index: 1;
    }

    and make the #topNav z-index something higher

    #96704
    Ranger
    Member

    Well, how bout that! that worked thanks, i have no idea why, but it did.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.