PDA

View Full Version : Dealing with IE security



radninja
07-21-2006, 12:11 AM
1) Script Title: HV Menu 5.5

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

3) Describe problem: It seems whenever I use scripts, my IE browser comes up with "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options". I know this is due to browser settings which I could turn off.

My question is, when I go to the dynamic drive website to view examples of these scripts, I don't get the same security warning. What gives? Is there something I need to insert in the code or something? Help!

jscheuer1
07-21-2006, 03:06 AM
That only happens locally, as a security measure. As far as IE is concerned, javascript is ActiveX. Click on the bar and click on allow and click on yes. Once your page is live, this will not happen. You can also give your page 'the mark of the web'. That way (in most cases) it will not display the security bar locally either. Put this right after your <html> tag like so:


<html>
<!-- saved from url=(0014)about:internet -->
<!-- this and above comment should be removed for live, non-demo use -->
<head>

But, navigating away from the page to another local page, or including another local page on it via a frame or an iframe can be problematical if said page does not also have 'the mark of the web' on it.