Hi there,
I have a flash site and I have created a static site for people who do not have flash. I have this script which prompts to install Adobe flash. Instead of the alert, I would like the user to be automatically redirected to the static site and not be prompted to install flash. How would I alter this script to do that?
<script type="text/javascript">
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {
myFlashHeader('flash/header',580,400,'#000000','header_id','custom.xml');
} else {
alert("Your version of Flash player is rather old. We suggest you to upgrade your Flash player to version "+requiredMinorVersion+" (at least).The latest version can be downloaded here : }
</script>
I have a flash site and I have created a static site for people who do not have flash. I have this script which prompts to install Adobe flash. Instead of the alert, I would like the user to be automatically redirected to the static site and not be prompted to install flash. How would I alter this script to do that?
<script type="text/javascript">
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {
myFlashHeader('flash/header',580,400,'#000000','header_id','custom.xml');
} else {
alert("Your version of Flash player is rather old. We suggest you to upgrade your Flash player to version "+requiredMinorVersion+" (at least).The latest version can be downloaded here : }
</script>