Webpage not loading properly - Javascript???

G

Guest

Hi,
I have been to a couple of websites such as www.O2.co.uk
and www.orange.co.uk/services and they haven't loaded
properly. For example for the O2 website it loads the
page and everything else but the centre part is loaded
and shifted to the right hand side. In the Orange website
there is suppose to be hyperlinks where they expand and
you can click on them. I have tried them on other
computers with XP Pro and they work. I think the problem
could be to do with javascript because when I look at the
source code on my computer it is different to the other
computer. Here is part of the code from my computer:

<script language="JavaScript"><!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//--></script><script language="JavaScript"><!--// INCLUDE STYLESHEET BASED ON BROWSER
if (navigator.appName=="Netscape" &&
navigator.appVersion<"5"){
document.write('<link rel="stylesheet" type="text/css"
href="http://flash.O2.co.uk/scripts/ns4style.css">')
} else {
document.write('<link rel="stylesheet" type="text/css"
href="http://flash.O2.co.uk/scripts/iensstyle.css">')
}
//--></script>

I'm running XP Pro with IE6 SP1.

Thanks.
 
F

Frank Saunders, MS-MVP IE/OE

Ricky said:
Hi,
I have been to a couple of websites such as www.O2.co.uk
and www.orange.co.uk/services and they haven't loaded
properly. For example for the O2 website it loads the
page and everything else but the centre part is loaded
and shifted to the right hand side. In the Orange website
there is suppose to be hyperlinks where they expand and
you can click on them. I have tried them on other
computers with XP Pro and they work. I think the problem
could be to do with javascript because when I look at the
source code on my computer it is different to the other
computer. Here is part of the code from my computer:

SNIP

Thanks.

You might want to refresh your scripting engine:
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
or
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
Windows Script 5.6 for Windows 2000 and XP
http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en

--
Frank Saunders, MS-MVP IE/OE
http://www.fjsmjs.com
Reply to Newsgroup. I won't answer email
Protect Your PC
http://www.microsoft.com/security/protect/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top