if you don't care about ie6 then position:fixed with a z-index above
everything else will do the trick.
for ie6 you will need some javascript, though even then it will be jumpy.
Andy Matthews wrote:
No, not like that.
I'm looking to essentially simulate a frameset, where the navigation
stays on top while all content scrolls underneath it. It might be a
pure CSS solution and that's fine. I assumed it would require
JavaScript of some sort.
andy
------------------------------------------------------------------------
*From:* [email protected] [mailto:[EMAIL PROTECTED]
*On Behalf Of *aquaone
*Sent:* Tuesday, December 02, 2008 6:23 PM
*To:* [email protected]
*Subject:* [jQuery] Re: Fixed div, content scrolls under it
do you mean something other than:
<div id='nav'>...</div>
<div id='content' style='overflow-y:scroll'>...</div>
Sounds like a CSS question, not a jQuery one...
stephen
On Tue, Dec 2, 2008 at 14:38, Andy Matthews <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I'm looking at the possibility of having navigation at the top of
the page, pinned to the top. I'd like for the content to scroll
UNDER the container. I've seen it before, but forgot to bookmark
it to see how it was done.
Does anyone have a plugin for this, or know how it's accomplished
and can point me to an example?
andy