The nested object/embed tag is because some browsers recognize the object tag, and others the embed tag. But the browsers will ignore the tag they don't support. Your $("object#flashobject>embed") code is only selecting the embed tag, not the object tag. Which means will only work in the browsers that supported the embed tag in the first place. If you're going to use this approach, you might as well abandon the object tag all together since you're ignoring it.

Why do you want to use jQuery for this?

--Erik

On 10/30/06, Guntur N. Sarwohadi <[EMAIL PROTECTED] > wrote:
 but I'd would like not to use object embed tags as they are just messy.

Hmm.. yeah... the nested object embed was generated by flash. It was an attempt to make the flash object work on most browsers.. hmm.. if this is a bad way to do things.. i'll have to find a better way.. or does anyone know the right tags to insert flash objects? using object only or embed?

cheers,
Guntur N. Sarwohadi



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to