Ades Design - High Quality Website Templates, Free Website Templates, Tutorials: Photoshop, Dreamweaver, Flash, CSS and PHP


Flash Player Detection
Home » Tutorials » Dreamweaver


Note: This tutorial is done by Macromedia Dreamweaver MX.

Open a new page and save it as detection.html. Create one more page and save it as found.html. Create one more page and save it as notfound.html.

By now you should have 3 pages.

  •  detection.html - page to detect flash player
  •  found.html - if flash player found it will redirect to this page
  •  notfound.html - if not found it will redirect to this page

Close found.html and notfound.html we don't need them. We will work in your detection.html

While detection.html is open, go to Window and choose Behaviors

When Behaviors Window opens click on the + and choose Check Plugin

 

From the drop down menu Choose Flash, in the if found field enter found.html and for Otherwise field enter notfound.html as shown below.

Click OK.

Now Save your detection.html and hit F12 to preview. And you should see the result. If your PC has flash player it should go to found.html and if not found it will be redirected to notfound.html. You can enter some text for your found and notfound pages to distinguish them from each other. (Or just check the URL to see to which page it was redirected.)

That's it!

Related Dreamweaver Tutorials
  How to backup Dreamweaver New
Backup your templates, extensions, behaviors...etc
  Creating CSS in Dreamweaver MX 2004
Learn how to create and apply CSS in Dreamweaver
  Create Rollover/MouseOver effect
Rollover effect made easy with Dreamweaver
  Opening a Fixed Size Window
Learn how to open a window in a fixed size
  Redirection based on Browser Type
Learn how to make redirection script with Dreamweaver
     

Color Picker for your AdSense job more info
 

Note: Make sure that you have chosen onLoad action for the Events, so that once the page loads it will trigger the script.



Web2.0 Bookmarks - Social bookmarking is good, but old skool way of hand-picking sites is better!
That's what we do best, collecting the coolest WEB2.0 sites. click here

 


Advertise | AdesBlog New | Free Templates | Premium Templates | Products | Services | Portfolio | Contact

2002 - 2007 Ades Design. All Rights Reserved. http://www.adesdesign.net

 









Logo Design, Web Design, Graphic Design (Cartoons, Caricatures etc.)
Software Development Company 
Search Engine Optimization by Design
Logo Design
 
Advertise Here