User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 429,817 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,408 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Running scripts w/out IE disabling them

Join Date: Sep 2005
Posts: 689
Reputation: digital-ether has a spectacular aura about digital-ether has a spectacular aura about 
Rep Power: 6
Solved Threads: 41
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Practically a Master Poster

Help Re: Running scripts w/out IE disabling them

  #2  
Mar 1st, 2008
Originally Posted by austind View Post
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.





Page after scripting content is allowed.





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.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote  
All times are GMT -4. The time now is 5:25 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC