Results 1 to 2 of 2

Thread: Scrolling div . . .

  1. #1
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default Scrolling div . . .

    Sorry for such a stupid question, but I could not find the answer. *clears throat* How do you make a div tag move up and down when the page is scrolled?

    Thanks for your immense patience!
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Do you mean, how to make a div always stay in the same position on the screen, even when you scroll the page?

    You can use Javascript like this: http://www.dynamicdrive.com/dynamicindex10/topmsg.htm

    Or, the css ways would be with position:fixed. IE6 and below, however don't support that. There are different workarounds, for example http://www.w3.org/Style/Examples/007/menus.html
    Last edited by Veronica; 06-15-2007 at 08:28 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
  •