Results 1 to 3 of 3

Thread: Pop-Up/Over Delay and Float-In

  1. #1
    Join Date
    Dec 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pop-Up/Over Delay and Float-In

    Hello Everyone,

    We had some thoughts and ideas we wanted to pass along and see if anyone had some solutions to this.

    We found two pop-up scripts at Dynamic Drive that we like. One of them is is the DHTML Window located at
    http://www.dynamicdrive.com/dynamici...htmlwindow.htm

    the other is from Brian Gosselin PopUp Box II and the aesthetics are great on this one located at
    http://www.dynamicdrive.com/dynamicindex11/abox2.htm

    What we are looking for is a pop-up window that will appear delayed after someone comes to the page and floats downward. We have looked for these scripts and played around with many of them, but all in all none of them have worked well.

    The two above work well and are easy to use. Now we need to add the other functionalities to them, unless someone has a suggestion of one that works and is already out there?

    Actually if someone could come up with a version that fades into the screen on a delay, you would certainly have something new.

    Open to suggestions and feedback.

    Thanks.

  2. #2
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How would I time delay the following drop in box so it show's up after a specific time.

    http://www.dynamicdrive.com/dynamici...htmlwindow.htm

    Thanks
    Jason
    Last edited by jasculs; 11-08-2005 at 06:19 AM.

  3. #3
    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

    Replace this part of step2:

    Code:
    <script>
    //Use below code to load DHTML Window as page loads 
    if (ns6) window.onload=new Function('loadwindow("http://www.google.com",600,400)')
    else
    loadwindow("http://www.google.com",600,400)
    </script>
    with:

    Code:
    <script type="text/javascript">
    //Use below code to load DHTML Window as page loads 
    if (ns6) window.onload=function(){
    setTimeout("loadwindow('http://www.google.com',600,400)", 2000)
    }
    else
    setTimeout("loadwindow('http://www.google.com',600,400)", 2000)
    </script>
    2000 is the number of milliseconds delay. In this case, 2000 or 2 seconds.
    - John
    ________________________

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

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
  •