How do I remove ActiveX warning in IE7, for compiling static HTML website onto CD?

Can someone please help me out, as I am about to throw my monitor across the room?!
I have put together a site for a customer, which is static HTML with flash header & rollovers etc. Site works fine online & everybody is happy.

The customer wants the site put onto CD ROM which will autorun, to distribute amongst their customers. No problems there - I used a simple  Autorun Splash Page programme, which lets me run an HTML file from autorun.

The problem is, when the CD launches Explorer, the bl*ody yellow bar with "Explorer has restricted this webpage from running scripts or ActiveX controls..." comes up.

And I need to get rid of it.

I have read MSDN advice, but TBH I think this is more concerned with Flash embedded online. And it is gobledegook, frankly.
I use DW8 with 8.0.2 update. All active content is 'rewritten', & I have a RunActiveContent.js script.
I am really a 'designer' rather than coder, so if solution involves code, then please talk very s-l-o-w-l-y.

Can someone please help me out ... I have lost the days wage already, before having buy a monitor which I will soon destroy (perhaps I should turn my anger to the mouse as its cheaper!)
Cheers.
gold_fishfishAsked:
Who is Participating?
 
ee_autoCommented:
Question PAQ'd, 500 points not refunded, and stored in the solution database.
0
 
b0lsc0ttIT ManagerCommented:
gold_fishfish,

I have a quick thought that may be a simple fix.  Try renaming the html file to hta instead.  Permissions and security are different with hta files and it may completely fix this.  Since you are using ActiveX I assume you don't mind being "stuck" with IE.  Hopefully the autorun "program" will work with the hta file too.

Let me know if you have any questions or need more information.

b0lsc0tt

p.s.  If you are feeling destructive I would recommend a blank CD.  Cheaper than even the mouse and can be pretty cool to shatter.  Just becareful of flying debris. :)
0
 
lauchangkwangCommented:
>> The problem is, when the CD launches Explorer, the bl*ody yellow bar with "Explorer has restricted this webpage from running scripts or ActiveX controls..." comes up.

So in IE7, click on "Tools" > "Internet Options" > "Security Tab" > Click "Custom Level" >  under ActiveX controls and plug-ins > "Enable" the setting as for your requirement.

Hope this help .....
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
gold_fishfishAuthor Commented:
Hi b0lsc0tt
Thanks for coming back to me. I have tried renaming with .hta suffix, but to no avail. It does stop the Yellow bar in IE, but doesn't display the flash header on each page...
Any other ideas which may sort the problem? Do you know, by any chance, if there is perhaps software which will overcome this yellow bar? Previously I have used 'Outersite' for putting sites with databses onto CD Rom, & it seems to not have a problem with the activeX controls. I can't use it for this simple site, as for some reason it gives PHP errors, due to not having a database.

lauchngkwang...thanks for your input. The problem doesn't lie within my PC, but concerns for everyone that will use this CD...they will probably not want to run a file which Microsoft labels "harmful"
0
 
v2MediaCommented:
Try adding this line immediately under the doctype for each file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0014)about:internet -->

This is call a "Mark of The Web" and IE will allow better filesystem access when a valid mark is present.
0
 
b0lsc0ttIT ManagerCommented:
gold_fishfish,

Thanks for trying the .hta file.  It would've been nice if it had been that easy.  The suggestion above (by v2Media) is also a good one and still pretty easy.  Let us know how that works.  I had forgotten about it but I do remember seeing it as a common "fix" to issues like this for CD "based" websites.  It is probably our best hope without using some third party program to basically replace IE.  All credit to v2Media if that works. :)

Let us know if you have a question or how it works.

bol
0
 
v2MediaCommented:
It does actually work. Another questioner has already accepted the same solution for a very similar question:

http://www.experts-exchange.com/Software/Internet_Email/Web_Browsers/Internet_Explorer/Q_23121685.html?cid=236#a20776188
0
 
b0lsc0ttIT ManagerCommented:
v2Media,

I am sorry if my last comment seemed to discount yours.  It wasn't meant to do that (and I don't think it really did).  My hesitation was just whether one of the objects or part of the page would need more "permission" than a normal Internet zone page allowed.  Hopefully that won't be the case and your suggestion will do it.  Sorry if my comment seemed to discourage the Asker from your suggestion because my intent was the opposite.

bol
0
 
v2MediaCommented:
I was merely point out that another user had already accepted the same solution i.e. tested and works. This applies to IE's yellow bar alert only.

I believe the php errors being generated should go into another question. In fact, if php errors are generated, there's a problem with gold_fishfish's whole cd concept. For the cd version of the site to work, all server-side scripting and references to pages on the web would have to be deleted. Else the user will have to have a live internet connection for the cd to work.
0
 
gold_fishfishAuthor Commented:
Hi guys,
Apologies for the slow reply - deadlines coming out of my ears (which isn't a bad thing in January).

I tried the 'mark of the web' coding in the page already, using the Dreamweaver function. Also tried directly pasting the code under the doctype heading.
Whilst it worked in stopping the yellow bar, it also stopped my Flash elements in the page...
Thanks anyway v2Media

So close....gutted.

bol: took your advice & turned nasty on a CD, rather than mouse. You be pleased to know that I wear glasses, so safety gear was taken care of!

Any other suggestions for this CD? I am starting to think that compiling as an exe for full installation onto users PC's is the best way forward? (if customer doesn't like it, then, well, tough.)

Cheers for all the help so far, goldfish
0
 
v2MediaCommented:
What degree is the site flash goldfish? Are we talking flash content delivery, flash nav menu, or just an animated header graphic?

If flash is just used for eye candy, perhaps exporting a few single loop gifs will suffice. Size doesn't matter when the files are loaded locally; today's cd-roms are fast enough to read some chunky gifs into a webpage.
0
 
lauchangkwangCommented:
Try to add in this HTML....

Hope this help ....


<EMBED TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>

Open in new window

0
 
b0lsc0ttIT ManagerCommented:
I have not been able to find or think of any other options.  You might want to look at, try and respond to the other, recent expert comments.

Let me know if you have a question about anything I said though.  I'm glad I could help but sorry they didn't seem to work out.

bol
0
 
Jason C. LevineNo oneCommented:
Hi guys,

One other option...

You can put FireFox Portable on the CD and have THAT launch with the pages.  Removes IE from the equation entirely...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.