Yes, but from what I understand, that's just a dropshadow for images (or other block like displays), I want it on text, on each individual letter. Andreas -----Ursprungligt meddelande----- Från: Christian Heilmann [mailto:lists at onlinetools.org] Skickat: den 21 december 2004 14:14 Till: thelist at lists.evolt.org Ämne: Re: [thelist] onScroll event? Andreas Wahlin wrote: >Is there some way to detect when you scroll an element? >Scenario is that I want dropshadow on the text of a div, so I just put >in another div with a slight offset and ... drop shadow! >Now, if the text in that div is large, there be scrollbars, and if >clicked, the div obviously scrolls the text, leaving the dropshadow >behind. >It could of course be solved by firing a setInterval and checknig the >scrollTop attribute on the text div, and then apply that to the >dropshadow div, but it would be nice to have a onScroll event or >something . > > alistapart.com had some articles about CSS dropshadows. It seems to me that you might be overcomplicating things. I don't really know how scrolling would leave the shadow layer behind. -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !