Results 1 to 2 of 2

Thread: JS Newsbie seeking clarification with script

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

    Red face JS Newsbie seeking clarification with script

    1) Script Title: splashscript.js

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

    3) Describe problem:
    Line 21 "Defineheader"...
    I am having trouble finding just where the URL for the next page (after display interval is up) goes in this line. I can see that the "javascript:splashpage.closeit()" is for the Skip to Into button but where to put the real URL i.e. in this http://www.otwaywalks.com/front.html is bedevilling me.

    Something like "javascript:splashpage.closeit()"; href:"http://www.otwaywalks.com/front.html";

    This worked earlier but the page did not move to the target; the js cleared and the page displayed without the header.

    Can somebody point me in the right direction please http://www.dynamicdrive.com/forums/i...es/redface.gif

    Cmdr_Biggles
    Australia

  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

    There is nowhere to put that, it isn't required. The idea is to put this script on the actual page that you want revealed, ideally on your index page. Once the splash script runs or if the skip button is pressed, whatever page it is on will be revealed.

    The only location you need to configure is for the page you want to be shown as the splash.
    - 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
  •