Computing.Net > Forums > Programming > Alternate page for 'no-Flash' users

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Alternate page for 'no-Flash' users

Reply to Message Icon

Name: bytejunkie
Date: December 3, 2002 at 05:37:39 Pacific
OS: w2k
CPU/Ram: tons
Comment:

Hi folks,

I'm wondering if it's possible to have my Flash intro page show a simple gif with a hyperlink to folks who do not have Flash installed. If not, any suggestions as to how I go about setting my web site up so that I'm not excluding people who don't have Flash?
I know IE will do an automatic detection searching for Flash and prompt for download, but Netscape won't. Rather than confuse folks who are not very computer-trusting (and would get stressed at download prompts)I'd like to simply show alternate text or images.
Thanks for any help.




Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: December 3, 2002 at 07:48:51 Pacific
Reply:

bytejunkie-
You are correct that IE for windows doesn't have a way to detect whether the Macromedia Flash plug-in is installed, and uses activeX to find the plug-in and prompt the user for download. I am a fan of IE, but this is not a feature I like. Netscape (and strangely enough, IE for mac) have the capability you describe. Since it is difficult to post the code here, click here to see the source of how a javascript book, Javascript for the World Wide Web, does it.
www.javascriptworld.com

Hope this is what you were looking for.
-SN


0

Response Number 2
Name: bytejunkie
Date: December 4, 2002 at 10:36:36 Pacific
Reply:

Thanks a lot.
One question - before attempting this, should I include a javascript that detects whether the browser is Netscape or not?
I'm asking because I have a dummy page written similar to the example you mention and in IE, my .gif is displayed even though I have Flash installed. In Netscape, the Flash is displayed.

For example, this is my page right now:


if (navigator.plugins["Shockwave Flash"]) {
document.write("")
}
else {
document.write("")
}



0

Response Number 3
Name: SN
Date: December 4, 2002 at 12:34:39 Pacific
Reply:

Yes, that is a good point. If the user has IE, the navigator.plugins["Macromedia Flash"] will return false just like if it were netscape and no macromedia flash were installed. A script to detect whether or not the browser is netscape would not be a bad idea. What to do for IE for mac, I don't know, but maybe the newer versions also prompt the user to download flash...
-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Pseudo-Code trace table..... Win File System Object Pr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Alternate page for 'no-Flash' users

Javascript www.computing.net/answers/programming/javascript/1469.html

Force Browser to Cache Flash www.computing.net/answers/programming/force-browser-to-cache-flash/8707.html

php code for no. of pple online www.computing.net/answers/programming/php-code-for-no-of-pple-online/14070.html