View Full Version : Display a layer after delay

06-27-2004, 11:39 AM
Dear All

I want to make a layer visible after say 15 seconds when window opens,
and will remain visible for ever.

How can I do it ...

with regards
Vikas Athavale

Mr J
06-27-2004, 03:51 PM
Something like the following




<div id="mylayer" style="visibility:hidden">Hello world</div>

Is this layer in the new window?

06-27-2004, 05:41 PM
Dear Mr J

Thanks a lot for the prompt reply

The layer is NOT in new window however ..

What happens in case the layer is in new window ?

Can I define this as a function...like this

<script language=j"avascript ">
function showlayer()
I want to call this function when window is loaded

How do I call it when window opens..

Please help ...

With regards
Thanking you in advance
Vikas AThavale

Mr J
06-27-2004, 06:39 PM
Put showlayer() in the opening body tag like so

<BODY onload="showlayer()">

06-28-2004, 02:35 AM

Thanks that was speedy & accurate reply


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum