开发者

How would i implement swfobject in this jquery overlay?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜