Click to See Complete Forum and Search --> : FireFox and Safari Browser Issues
FiltreD1
05-26-2005, 12:30 AM
Hey guys,
I made a site entirely in Dreamweaver:
www.mpactaccess.com
Can anyone tell me why it is not viewing in FireFox and Safari browsers??? Also, when you are able to view the site, the url for the index page is not displayed properly. It reads something like:
www.mpactaccess/charles/index.htm when it should be just mpactaccess.com???
Im lost.
Ryan8720
05-26-2005, 02:29 AM
You have a redirect script in the body section. Remove it.
FiltreD1
05-26-2005, 06:06 AM
Ryan,
Thanks for your help, however, I'm looking at the index page and I can't find the piece of code that is redirecting the browser?
Vikia
05-26-2005, 01:31 PM
hmmm, I am not able to view on Netscape or Safari. I can see only with IE.
this piece of code in your main index page
<SCRIPT LANGUAGE="JavaScript"><!--
var timeID= window.setInterval("moveTo();", 1);
function moveTo()
{
window.clearInterval(timeID);
document.URL= "Charles/index.html";
}
//--></SCRIPT>
is redirecting to the charles folder index page. Therefore you will get mpactaccess/charles/index.htm as your url. And i believe that javascript code is not working for mozilla base browser which is why you will see a blank page. There are many redirect methods that will work for mozilla and ie. just google it.
FiltreD1
05-26-2005, 07:02 PM
function moveTo()
{
window.clearInterval(timeID);
document.URL= "Charles/index.html";
}
//--></SCRIPT>
Can I just delete this function?
Ryan8720
05-26-2005, 07:22 PM
You can delete the whole script, but then there won't be anything to display. Seems the actual page is located at www.mpactaccess/charles/index.htm. You need to either move the page or get a better redirect.
Roo-1
05-28-2005, 01:17 AM
Why not just upload the *real* index file that is loacted at charles/index.html to the root?
Take that index file and upload it to the root directory, and then delete it from the the /charles directory.
When you upload the *real* index page to the root it will replace the one that is there, that contains nothing but a re-direct script.