Heh, Ok, well, the site is set out something like this:
+----------------------+ | | | | +--------------+-------+ | |+-----+| | ||Help || | ||Box || | |+-----+| | | | | | | +--------------+-------+ As the user scrolls down and the header box disappears into the aether, the help box should move up the screen in the position it's in, but as the sidebar in which it sits disappears out of the viewport the help box needs to start scrolling downwards, so it always sits within that sidebar, but moves up and down if the sidebar is at or out of the top of the screen. Does that make sense? Ben. On 8/22/07, Tamm Sjödin <[EMAIL PROTECTED]> wrote: > > what's wrong with a fixed position? :) > > $('p').css({position:'fixed',left:'50%',top:'50%'}); > > or perhaps you just need to make a more indepth description ^^ > > GL, > Tamm > > On 8/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hiya, > > > > On part of a site I'm working on I want to add a floating help box > > which moves down the screen as the user scrolls down the page. It > > shouldn't move horizontally, and vertically it should remain within > > its container so that it doesn't cover the site header or footer. Is > > this possible using jQuery? It's not mentioned in the tutorials, but > > the interface demos on eyecon.ro imply it might be. > > > > Thanks, > > > > Ben. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~----------~----~----~----~------~----~------~--~---