попробовал сделать вот так:
| Код | <html> <head> <meta http-equiv="refresh" content="3;url=test_alternate.html" /> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #666666; font-weight: bold; } --> </style></head> <body scroll=auto> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="middle">пожалуйста подождите<br>идет проверка плагина...<br /> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1" height="1"> <param name="movie" value="flash_detection.swf?flashContentURL=test_content.html&altContentURL=test_alternate.html&contentVersion=6&contentMajorRevision=0&contentMinorRevision=0&allowFlashAutoInstall=false" /> <param name="quality" value="low" /> <embed src="flash_detection.swf?flashContentURL=test_content.html&altContentURL=test_alternate.html&contentVersion=6&contentMajorRevision=0&contentMinorRevision=0&allowFlashAutoInstall=false" quality="low" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1" /></embed> </object> <br /></td> </tr> </table> </body> </html>
|
но в этом случае браузер просто определяет какую страничку необходимо загрузить в зависимости от того установлен или нет Flash. А мне нужно просто подменять Flash на gif в случае если у пользователя нет или отключен flash. |