Results 1 to 7 of 7

Thread: Get menu on top of slideshow

  1. #1
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Get menu on top of slideshow

    in need of how to make my menu (http://www.dynamicdrive.com/dynamici...anylinkcss.htm) come out on top of Ultimate Fade In Slideshow v2.0 (http://www.dynamicdrive.com/dynamici...nslideshow.htm). Currently when a menu drops it goes behind the slidehow and can't be seen. Works in IE but not on any other browser. Please help. Thank you.

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    use the css3 z-index property, which basically defines which layer the item is on, add this to your css for it:
    Code:
    z-index: 100;
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Bernie, however the z index was already set to 100 in the css. here is my site, maybe that would help? http://thecamelotbanquethall.com. Issue is in FireFox

  4. #4
    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

    make it 1010
    - John
    ________________________

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

  5. #5
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    1010 did not work either. any other suggestions would be great. here is the CSS as provided when I included the menu in the page:

    Code:
    /* ######### Default class for drop down menus ######### */
    
    .anylinkcss{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid black;
    border-bottom-width: 0;
    font: normal 12px Verdana;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #cfc7b0;
    width: 400px; /* default width for menu */
    }
    
    .anylinkcss ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    }
    
    .anylinkcss ul li a{
    width: 100%;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid black;
    padding: 1px 0;
    text-decoration: none;
    font-weight: bold;
    text-indent: 5px;
    }
    
    .anylinkcss a:hover{ /*hover background color*/
    background: black;
    color: white;
    }
    
    /* ######### Alternate multi-column class for drop down menus ######### */
    
    
    .anylinkcsscols{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid black;
    padding: 10px;
    font: normal 12px Verdana;
    z-index: 100; /*zIndex should be greater than that of shadow's below*/
    background: #cfc7b0;
    }
    
    .anylinkcsscols .column{
    width: 185px;
    float: left;
    }
    
    .anylinkcsscols .column ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    }
    
    .anylinkcsscols li{
    padding-bottom: 3px;
    }
    
    /* ######### class for shadow DIV ######### */
    
    
    .anylinkshadow{ /*CSS for shadow. Keep this as is */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99; /*zIndex for shadow*/
    background: black;
    visibility: hidden;
    }
    Last edited by keyboard; 10-05-2012 at 07:30 AM. Reason: Format: Code Tags

  6. #6
    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

    Code:
    .anylinkcsscols{
     position: absolute;
     left: 0;
     top: 0;
     visibility: hidden;
     border: 1px solid black;
     padding: 10px;
     font: normal 12px Verdana;
     z-index: 1010; /*zIndex should be greater than that of shadow's below*/
     background: #cfc7b0;
     }
    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

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

  7. #7
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Please encase your code between:
    [code]
    tags

    I'd suggest continuing to increase the z-index until you get the result you want.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

Similar Threads

  1. Slideshow covers up my menu bar, please help!
    By AHalsey in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-30-2011, 02:27 PM
  2. Slideshow & Drop Down Menu
    By jazzbrew in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-01-2011, 04:52 PM
  3. slideshow vs. dropdown menu
    By mws-jennifer in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-11-2010, 02:09 PM
  4. Slideshow and HV Menu Conflict
    By Bornfree in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-10-2006, 03:11 AM
  5. Slideshow + DHTML menu
    By skeetrfan in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-05-2005, 01:38 PM

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
  •