⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showface.js

📁 中国网站网贴吧程序源码(ASP+ACCESS) 实现功能: 多级分类查找,可按多级分类查找贴吧,多用户申请,任何人都可以申请自己的贴吧, 用户三种权限管理,1,普通会员,2,普通版主(只有管理自己的贴
💻 JS
字号:
function showFace()
{
numButton = 30
document.write ("<table><tr>")
for (i = 0; i < numButton; i++)
    {
    document.write ("<td><table onmouseover='mouseon(this)' onmouseout='mouseout(this)' onmousedown='mousedown(this)' onmouseup='mouseup(this, " + i + ")' border='0' cellpadding='0' cellspacing='0' width='26' height='26' class='normal'>" +
                    "<tr><td align='center'><img border='0' src='Face/FACE" + i + ".gif'></td></tr></table></td>")    
    if ((i + 1) % 6 == 0) document.write ("</tr><tr>")
    }
document.write ("</tr></table>")
}

function mouseon(button)
{
button.className = "mouseon"
button.all[0].all[0].all[0].className = "tdmouseon"
}

function mouseout(button)
{
button.className = "normal"
button.all[0].all[0].all[0].className = ""
}

function mousedown(button)
{
button.className = "mousedown"
button.all[0].all[0].all[0].className = ""
}

function mouseup(button, i)
{
button.className = "mouseon"
button.all[0].all[0].all[0].className = "tdmouseon"
myForm.Content.value += "[FACE" + i + "]"

}

function checkWords()
{
if (wordsInfo.innerText != myForm.Content.value.length) wordsInfo.innerText = myForm.Content.value.length
}

function ctlkey()
{
	if(event.ctrlKey && window.event.keyCode==13){document.myForm.SUBMIT.click();}
}
var ie = (document.all)? true:false
if (ie)
{
	window.document.onkeydown=ctlkey;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -