I've been working on re-designing my website, and I decided to add a javascript based slideshow to go on the front page to link to articles. I know next to nothing about scripting (XHTML/CSS is my thing). The question I have has to do with the slideshow loading incorrectly because of IE 5, 6, and 7, blocking the scripting/activex content. The images in the slideshow are strewn out across the screen until the scripting content is allowed.

Here are two pictures showing what's happening when the page loads and then what the page should look like.

Page after loading and content being blocked. Images are spread out.

[IMG]http://i220.photobucket.com/albums/dd196/dcsfootball/wrong.jpg[/IMG]

Page after scripting content is allowed.

[IMG]http://i220.photobucket.com/albums/dd196/dcsfootball/right.jpg[/IMG]

Now, I noticed on many other sites that use the same slideshow program, they load correctly in IE without being blocked. Is there some special way of coding the script so this is the case? I can put up my coding shortly, but I won't be able to get to it for a few minutes.

Here is the slideshow application.
http://smoothgallery.jondesign.net/

It works correctly here without any blockage from IE (at the top).
http://www.holdiland.com/


Any advice on how to deal with this would be greatly appreciated. Thanks for your time and for reading this far into it.

I've been working on re-designing my website, and I decided to add a javascript based slideshow to go on the front page to link to articles. I know next to nothing about scripting (XHTML/CSS is my thing). The question I have has to do with the slideshow loading incorrectly because of IE 5, 6, and 7, blocking the scripting/activex content. The images in the slideshow are strewn out across the screen until the scripting content is allowed.

Here are two pictures showing what's happening when the page loads and then what the page should look like.

Page after loading and content being blocked. Images are spread out.

[IMG]http://i220.photobucket.com/albums/dd196/dcsfootball/wrong.jpg[/IMG]

Page after scripting content is allowed.

[IMG]http://i220.photobucket.com/albums/dd196/dcsfootball/right.jpg[/IMG]

Now, I noticed on many other sites that use the same slideshow program, they load correctly in IE without being blocked. Is there some special way of coding the script so this is the case? I can put up my coding shortly, but I won't be able to get to it for a few minutes.

Here is the slideshow application.
http://smoothgallery.jondesign.net/

It works correctly here without any blockage from IE (at the top).
http://www.holdiland.com/


Any advice on how to deal with this would be greatly appreciated. Thanks for your time and for reading this far into it.

I don't believe there is any ActiveX in the JavaScript. I believe what is being blocked is JavaScript.
Almost every browser will have JavaScript enabled. For the few that don't have it enabled, you can ask them to enable it using the <noscript> tag.

eg:

<noscript>Please enable JavaScript</noscript>

In your particular case I believe its because the page you are viewing is accessed via the file system. Maybe your setting for local files is more restricted then those accessed via HTTP.

A better testing environment for your website would be do install a server on your computer, such as Apache, or using one of the pre-built installation such as WAMP or XAMP which come with Apache, PHP, MySQL etc. etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.