/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php echo('<div id="homeAnimation"> <a href="javascript:switchtoVideo()"><img src="/images/photo-home1.jpg" width="622" height="360" /></a> <a href="javascript:switchtoVideo()"><img src="/images/photo-home2.jpg" width="622" height="360" /></a> </div>'); } else { echo('<div id="homeVideo"> <script type="text/javascript"> var FO = { movie:"swf/home.swf", width:"622", height:"360"}; create(FO); </script> <noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="622" height="360"> <param name="movie" value="swf/home.swf"> <param name="quality" value="high"> <embed src="swf/home.swf" width="622" height="360" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object> </noscript> </div>'); } ?>