Results 1 to 3 of 3

Thread: DHTML Ad Box - Help please

  1. #1
    Join Date
    Mar 2006
    Location
    UK
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Ad Box - Help please

    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?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Changing:

    Code:
    onload=initAd;
    to:

    Code:
    onload=function(){
    setTimeout("initAd()", 5000);
    }
    should do it. 5000 is the number of milliseconds delay.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Location
    UK
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks again John.

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
  •