Jquery and Swfobject conflicts

20Sep08

This is the right way to use swfobject and jquery framework. To avoid the known issues  between these two.

  1. <script type=“text/javascript”>
  2. $(document).ready(function(){
  3. var so = new SWFObject(“movie.swf”, “mymovie”, “400”, “100%”, “8”, “#336699”);
  4. so.addParam(“quality”, “low”);
  5. so.addParam(“wmode”, “transparent”);
  6. so.addParam(“salign”, “t”);
  7. so.write(“flashcontent”);
  8. });
  9. </script>
Advertisements


No Responses Yet to “Jquery and Swfobject conflicts”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: