开发者

How would i implement swfobject in this jquery overlay?

开发者 https://www.devze.com 2022-12-31 03:40 出处:网络
How to add a full-sized image to the center of a webpage using jQue开发者_JAVA百科ry? The code the guy posted...SWFobject simply targets a tag by it\'s ID and writes the appropriate code.First step w

How to add a full-sized image to the center of a webpage using jQue开发者_JAVA百科ry?

The code the guy posted...


SWFobject simply targets a tag by it's ID and writes the appropriate code. First step would be to use Javascript to call SWFobject using the ID of the appropriate div from your example. Say your ID is overlayFLASH...

swfobject.embedSWF("myContent.swf", "overlayFLASH", "300", "120", "9.0.0",'', '', '', '');

See the documentation for the other parameters and features (I've pared some stuff out for simplicity)... http://code.google.com/p/swfobject/wiki/documentation

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号