Results 1 to 7 of 7

Thread: I Can't Get The Time-based Progress Bar To Work

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

    Default I Can't Get The Time-based Progress Bar To Work

    1) Script Title: Time-based Progress Bar

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

    3) Describe problem: I can't get it to redirect me to a new page. I want to redirect it to index.html. They are in the same folder. I thought I was doing it right but I must not be. Can somebody help me!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Jul 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's not uploaded to the web yet, did it have to be?

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    No, but it'd be very helpful since there isn't a lot to go by right now.

  5. #5
    Join Date
    Jul 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    //To cause to redirect to another page, insert the following line:
    // window.location="http://redirect_page.html";
    // just change the actual url of course

    Where do you insert that ;ine to get it to redirect, I think I might be messing up there.

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Yep, simply modifying the existing line inside the .js file to index.html should have done it:

    Code:
    window.location="index.html"

  7. #7
    Join Date
    Jul 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok I got it, thanks

    the problem was i was adding all this:

    Code:
    // window.location="http://redirect_page.html"; //

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
  •