Results 1 to 5 of 5

Thread: Splash Page script - delay popup?

  1. #1
    Join Date
    Nov 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Splash Page script - delay popup?

    1) Script Title: Splash Page script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...amicsplash.htm

    3) Describe problem: Hello! The script is perfect for my needs, except one: I would like it to pop up 15 seconds after the page loads (I know, it's a weird and seemingly useless request. I don't ask; I just do.) Any help would be much appreciated!

    Thanks,
    Farrah

  2. #2
    Join Date
    Nov 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello again! Just adding that I figured I probably need to add setTimeout somewhere in there having to do with "splashpage.init()"... but I'm having a helluvah time trying to figure out where/how to put this in. Thanks in advance, oh mighty script gurus!

    -Farrah

  3. #3
    Join Date
    Nov 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello! So... still trying to solve this one (got waylaid by other projects). You can see what I tried here--basically tried to use setTimeout to call the splashpage.init function, but definitely didn't set it up right. Please help!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,127
    Thanks
    44
    Thanked 3,228 Times in 3,189 Posts
    Blog Entries
    12

    Default

    Use this modified version of the script (right click and 'Save As'):

    splashpage.js

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    Also, since this is setup for session only, the cookie may need to be deleted if it's already been set by the other version of the script. So either close all instances of the browser to delete session only cookies, or remove the cookie manually using your browser's tools or options. The cookie name is:

    splashpagecookie_s

    It will be registered under your page's domain.
    - John
    ________________________

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

  5. #5
    Join Date
    Nov 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Once again, worked like a charm. (I never would have come up with that solution with my remedial knowledge of javascript, so thank you... again... a zillion times over.)

    Thanks,
    Farrah

Similar Threads

  1. Resolved Splash Page script single page initiation
    By superdmg in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-09-2010, 01:55 AM
  2. how to set a delay on the DHTML window popup script
    By smit in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-30-2009, 10:05 PM
  3. Problem w/Splash Page Script when home page has a swf file on it
    By dnadavid in forum Looking for such a script or service
    Replies: 3
    Last Post: 12-10-2008, 12:47 AM
  4. MSN Type Popup that appears at the bottom of the page at the right with a delay
    By hellothere in forum Looking for such a script or service
    Replies: 1
    Last Post: 07-23-2008, 07:43 PM
  5. Help with splash page script...
    By littleolemedesigns in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 02-14-2008, 01:57 PM

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
  •