Jump to content

HTML redirect for non-Flash users?


james_tye1

Recommended Posts

<p>First, do you have such an HTML-friendly version of the site (or of key pages) already in place? Is it in a different folder of the same root site, or is it essentially just a different collection of pages - by different names - in the same root, along side the Flash stuff? Just trying to get the big picture, here.<br /><br />Secondly: are you currently working with a template-based site that's controlled by someone else, or do you have complete access to all of the files that make up the site's current content?<br /><br />The web is full of good examples of how to do this with JavaScript, and even without. More or less randomly, here's a typical discussion, with code examples:<br /><br /><a href="http://stackoverflow.com/questions/5026471/javascript-code-to-redirect-to-another-domain-if-flash-player-is-installed">http://stackoverflow.com/questions/5026471/javascript-code-to-redirect-to-another-domain-if-flash-player-is-installed</a></p>
Link to comment
Share on other sites

<p>Thanks Matt.</p>

<p>I'm just about to start on an HTML version, which I will put in a separate folder. I know Flash pretty well and DW moderately, I've created and uploaded the site myself so have full access. At the moment I use a DW page to hold the Flash movie.</p>

<p>I took a look at the link. I'm not too hot on coding but the 2nd example seemed to make sense, providing I know where to paste it. Does it go before everything else in the coding?</p>

<p>A second question, which maybe I should paste separately, have you used Adobe Edge? At a glance this looks to have the functionality of Flash but is HTML. That way I'd only need 1 version! What do you think?</p>

Link to comment
Share on other sites

<p>I agree that <em>anything</em> you can do to get away from using Flash is a good idea. The "Edge" product, if I understand it, is designed to spit out compliant HTML that can take care of the vast majority of the things one used to turn to Flash to handle. A very good idea.</p>
Link to comment
Share on other sites

<p>So, basically you need to detect if the user has the proper version of flash installed and if not, redirect them.</p>

<p>So, you should be using a detection script that detects to make sure the current version of Flash is what you need to work with your flash. Just alter that script to use a window.location="your full url here"; line in it if it fails to detect flash or a version not compatible with your site. I would also add a text link in either <noscript> tags or just in the overall design.</p>

<p>Umm...you do understand JavaScript, correct?</p>

<p>But, as Matt says, moving away from Flash is a good idea for 90% of things. About the only place I like it anymore is media such as video players and maybe animation (depending on complexity).</p>

Link to comment
Share on other sites

<p>Thanks both. I don't understand JavaScript but thanks anyway Zach! If Edge is genuinely the best HTML alternative to Flash then I think I'll just learn that and recreate the site from scratch. Just wondering why I've never heard of this programme before. Is it to be used in conjunction with DW, ie to hold the Edge file, or is it stand alone? If the latter then is DW old news too?</p>
Link to comment
Share on other sites

<p>Flash has to sit inside a html wrapper for the Web page, so you can just add the html link somewhere around the flash, usually at the top. You can make if fancy or just plain html/css code, eg. "Non-Flash Version" and you're done. You don't need flash detectors as the link will display. This won't work if your entire Website and pages are flash, meaning that's the only code between the body tags, but that's not smart these days, but then so is flash anymore unless you give the visitor options.</p>
Link to comment
Share on other sites

<p>Thanks Scott. I'm hoping the code that Matt suggested (above) will redirect the user so I won't need to provide an option to click on. I guess I'll give it a go and find out.</p>

<p>I've started using Adobe Edge (preview) which appears to be an HTML version of Flash but I've just discovered that you can't make buttons yet! I'm hoping future previews or the bata will allow it. Meanwhile can you or anyone suggest an alternative? I simply need to create animated blends between images, nothing fancy, but something less clunky than DW. I'm going to post separately about that. Cheers.</p>

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...