PDA

View Full Version : I Can't Get The Time-based Progress Bar To Work



rc18tbrushless
07-21-2008, 09:55 PM
1) Script Title: Time-based Progress Bar

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/dhtmlprogress.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!

ddadmin
07-22-2008, 02:57 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

rc18tbrushless
07-22-2008, 03:27 AM
It's not uploaded to the web yet, did it have to be?

ddadmin
07-22-2008, 03:30 AM
No, but it'd be very helpful since there isn't a lot to go by right now.

rc18tbrushless
07-22-2008, 03:37 AM
//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.

ddadmin
07-22-2008, 03:39 AM
Yep, simply modifying the existing line inside the .js file to index.html should have done it:


window.location="index.html"

rc18tbrushless
07-22-2008, 03:44 AM
ok I got it, thanks

the problem was i was adding all this:


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