SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    May 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Suckerfish menu not working in IE 6

    Can anyone see why the dropdown I made from this example isn't working.

    Here's my version...

    Cheers

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,380
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    The main reason is that you have missed out the IE6 class provided by the javascript. You alos need a couple of hacks for IE to make it behave.

    Code:
    #home #outer #nav li ul {
        float: left;
        padding: 14px 0 0 0;
        margin: 0;
        position: absolute;
        width: 10em;
        left: -999em;
        background:url(fake.gif) no-repeat;/* ie will lose focus unless you add this - use a 1px x 1px fully transparent gif*/
    }
    #home #outer #nav li:hover ul,
    #home #outer #nav li.sfhover ul {
        left: auto;
        top: 30px;
        padding-left: 7px;
        clear:both
    }

  3. #3
    SitePoint Addict
    Join Date
    May 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul, your a modern marvel!


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
  •