Results 1 to 2 of 2

Thread: Scrollable Content II layering problem in Safari

  1. #1
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Scrollable Content II layering problem in Safari

    I have recoded the Scrollable Content II script to be a horiz scroller, and it works perfectly in IE (PC/Mac), and Firefox (PC/Mac), but I get very strange behavior in Safari. Let's see if I can describe this:

    Visit http://www.900frames.tv to see the scroller in Safari.

    So, first off, I got rid of all NS4 checking since I don't care about NS4 users anyway, so it's strictly getElementById and the iens6 variable. Secondly, the page is in XHTML, which doesn't support the LAYER or ILAYER tags anyway.

    I have the scroller content inside of the container, and I have an arrow image on either side of the container - one to scroll left, one to scroll right. The stuff inside of the content DIV is only images, and I have a mouseover on each of those images to display a caption underneath the images when you hover over them. When I hover over the right arrow to start scrolling, I don't get any scrolling action, and instead get the caption underneath the hidden image. The mouseover of the IMGs is ABOVE the A tag of the arrow, even though the images are hidden by overflow:hidden in the container, and in a nested DIV tag. I've messed around with z-index, which doesn't work, and I'm pretty much at an impasse.

    Does anybody know of any overflow:hidden/postition:absolute/nested DIV/onmouseover/Safari problems that might be causing this?

  2. #2
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking Problem solved - thanks for your help :)

    So I figured it out. Apparently the content DIV inside of the container DIV had a width that was too small. I have the page calculate the width of the content DIV based on the number of images there are in the scroller, and I guess I had it short by 8 pixels. Still very weird Safari behavior if you ask me....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •