Results 1 to 5 of 5

Thread: Dynamic Splash Screen Effect>>Redirecting

  1. #1
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Splash Screen Effect>>Redirecting

    Everything has been working fine for the text, images , contents. But it all stuffs up in the end when it redirects to the targetdestination.

    I'm not puttting my site up on internet so i just type in "home.html" as my homepage is in the same folder as my indexpage but it dosen't seem to work. It just goes to the "page does not display" page..

    Help will be very much appreciated. ^^

  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

    That would tend to indicate that there is no file with the precise name of home.html in the folder. Of course, there could be other problems. Without seeing the code, preferably all the pages involved live somewhere, I can be certain of nothing.
    - John
    ________________________

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

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

    Default

    You see, all the images work.. (i just typed in "name.gif") So it has the same idea of not using an internet sourced file.

    I have a feeling there is just something wrong with the "targetdestination" part because you know the skip intro button? Well it links to "home.html". And that, worked .

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

    Well, here is where in the script it switches automatically to the next page:

    Code:
    window.location=targetdestination
    if you wish to enter an actual page name here, it must be in quotes:

    Code:
    window.location='home.html'
    But, it is probably best to leave that part alone and use the configuration near the top of the script (from the demo):

    Code:
    var targetdestination="http://www.dynamicdrive.com/dynamicindex3/dynamicsplash.htm"
    Which, in your case (if I have understood you correctly) should read:

    Code:
    var targetdestination="home.html"
    - John
    ________________________

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

  5. #5
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the help u gave me
    Everything's fine now ~~ It all works out ^^
    Just my mistakes
    ^-^

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
  •