Results 1 to 3 of 3

Thread: position fix

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    460
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default position fix

    i need a js that can make effect like this page:

    http://moronicbajebus.com/

    when you scroll down the menu always in the position, the only thing that scroll only the main content.



    i don't know how to explain it clearly, i hope you can understand what i mean.

    thanks a lot.
    _____________________

    David Demetrius // davejob
    _____________________

  2. #2
    Join Date
    Oct 2009
    Location
    Mumbai
    Posts
    17
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default

    These are the reference site that you can use
    http://www.cssplay.co.uk/layouts/fixed.html

    http://www.wduffy.co.uk/blog/wp-cont...lling-element/

    The other option that u can do is give id to ur menus and assign postion as fixed.
    Example:
    #menu {
    position:fixed;
    display:block;
    top:0px //u can give in pixel how much u want to move ur menu down
    left:0px //pixels for moving ur menu to left as required
    }

  3. #3
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    460
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    thanks smrnsmile...
    _____________________

    David Demetrius // davejob
    _____________________

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
  •