I have region which initially needs to be fixed in a certain position. After data is returned to the page and the user scrolls down to the bottom instead of remaining in its fixed postion I want my region to float to the top of the page, if I scroll right back to the top I want the region to revert to its original position.
I found a very handy demo that did what I want ( http://fiddle.jshell.net/zsJAr/show/light/) BUT it uses JQuery and I am unable to use JQuery in my pages. :(
Does anyone know how I can replicate what this demo was but without JQuery?
p.s. we are using script.aculo.os and prototype but I can't seem to find anything similar.
Thanks in Advance