I am currently using this JS to determine if a user has Flash or not:
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 7;
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*)))
continue;
var MM_PluginVersion = words*;
}
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\>
'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next
');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))
');
document.write('</SCR' + 'IPT\>
');
}
if ( MM_FlashCanPlay ) {
window.location.replace("[http://www.mysite.com/flashindex.html](http://epidemicdesignstudio.servehttp.com/LandAm/flashindex.html)");
} else{
window.location.replace("[http://www.mysite.com/htmlindex.html](http://www.mysite.com/htmlindex.html)");
}
//-->
</SCRIPT>
My question is there a way to also include script so that the new page is then resized to a certain size with no address bar and non resizable and all that good stuff?
Any help would be greatly appreciated!!!