Log in

View Full Version : JS Newsbie seeking clarification with script



Cmdr_Biggles
12-04-2008, 12:12 AM
1) Script Title: splashscript.js

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.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/images/smilies/redface.gif

Cmdr_Biggles
Australia

jscheuer1
12-04-2008, 07:28 AM
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.