In my HTML page, I need to check if Adobe Flash Player is installed. If not, I want to automatically switch to another HTML page to inform the user that a Flash player is required.
I use JavaScript to check if a Flash player is available using the JavaScript JavaScript Detection Library .
The body of my HTML page is as follows:
<body> <script type="text/javascript"> if(!FlashDetect.installed) { alert("Flash 9.0.115 is required to enjoy this site."); } </script> ... ...
Detection works: I see a warning, but I have not found a way to go to another HTML page.
Any clues?
Edit:. I did not mention that it seems to matter: HTML pages are local pages (from the CD), and I would like to go to the HTML page that is in the current directory.
source share