Kool Kat

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromKool Kat
ToMe
SubjectFalling Snow
Date18 December 2006 16:03
I'm using your falling snow js.  very nice, by the way.  for some reason
some of the flakes are falling underneath some divs on my page. 
coincidentally it happens to start doing this in my code where I call up
javascript for another purpose. 

[URL] if you want to see the code
FromMe
ToKool Kat
SubjectRe: Falling Snow
Date19 December 2006 10:09
kool kat,

> for some
> reason some of the flakes are falling underneath some divs on my
> page.

The script tag that calls the snow script should be put just before the
closing </body> tag (at the end of the page), not after the opening <body>
tag. Otherwise any positioned elements that are created after the script has
run, will be given a higher position in the stacking order.


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.