PDA

View Full Version : DHTML Ad Box - Help please



basils57
03-21-2006, 10:58 AM
http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm

The above box opens simultaneously with the webpage. Is there any way to delay the opening by, say 5 secs?

jscheuer1
03-21-2006, 03:55 PM
Changing:


onload=initAd;

to:


onload=function(){
setTimeout("initAd()", 5000);
}

should do it. 5000 is the number of milliseconds delay.

basils57
03-22-2006, 11:13 AM
Thanks again John.