On 11/8/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> You would have to setup an interval that checks for instance every 100ms
> the position of the scrollbar and then readjust the panel accordingly.
> I don't like that because the dynamic property does this job quite well
> already...
Yep! Your code works perfectly under FF/IE6! I've already get it done!
> If you feel uncomfortable about that snippet in your style sheet you can
> set that expression in your script as well:
>
> if ($.browser.msie)
> $('#panel').get(0).style.setExpression('top',
> 'document.documentElement &&
> document.documentElement.scrollTop || document.body.scrollTop');
>
This feels somewhat more 'comfortable' :p
Thank you very much! You've been a great help!
Regards,
- Eric
--
- http://www.aiyo.cn
- http://www.ifaxian.com
- http://groups.google.com/group/nkeric-daily
- http://nkeric.3322.org
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/