Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorSimon
    • CommentTimeJan 17th 2007
     
    Are there any implementations of SWFObject out there without any inline javascript?

    Ok, so this may be an obvious question but i've been working recently implementing a different flash technique sIFR which doesn't use inline javascript to replace elements in the DOM with flash. I've tried to produce a hybrid system first hiding the element with hasFlash class on the body but I'm running into a little be of trouble.

    I was also wondering if you foresee any problems with doing it this way and why currently its inline?
    • CommentAuthoragent2026
    • CommentTimeJan 17th 2007
     
    I haven't tried this, but perhaps you could put it into an onload=function(){...};, or something with jQuery $(function(){...}); ?

    Adam
    • CommentAuthorGeoff
    • CommentTimeJan 17th 2007
     
    you could just put the code into an onload function (like the above poster mentions) or you could use your own custom onDomLoaded function to call the js that embeds your swfs.