PDA

View Full Version : DHTML Add box



chechu
02-21-2007, 04:40 PM
1) Script Title: DHTML add box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm

3) Describe problem: This script doesn't seem to work with me. Nothing happens when you open the page, although I placed an image to "pop up".
http://www.cecicasariego.com/bebe/bebe.html

ddadmin
02-21-2007, 08:40 PM
At a glance it seems the problem is due to your page containing two body onload event handlers, causing the former to be overwritten (the DHTML ad one). Find the two lines:


onload=initAd;

window.onload=start_countup

Remove them, and replace the later line with the below instead:


window.onload=function(){
initAd()
start_countup()
}

BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:

chechu
02-22-2007, 09:09 AM
Thanks ! Works well indeed.
I have a general credit placed in the homepage http://www.cecicasariego.com, referring to DD (click on "webdesign"), and in the HTML-code of the index. If that is not okay, please let me know.