Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1

    Default adobe flash required message

    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!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adobe flash required message

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

  3. #3
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: adobe flash required message

    Quote Originally Posted by canemasters View Post
    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!
    Don't remember how now, but 4 or 5 years ago I had a flash panel on a website, and had an "Alternate Image" for viewers that didn't have flash. It consisted of a static graphic that fit in the same place as the Flash presentation.
    Newest Site: ChargerPros - Stuff4Toys

  4. #4

    Default Re: adobe flash required message

    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.

  5. #5
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: adobe flash required message

    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

  6. #6
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: adobe flash required message

    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

  7. #7

    Default Re: adobe flash required message

    Okay, I'm calling up my flash with:

    <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>
    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...?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: adobe flash required message

    Quote Originally Posted by canemasters View Post
    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...?
    Look again at LibertyFlag's first posting of code ... see the <NOSCRIPT> section after the <SCRIPT>....</SCRIPT> stuff ? That's what you need.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: adobe flash required message

    Here's another one, (a little more current) this one loads the frontF.jpg first then the flash loads over the top. I don't have the java for the top of the page for this one. See it at www.trackboats.com .

    Code:
     
    <div style="width:950px; height:300px; border-bottom:2px solid #000;"><img src="images/frontF.jpg" border="0"></div>
    <div id="homeSlideShow" style="width:950px; height:300px; position:absolute; top:83px; z-index:99;"></div>
    <script type="text/javascript">
     var FO = { movie:"/images/homeSlideShow.swf", width:"950", height:"300", majorversion:"7", build:"0", wmode:"transparent" };
     UFO.create(FO, "homeSlideShow");
    </script>
    I have not seen this site with out Flash, so I don't know how it reacts without
    Last edited by Stuff4Toys; 16 Aug 2007 at 02:26 PM. Reason: Spell Check
    Newest Site: ChargerPros - Stuff4Toys

  10. #10
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: adobe flash required message

    Hey DrByte
    So I tried playing with the later code from trackerboats.com and made a little web page to duplicate it.
    Code:
     
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     <script language="JavaScript" type="text/javascript" src="http://www.trackerboats.com/JavaScript/ufo.js"></script>
    </head>
    <body>
    <div style="width:950px; height:300px; border-bottom:2px solid #000;"><img src="http://www.trackerboats.com/images/frontF.jpg" border="0"></div>
    <div id="homeSlideShow" style="width:950px; height:300px; position:absolute; top:83px; z-index:99;"></div>
    <script type="text/javascript">
     var FO = { movie:"http://www.trackerboats.com/images/homeSlideShow.swf", width:"950", height:"300", majorversion:"7", build:"0", wmode:"transparent" };
     UFO.create(FO, "homeSlideShow");
    </script>
    </body>
    </html>
    When the page loads the frontF.jpg loads low on the screen and then the flash pushes it up and loads in the lower position. How did they get it to load over the top? Next is this ufo.js available to the public somewhere?
    Newest Site: ChargerPros - Stuff4Toys

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Gift certificate decimal separator and required message field
    By jolion in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 19 Jul 2010, 09:49 PM
  2. How do you use adobe flash with the zen cart?
    By cybervisoin designs in forum General Questions
    Replies: 2
    Last Post: 21 Feb 2010, 08:15 PM
  3. Error Message even when all required fields are filled
    By hsartcorp in forum Managing Customers and Orders
    Replies: 3
    Last Post: 8 Aug 2009, 09:07 PM
  4. detecting Adobe Acrobat
    By afo in forum General Questions
    Replies: 4
    Last Post: 12 Aug 2008, 08:02 PM
  5. Flash load fail message
    By lancaster in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Sep 2007, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg