Hoorah!!

The jQuery.swfobject plugin came to my rescue.
http://jquery.thewikies.com/swfobject/

My jQuery script has been modified like so:

//      changes the value of the object data attribute to fetch an XML file for
the flash billboard
        jQuery('h3.toggler a').click(function() {
                var id = this.href.substring(this.href.lastIndexOf('#') + 1);
                var theswf =
'/sites/pod_billboard.swf?XMLsrc=/Managexml/flash.aspx?pageid='+id;
//              jQuery('#billboard object').attr('data',theswf);

                var flashvars = false;
                var params = {menu: 'false', wmode: 'transparent', quality: 
'best'};
                var attributes = false;
                jQuery.swfobject.embedSWF(theswf, 'billboard', '500', '400', 
'8.0.0',
'/sites/expressInstall.swf', flashvars, params, attributes);
        });

-- 
View this message in context: 
http://www.nabble.com/Change-the-data-attribute-of-flash-object---works-in-FF%2C-not-IE-tp20949312s27240p20969875.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to