Results 1 to 3 of 3

Thread: DHTML Add box

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default DHTML Add box

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    onload=initAd;
    
    window.onload=start_countup
    Remove them, and replace the later line with the below instead:

    Code:
    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:

  3. #3
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •