Forum Moderators: open

Message Too Old, No Replies

Onclick Javascript Windows Blocked By SP2 in IE?

Javascript Blocked, Active Content Blocked by IE upon installing SP2

         

guitarslinger

11:56 pm on Nov 6, 2004 (gmt 0)

10+ Year Member



Hi Guys, thought you might be able to give me a few pointers. In my product pages i use javascript to create a sized pop up window either of a bigger pic of the product, or of stocking/delivery info.

I am using external script.js like this

<html>

<head>
<script src="http://www.richtonemusic.co.uk/script.js" type="text/javascript"></script>
</head>

and am using the following type of link to open up the windows:

<a href="../images/digitech-bad-monkey1.jpg" onclick="NewWindow(this.href,'name','420','420','no');return false;">
Click For Large Photo</a>

THE PROBLEM:
Just installed Windows XP SP2 and am noticing that when the page loads in IE, I get a pop blocked msg; IE has restricted this file from showing active content that could access your computer. Click here for options.

I can then turn on active content and use the pop up links normally. But my worry is that the Joe Blogs user on my site will "pap" himself and think his computer is being hacked and leave! (ok extreme i know, but we get all sorts!)

Is there any way to get around this as user clicked pop up windows are going to be pretty much integral to my site.

Any suggestions gratefully received. Oh yeah, btw - my pages are all static, no fancy data base and the only thing active on the page is the external link to the .js file.

Cheers

Rich

Guitar Slinger

kaled

7:01 pm on Nov 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Many threads on this. It's normally ok if the site is remote but fails if the site is on your local PC.

Also, TOS disallow posting of personal urls.

Kaled.

Lance

7:29 pm on Nov 7, 2004 (gmt 0)

10+ Year Member



And if this is the case, checking:

Tools -> Internet Options -> Advanced
Security Section
Allow active content to run in files on My Computer (Second Option)

Should resolve it.

guitarslinger

10:11 am on Nov 8, 2004 (gmt 0)

10+ Year Member



Thanks guys - yeah, actually it is on my local system, doh! How come I can't owner edit the first post?! I did actually type in www.mysite.co.uk but it seems that i didn't save it! - any chance a mod can get rid of it for me?

Cheers

Rich