兼容ie和火狐firefox的js调用flash播放器代码特效
来源:互联网 发布:保温电热水壶 知乎 编辑:程序博客网 时间:2024/05/17 22:58
<script type="text/javascript"><!--google_ad_client = "pub-4490194096475053";/* 内容页,300x250,第一屏 */google_ad_slot = "3685991503";google_ad_width = 300;google_ad_height = 250;// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>无标题文档</title>
- </head>
- <body>
- <script>
- function tmh__make_ad_fodder(src, width, height)
- {
- srcsrc = src.replace(" ", "");
- var TEMP_IMAGE = '<img src="$src$" height="$height$" width="$width$" border="0" />';
- var TEMP_FLASH = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '
- + ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" '
- + ' height="$height$" width="$width$"> '
- + '<param name="movie" value="$src$" /> '
- + '<param name="quality" value="high" /> '
- + '<param name="wmode" value="opaque" /> '
- + '<EMBED src="$src$" quality="high" WIDTH="$width$" HEIGHT="$height$" '
- + ' wmode="opaque" TYPE="application/x-shockwave-flash" '
- + ' PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED> '
- + '</object>';
- return (//.swf$/gi.test(src) == true ? TEMP_FLASH : TEMP_IMAGE)
- .replace(//$src/$/gi, src)
- .replace(//$width/$/gi, width)
- .replace(//$height/$/gi, height)
- }
- document.write(tmh__make_ad_fodder('http://flash.babudou.com/4288.swf', 710, 561));
- </script>
- </body>
- </html>
- 兼容ie和火狐firefox的js调用flash播放器代码特效
- 兼容IE和Firefox火狐的上下、左右循环滚动JS代码
- IE和Firefox都兼容的插入Flash元素代码
- 制作兼容IE和火狐的JS回车代码(转)
- 制作兼容IE和火狐的JS回车代码
- JS回车兼容IE和火狐的代码
- 兼容firefox、chrome、ie的wmp网页播放器代码
- js 复制到剪贴板 ,兼容支持火狐firefox 和 ie
- IE和firefox火狐在JS、css兼容区别
- js、jQuery,兼容IE与firefox火狐的回车事件
- IE和FireFox中都兼容的JS代码
- 兼容Firefox和IE的禁用Tab键JS代码
- 兼容Firefox(火狐)浏览器和IE浏览器的收藏代码
- JS+flash实现复制功能(兼容IE和firefox)
- js脚本:ie和firefox的兼容
- 兼容IE和Firefox的“加入收藏”代码
- 兼容Firefox和IE的“收藏”代码
- js 图片链接滚动代码 兼容火狐和ie
- 存储过程
- 定时任务cron
- 实战宝典:如何实现Vista和Linux双引导
- Display SIP message flow using Sipviewer
- oracle两表间导数据语句
- 兼容ie和火狐firefox的js调用flash播放器代码特效
- JS树形菜单
- do...while(0)的妙用
- Practical Strategies for your Career
- C# 使用SendMessage 函数
- 计算时间差
- 几个常用的类型转换
- AjaxPro在.NET中的应用
- 在MFC中重载operator new需要注意的地方