PDA

View Full Version : IE Blockin Problem


b_ball_player9
09-09-2005, 09:51 AM
hi
im building this site for a school assesment, and im using a javascript style switcher on it, so when a user clicks on any of the three buttons the javascript loads a differnt style sheet,this works fine on my computer,but the problem is that when testing the site on the computers at school IE 6 blocked out the javascript,

Is there anything i can do to solve this?

also im not allowd to adjust the settings in IE6 at school

thanks

Kor
09-09-2005, 10:01 AM
also im not allowd to adjust the settings in IE6 at school

Than you can not do nothing. You must have used IE6 on XP SP2, which, by default, blocks the runing of any script (javascript, ActiveX...) on local level. If you put your pages somwhere outside (on a server, with an URL address, the code will work.

Or use Mozilla, and enable very easily the javascript, if disabled

Anyway, if you decided to change the settings of IE6 to accept locally running of javascript, here's:
http://weblogs.asp.net/jgalloway/archive/2004/08/20/218123.aspx
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

b_ball_player9
09-09-2005, 10:36 AM
ohh ok so what your saying is once i upload my site, it should work?

thanks a lot aye coz i was planing on redesigning my site

thank you

Kor
09-09-2005, 04:32 PM
ohh ok so what your saying is once i upload my site, it should work?

It will work, unless the IE on your school is set to prevent the runing of the the scripts at all levels, as well (if it is set at a maximum security level - but this is not the default seting of the IE on XP SP2...)