[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Giovanni Battista Lenoci
agileteks ha scritto: Hi forum, Does anyone has jQuery code example of how to keep a message floating on top of a screen and it is staying on that position even though when we scroll the screen? I am pretty new to jQuery. If anyone could explain to me how to do that, i very appreciate it.

[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Theodore Ni
You may also like to hear that there is the CSS position fixed property, which does what you want, even though there are some problems with it and IE6-. Check out position fixed at http://www.quirksmode.org/css/position.html Also, you may be able to use fixed positioning in IE6, see

[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Ambient.Impact
This can be done with CSS alone, in everything but IE 6. postion:fixed is your friend. There are a few workarounds for IE 6, though, using JavaScript, or IE's proprietary behaviours (which use JavaScript, but are linked through stylesheets) or expressions, which are basically JavaScript in CSS.