Flash插件本地下载

时间:2015-09-05 15:47:59
【文件属性】:

文件名称:Flash插件本地下载

文件大小:5KB

文件格式:TXT

更新时间:2015-09-05 15:47:59

Flash插件

1.<html> 2.<body> 3.<% 4. //SysDownloadFlashFashion等于0时就是本地下载 5. if(SysDownloadFlashFashion==0){%> 6.

12.
14.
15. <%}%> 16. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 17. id="uploadfile" width="800" height="435" 18. <%if(SysDownloadFlashFashion==1){%> 19. codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" 20. <%}else{ %> 21. codebase"plugins"> 22. <% } %> 23. 24. 25. 26. 27. 28. <embed src="uploadfile.swf" wmode="opaque" quality="high" bgcolor="#869ca7" 29. width="800" height="435" name="uploadfile" align="middle" id="uploadfile" 30. play="true" 31. loop="false" 32. quality="high" 33. allowScriptAccess="sameDomain" 34. type="application/x-shockwave-flash" 35. <%if(SysDownloadFlashFashion==1){%> 36. pluginspage="http://www.adobe.com/go/getflashplayer" 37. <% }else{%> 38. pluginspage="<%=context%>/plugins/Install_Flash_Player_9_Plugin.exe"> 39. <% } %> 40. </embed> 41. </object> 42.
43.</body> 44.[removed] 45.var tishi=0; 46.function InstallFlash() 47.{ 48. if((brower().isIE) || (brower().isIE7) || (brower().isIE8) && <%=SysDownloadFlashFashion%>==0) 49. { 50. LoGo.onclick=function() 51. { 52. if(tishi==0) 53. { 54. [removed].href="plugins/install_flash_player_10_active_x.exe"; 55. alert(message.uploadfile_js_IE_plugins_downLoad_remind); 56. tishi=-1; 57. } 58. } 59. } 60. if(brower().isFirefox && <%=SysDownloadFlashFashion%>==0) 61. { 62. uploadfile.onclick=function() 63. { 64. if(tishi==0) 65. { 66. [removed].href="plugins/Install_Flash_Player_9_Plugin.exe"; 67. alert(message.uploadfile_js_fireFox_plugins_downLoad_remind); 68. tishi=-1; 69. } 70. } 71. } 72. if(brower().isChrome && <%=SysDownloadFlashFashion%>==0) 73. { 74. Chrome.onmouseover=function() 75. { 76. if(tishi==0) 77. { 78. [removed].href="plugins/Install_Flash_Player_9_Plugin.exe"; 79. alert(message.uploadfile_js_Chrome_plugins_downLoad_remind); 80. tishi=-1; 81. } 82. } 83. } 84.} 85.[removed] 86.[removed] 87.var swf = false; 88.if((brower().isIE) || (brower().isIE7) || (brower().isIE8)) 89.{ 90. try 91. { 92. swf = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');//IE已经安装Flash插件 93. if(swf) 94. { 95. LoGo.style.display="none"; 96. Chrome.style.display="block"; 97. } 98. } 99. catch(e)//没有安装Flash插件 100. { 101. swf = false; 102. marquee.style.display="none"; 103. hideMarquee[removed]=message.uploadfile_js_hideMarquee_remind; 104. hideMarquee.style.cursor="hand"; 105. } 106.} 107.else if((brower().isFirefox) || (brower().isChrome)) 108.{ 109. LoGo.style.display="none"; 110. Chrome.style.display="block"; 111. swf = navigator.plugins["Shockwave Flash"];//FireFox,Chrome 112.} 113.if(!swf) 114.{ 115. InstallFlash(); 116.} 117.[removed] 118.</html>


网友评论