- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sun, 02 Feb 2003 12:35:16 -0600
- To: david.laroche@nobug.lu
- CC: www-html@w3.org
David Laroche wrote: > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas > h.cab#version=6,0,29,0" width="480" height="95"> > <param name="movie" value="flash/header.swf" /> > <param name="quality" value="high" /> > <embed src="flash/header.swf" quality="high" > pluginspage="http://www.macromedia.com/go/getflashplayer" > type="application/x-shockwave-flash" width="480" height="95"></embed> > </object> > > What's the correct version? What's your goal? Do you want the content to show up in browsers that do not support <object> (not sure what those are; NS4 maybe?)? Then what you have is correct (and yes, I know that does not validate). If you only care about browsers with <object> support, you can either have only a single object element or two nested ones... The reason to do nesting is that <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" /> Means "run the ActiveX control with ID 'D27CDB6E-AE6D-11cf-96B8-444553540000' on the data". If the user is not using Microsoft windows, the UA should ignore such an <object> (since ActiveX is not available) and use the alternate rendering. It's good practice to make the alternate rendering an <object> that keys off of mimetype only (I would say it's good practice to make your _first_ <object> key off mimetype only, but I seem to recall IE/Windows not supporting that and _requiring_ the ActiveX ID; I would be happy to know I am wrong on this point). Of course the alternate needs an alternate rendering too (probably text, or maybe an image). > Then I want to make a link to another page that should open in a new > windows, how do I have to write this? Because the attribute target isn't > supporter in xhtml anymore. > Do I have to do this with javascript? I think the idea is that the user should be deciding for himself whether to open new windows.
Received on Sunday, 2 February 2003 13:35:24 UTC