Guest_imported
New member
- Jan 1, 1970
- 0
Can anyone check my code and tell me whats wrong with it??
goto to see it (the one of the building) I need to change that to an image if a browser doesn't support flash, the code below is the code I have but I think it has some problems! If anyone could help me out I would appriciate it!!! Thanks!!
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="279" height="157">
<param name=movie value="buildsnow.swf">
<param name=quality value=high>
<embed src="buildsnow.swf" quality=high width="279" height="157">
</embed>
<SCRIPT LANGUAGE="JavaScript">
<!-hide contents from old browsers
//If this browser understands the mimeTypes property and recognizes the MIME Type //"application/x-shockwave-flash"...
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
//...write out the following <EMBED> tag into the document.
document.write('<EMBED SRC="buildsnow.swf" WIDTH="279" HEIGHT="157" LOOP="true" QUALITY="high">');
}
//Otherwise,...
else {
//...write out the following <IMG> tag into the document. The image need
//not be the same size as the Flash Player movie, but it may help you lay out the
/page if you can predict the size of the object reliably.
document.write('<IMG SRC="images/xmasbuild.jpg" WIDTH="279" HEIGHT="157" ALT="Non-Shockwave Welcome">');
}
//Done hiding from old browsers. -->
</SCRIPT>
</object>
goto to see it (the one of the building) I need to change that to an image if a browser doesn't support flash, the code below is the code I have but I think it has some problems! If anyone could help me out I would appriciate it!!! Thanks!!
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="279" height="157">
<param name=movie value="buildsnow.swf">
<param name=quality value=high>
<embed src="buildsnow.swf" quality=high width="279" height="157">
</embed>
<SCRIPT LANGUAGE="JavaScript">
<!-hide contents from old browsers
//If this browser understands the mimeTypes property and recognizes the MIME Type //"application/x-shockwave-flash"...
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
//...write out the following <EMBED> tag into the document.
document.write('<EMBED SRC="buildsnow.swf" WIDTH="279" HEIGHT="157" LOOP="true" QUALITY="high">');
}
//Otherwise,...
else {
//...write out the following <IMG> tag into the document. The image need
//not be the same size as the Flash Player movie, but it may help you lay out the
/page if you can predict the size of the object reliably.
document.write('<IMG SRC="images/xmasbuild.jpg" WIDTH="279" HEIGHT="157" ALT="Non-Shockwave Welcome">');
}
//Done hiding from old browsers. -->
</SCRIPT>
</object>