SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2003
    Location
    NY
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    static to window menu div

    Recently I saw a menu on a css guru's site (I've forgotten who that was!) a menu that can be locked with the browser window left and top to remain static while the rest of the page scrolls like normal. When u have the menu unlocked it scrolls normaly with the rest of the page.

    I have seen something the static menu script at dynamic drive but it looks very unprofessional in the way it jitters when u scroll. Anyone knows a better, more dependant on css script to do this? I know there is one and I have seen and used it... but I can't find that blog now...

    P.S. I search but couldn't find anything in this forum. May be I searched wrong or something...

  2. #2
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Code:
    [CSS]
    #element {
        position: fixed;
    }
    The problem with that is, as usual, IE doesn't support it properly

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2003
    Location
    NY
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DJ P@CkMaN
    Code:
    [CSS]
    #element {
        position: fixed;
    }
    The problem with that is, as usual, IE doesn't support it properly
    Well thanks... but I am sure I saw it work perfectly in IE...

  4. #4
    SitePoint Member
    Join Date
    Jul 2003
    Location
    California
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Living Can Kill You employs a "position: fixed" sidebar that can be locked and unlocked, which works fine in every browser except IE.

    If the example you saw worked in IE, it's most likely coded in some form of Javascript/DHTML and not with CSS.


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
  •