Why using a script for this ?
The following solution is only based on CSS (and lighter) :
The CSS :
<style>
#menu {
position:fixed;
margin-right:20px;
margin-top: 40px;
z-index:100;
}
</style>
The HTML :
<div id="menu ">... what you want in there ...</div>
Best regards.
Asterix
On 19 nov, 02:24, Adam Rochford <[EMAIL PROTECTED]> wrote:
> Prototype JavaScript framework, version 1.6.0.3
> scriptaculous.js v1.8.1
>
> I am currently running a script that has a menu that scrolls down as
> you scroll down. You can see it
> herehttp://www.law.indiana.edu/lawlibrary/research/guides/european/index_...
> . But you can also a notice that when the scrolling stops theres a
> "hop" or a flash or redraw happening making it not seem as a smooth as
> it should. Is there a remedy for this or is there code in here that
> should not be here? All advice is welcome.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---