On Nov 9, 2005, at 2:50 PM, Mauricio Giraldo Arteaga wrote: > I just finished a mainly CSS site: > http://www.museoarqueologico.com > It's not 100% valid since it uses Flash. > Any comments will be appreciated.
Nice site! Looks good. I thought I would comment on Flash and a few techniques on how one would go about making it validate: Technique 01: Use a Javascript method/function & "document.write" the Flash object. Example site: http://www.hillmancurtis.com/ Example HTML: <script type="text/javascript">RunFoo();</script> Example .js file: http://www.hillmancurtis.com/hc_web/js/food.js <--------( code: )--------> function RunFoo() { document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,29,0" width="400" height="300">\n'); document.write('<param name="movie" value="hc_web/index_page/portraits_conference.swf" />\n'); document.write('<param name="quality" value="high">\n'); document.write('<embed src="hc_web/index_page/portraits_conference.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed>\n'); document.write('</object>\n'); } <--------( /code. )--------> Technique 02: Flash Satay Method: http://www.alistapart.com/articles/flashsatay/ Technique 03: Flash Javay method: (Post #3) http://talkfreelance.com/thread125.html Google search should yield more results for this method. Originated via alistapart discussusion on the above Satay method, but the discussion has been deleted/closed since the new ALA redesign. :( It has been several months since I last looked-into this matter, so other (better?) methods/techniques are probably floating around cyber-space. I personally like the first technique. The Satay method takes-away a lot of control a developer has when it comes to the Object Parameters. HTH, Cheers, Micky ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/