Results 1 to 3 of 3

Thread: Swiss Army Z-index?

  1. #1
    Join Date
    Feb 2008
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Swiss Army Z-index?

    1) Script Title: Swiss Army Image Slideshow

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...army/index.htm

    3) Describe problem: I have successfully implemented this script on my page and it works mostly the way I want it to. The problem I have with it is that it shows up on top of my dropdown menu in IE only (suckertree menu: http://www.dynamicdrive.com/style/cs...nu-horizontal/). I've tried to use z-index values in my CSS code and in my divs, but it didn't do anything. I have this problem in IE 6 and 7. Any thoughts?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I wrote Swiss Army, but am unfamiliar with SuckerTree (who decided to call a script Sucker? - I know, it came from the 'famous' SuckerFish code which had as its examples various fish of the sucker variety, but still). Anyways, with luck, you can do this in your stylesheet:

    Code:
    .suckertreemenu * {
    position:relative;
    z-index:100;
    }
    Do it before the other suckertree styles. As long as that doesn't interfere with the operation of the menu (there's a good chance it will not), it should take care of the problem. Otherwise I would need a link to your page so that I could trace down which specific parts of suckertree need to and can safely have their styles altered.
    Last edited by jscheuer1; 08-05-2008 at 05:03 PM. Reason: spelling
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Bribunk (08-05-2008)

  4. #3
    Join Date
    Feb 2008
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Great! I see now that this CSS code applies to all the levels of the .suckertreemenu. (i.e. ...ul, ul li, ul li ul, ul li ul li...) It was pretty much a magic bullet. Thanks!

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
  •