Forum Moderators: open
Im not using frames on my site. should the doctype be changed? ive read a post on another site where someone wrote an external javascript to the page, but surely that is worse?
code + w3 explanation below. im not (necessarily) asking to fix my code, just wondering what the deal is with validating flash
<!-- start gallery -->
<div id="gallery">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="viewer" align="middle">
<param name="movie" value="viewer.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="wmode" value="transparent"/>
<embed src="viewer.swf" wmode="transparent" width="100%" height="100%" align="middle" quality="high" scale="noscale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>
</div>
<!-- end gallery -->
explanation by W3 is: "You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute)"
Please read about the "Satay method" to see what you can use instead:
Go to google and search for "satay method". The first link you'll get is the one you need to click. Check out their solution