网站导航网学 原创论文 原创专题 网站设计 最新系统 原创论文 论文降重 发表论文 论文发表 UI设计定制 论文答辩PPT格式排版 期刊发表 论文专题
返回网学首页
网学原创论文
最新论文 推荐专题 热门论文 论文专题
当前位置: 网学 > 设计资源 > 正则表达式 > 正文

PBlog2公用JS代码

论文降重修改服务、格式排版等 获取论文 论文降重及排版 论文发表 相关服务
newwin.document.close();
}
}
//复制代码
function doCopy(ID) {
if (document.all){
textRange = document.getElementById(ID).createTextRange();
textRange.execCommand("Copy");
}
else{
alert("此功能只能在IE上有效")
}
}
var MediaTemp=new Array()
function MediaShow(strType,strID,strURL,intWidth,intHeight)
{
var tmpstr
if (MediaTemp[strID]==undefined) MediaTemp[strID]=false; else MediaTemp[strID]=!MediaTemp[strID];
if(MediaTemp[strID]){
if ( document.all ) {
document.getElementById(strID).outerHTML = ''<div id="''+strID+''"></div>''
}
else
{
document.getElementById(strID).innerHTML = ''''
}

document.images[strID+"_img"].src="/uploadfile/201306/29/AB153510675.gif"
document.getElementById(strID+"_text").innerHTML="在线播放"
}else{
document.images[strID+"_img"].src="/uploadfile/201306/29/B7153510314.gif"
document.getElementById(strID+"_text").innerHTML="关闭在线播放"
switch(strType){
case "swf":
tmpstr=''<div style="height:6px;overflow:hidden"></div><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="''+intWidth+''" height="''+intHeight+''"><param name="movie" value="''+strURL+''" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="''+strURL+''" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="''+intWidth+''" height="''+intHeight+''" /></object>'';
break;
case "wma":
tmpstr=''<div style="height:6px;overflow:hidden"></div><object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="MediaPlayer" width="450" height="70"><param name=""howStatusBar" value="-1"><param name="AutoStart" value="False"><param name="Filename" value="''+strURL+''"></object>'';
break;
case "wmv":
tmpstr=''<div style="height:6px;overflow:hidden"></div><object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" type="application/x-oleobject" standby="Loading..." width="''+intWidth+''" height="''+intHeight+''"><param name="FileName" VALUE="''+strURL+''" /><param name="ShowStatusBar" value="-1" /><param name="AutoStart" value="true" /><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="''+strURL+''" autostart="true" width="''+intWidth+''" height="''+intHeight+''" /></object>'';
break;
case "rm":
tmpstr=''<div style="height:6px;overflow:hidden"></div><object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="''+intWidth+''" height="''+intHeight+''"><param name="SRC" value="''+strURL+''" /><param name="CONTROLS" VALUE="ImageWindow" /><param name="CONSOLE" val

  • 上一篇资讯: Html转换UBB程序
  • 下一篇资讯: jb51用的ubb转换原创
  • 设为首页 | 加入收藏 | 网学首页 | 原创论文 | 计算机原创
    版权所有 网学网 [Myeducs.cn] 您电脑的分辨率是 1280 x 720 像素
    Copyright 2008-2020 myeducs.Cn www.myeducs.Cn All Rights Reserved 湘ICP备09003080号 常年法律顾问:王律师