[jQuery] Re: keeping element is same position no matter scroll

2008-02-13 Thread Eridius
I have used a js script that did this same thing(might have been the same script) and instead of fixed IE 6 it would crash IE 6 randomly. I also think it is over kill to add 23KB to fix a small issue or make this a requirement to use my plugin. Cloudream wrote: > > > try DEAN's IE7 js lib. >

[jQuery] Re: keeping element is same position no matter scroll

2008-02-13 Thread Cloudream
try DEAN's IE7 js lib. http://dean.edwards.name/IE7/ On Feb 14, 4:08 am, Eridius <[EMAIL PROTECTED]> wrote: > I want to create the same effect the thickbox/thickbox reloaded does so if > someone tries to scroll down manually with the mouse and browser side scroll > bar my content remain in the sa

[jQuery] Re: keeping element is same position no matter scroll

2008-02-13 Thread Jeffrey Kretz
There are four ways to do this. One is a css property called { position:fixed }, however that only works on a CSS2 browser such as Firefox, Opera, Safari and IE7. It does not work on IE6 or below. The second thing would be to attach a function to the window.onscroll event. $(window).bind('scro