📄 qqubb.js
字号:
<!-- QQ魔幻表情显示脚本 start-->
document.write("<span id='QQFace' style='position:absolute; width:0px; height:0px; z-index:99999; background-color: transparent; display: none; left: 0; top: 0;'></span> ");
var sw //传递定时
var sWidth=300 //定义表情显示的宽度
var sHeight=300 //定义表情显示的高度
var sTime=5000 //定义表情显示的时间
//显示表情
function ShowQQ(ID){
clearTimeout(sw);
document.getElementById("QQFace").style.width=sWidth
document.getElementById("QQFace").style.height=sHeight
document.getElementById("QQFace").style.left=document.body.scrollLeft+(document.body.clientWidth-sWidth)/2
document.getElementById("QQFace").style.top=document.body.scrollTop+(document.body.clientHeight-sHeight)/2
//下面一句设置表情的路径
var QQStr="/plug-ins/magicQQ/Face/" + ID + ".swf"
document.getElementById("QQFace").innerHTML = '<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><PARAM NAME=movie VALUE="'+ QQStr +'"><param name=menu value=false><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=false><param name="wmode" value="transparent"><embed src="' + QQStr +'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%"></embed>';
QQFace.style.display=""
sw=window.setTimeout("CloseQQ();",sTime);
}
//关闭表情
function CloseQQ(){
QQFace.style.display="none"
clearTimeout(sw);
}
//-->
<!-- QQ魔幻表情显示脚本 end-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -