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 374,179 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,413 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
Views: 712 | Replies: 1
Reply
Join Date: Feb 2008
Posts: 2
Reputation: austind is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
austind austind is offline Offline
Newbie Poster

Question Running scripts w/out IE disabling them

  #1  
Feb 29th, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2005
Posts: 611
Reputation: digital-ether will become famous soon enough digital-ether will become famous soon enough 
Rep Power: 5
Solved Threads: 38
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.

[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.
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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:34 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC