Yes, you can use js dom methods to check if an element exists (Google is your friend on that)
What I stated the first time is still correct though. You should only be calling 1 embedSWF() call based on logic of the current page. What I was suggestring was to only ever have on <div> (which exists in all pages) which can be written into with the correct swf. Aran On Thu, Sep 10, 2009 at 5:04 AM, danee987 <[email protected]> wrote: > > Well thing is that the head tags are inside that head page and the > recommended use for swf object is to be used within the head tags. I > also am not able to change the head page setup because it is a > standard at my company. Is there a way I can determine if a div > exists? Maybe that way I can trigger only the correct embedSwf()? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
