I need my site to display a sign that only appears to users who do not have flash installed, that the need to go to
http://www.adobe.com/shockwave/downl...ShockwaveFlash
and get flahs before using the site.
Thank you!
I need my site to display a sign that only appears to users who do not have flash installed, that the need to go to
http://www.adobe.com/shockwave/downl...ShockwaveFlash
and get flahs before using the site.
Thank you!
Canemasters
www.canemasters.com
...and if they don't feel like getting Flash installed, or for some reason can't, you don't want to sell to them?
Best practice is to allow at least basic functional use to anybody visiting your site. You can enhance the experience with flash or javascript if you want, but there should be a way to use your site without them.
So it would be best practice to make an alternate .jpg header so users can at least get around... Sounds good. I'll have to make one, but that should be no problem. I'll worry how to make it work after I get it made.
Thank you.
Canemasters
www.canemasters.com
Now this is several years old, not sure how it's done now. And based on Macromedia not Adobe Flash, but I would assume it's similar because this script still works. JOhn ><>
Code:<MAP NAME="slideshow"> <AREA COORDS="0,0,0,0" HREF="#"> </MAP> <SCRIPT language=JavaScript1.1> <!-- if ( MM_FlashCanPlay ) { document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'); document.write(' codebase="http://download.macromedia.com/pub/s...ersion=6,0,0,0" '); document.write(' ID="script" WIDTH="460" HEIGHT="200" ALIGN="">'); document.write(' <PARAM NAME=movie VALUE="http://www.trackermarine.com/gifs/PhotoPresentation.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=FF0000> '); document.write(' <EMBED src="http://www.trackermarine.com/gifs/PhotoPresentation.swf" quality=high bgcolor=FF0000 '); document.write(' swLiveConnect=FALSE WIDTH="460" HEIGHT="200" NAME="script" ALIGN=""'); document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'); document.write(' </EMBED>'); document.write(' </OBJECT>'); } else{ document.write('<IMG SRC="http://www.trackermarine.com/gifs/frontGraphic.jpg" WIDTH="460" HEIGHT="200" usemap="#slideshow" BORDER=0>'); } //--> </SCRIPT><NOSCRIPT><IMG SRC="Noah_Images/BANNERS/frontGraphic[1].jpg" USEMAP="#slideshow" BORDER=0 width="460" height="200"></NOSCRIPT>
Newest Site: ChargerPros - Stuff4Toys
This part went at the top of the page just below the
</head>
<body>
Code:<SCRIPT language=JavaScript1.1> <!-- var MM_contentVersion = 6; var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0; if ( plugin ) { var words = navigator.plugins["Shockwave Flash"].description.split(" "); for (var i = 0; i < words.length; ++i) { if (isNaN(parseInt(words[i]))) continue; var MM_PluginVersion = words[i]; } var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion; } else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) { document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag document.write('on error resume next \n'); document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n'); document.write('</SCR' + 'IPT\> \n'); } //--> </SCRIPT>
Newest Site: ChargerPros - Stuff4Toys
Okay, I'm calling up my flash with:
I've gone ahead and made a jpg of the header. What do I do to make it call up this .jpg file if they do not have a flash browser? I'm thinking I have to do it in the swfobject.js file...?<script type="text/javascript" src="includes/templates/canemasters/jscript/jscript_swfobject.js"></script>
<div id="flashcontent">
<strong>You need to upgrade or install Adobe Flash Player in order to properly navigate our web site. VISIT --->
<a href="http://www.adobe.com/go/getflashplayer" target="_blank">www.Adobe.com</a>
</div></strong>
<script type="text/javascript">
var so = new SWFObject("includes/templates/canemasters/images/flash/header.swf", "header", "800", "185", "6", "#ffffff");
so.write("flashcontent");
</script>
Canemasters
www.canemasters.com
Wow, this is really lame. I've tried the suggestions listed on this page, and noting is working. It simply wont load an alternate image if flash is not installed. I've tried the <noscript> function, but nothing is working. I'm thinking about taking the flash out of the site entirely. I'm not about to loose customers just because they don't have flash installed. @#*@!! It took me 2 weeks to finish that header!
Canemasters
www.canemasters.com
Okay, I found a site that is working exactly how I want it to. If a user doesn't have flash, a little popup appears from adobe asking them to install flash.
http://www.moock.org/webdesign/flash...fpi/movie.html
BUT IT'S FOR HTML!!! DOH! There aren't any php instructions.
Canemasters
www.canemasters.com
WOOHOO! FIXED IT!
Used this code:
<script type="text/javascript" src="includes/templates/canemasters/jscript/swfobject.js"></script>
<object type="application/x-shockwave-flash" data="includes/templates/canemasters/images/flash/header.swf" width="800" height="185">
<param name="movie" value="includes/templates/canemasters/images/flash/header.swf" />
<img src="includes/templates/canemasters/images/header.jpg" width="800" height="185" alt="header" title="header"/></object>
Now I just have to include an image map for the .jpg header
I've done that before though.
Canemasters
www.canemasters.com