您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

js调用flash的效果代码_javascript技巧

2025/8/3 9:31:07发布25次查看
复制代码 代码如下:
function tmh__make_ad_fodder(src, width, height)
{
 src = src.replace( , );
 var temp_image = '';
 var temp_flash = '  + ' codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 '
  + ' height=$height$ width=$width$> '
  + ' '
  + ' '
  + ' '
  + '  + ' wmode=opaque type=application/x-shockwave-flash '
  + ' pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash> '
  + '';
 return (/\.swf$/gi.test(src) == true ? temp_flash : temp_image)
  .replace(/\$src\$/gi, src)
  .replace(/\$width\$/gi, width)
  .replace(/\$height\$/gi, height)
}
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product