newb guy wrote:
Hi,
I am interested in javascript that allows a banner ad (a skyscraper) to
alwas stay on-page even if user scrolls down (so the banner slides down as
well). I googled for it alrady, but could not figure.
You can use CSS position: fixed for browsers that support it. For those
that don't, there's script or frames. In general, such things are not
liked.
CSS position fixed:
<URL:http://www.w3.org/TR/CSS21/visuren.html#propdef-position>
Discuss frames in:
<URL:comp.infosystems.www.authoring.html>
Search the CLJ archives for script solutions using scrollTop and
pageYOffset - but you'll find they leave a lot to be desired.
<URL:http://www.quirksmode.org/viewport/compatibility.html>
[...]
--
Rob