jspeybro
08-19-2004, 11:03 AM
Hi, it's probably already been asked or easy to do, but I don't know what to look for exactly.
this is what I want to do:
when a page loads, it should have a sort of flashing effect for a short time (half a second or something). after that the actual website should apear, with a text on top of it, also during a short time. then the text should disappear and just the actual site should be viewable.
I tried to make a script myself, but I don't know enough javascript.
I think it should be possible to show and hide a div a few times. this div has height and width 100% and on top of everything.after that showing a div containing some text. after a short time this div will disappear too.
but I don't know anything about timing with javascript, so... :confused:
when this script is working, I would like to add a cookie, so that this effect only happens if the cookie doesn't exists and after the effect, sets the cookie, but that's another thing.
any idea's?
thanks in advance
Johan
this is what I want to do:
when a page loads, it should have a sort of flashing effect for a short time (half a second or something). after that the actual website should apear, with a text on top of it, also during a short time. then the text should disappear and just the actual site should be viewable.
I tried to make a script myself, but I don't know enough javascript.
I think it should be possible to show and hide a div a few times. this div has height and width 100% and on top of everything.after that showing a div containing some text. after a short time this div will disappear too.
but I don't know anything about timing with javascript, so... :confused:
when this script is working, I would like to add a cookie, so that this effect only happens if the cookie doesn't exists and after the effect, sets the cookie, but that's another thing.
any idea's?
thanks in advance
Johan