ubbtag.js

来自「LOVESTUdio多校园交易系统 VER 4.0基于3.0开发」· JavaScript 代码 · 共 35 行

JS
35
字号
// JavaScript Document
function   meizz(str)   
  {   
      var old = window.clipboardData.getData("Text");   
      window.clipboardData.setData("Text",str);   
      bored.bordnr.focus();   
      document.execCommand('Paste');   
      window.clipboardData.setData("Text",old);   
  }   
function shoptag(){
      
      var str1 = shows.shopnum.value;
	  var str2 = shows.shopcolor.value;
	  var strshop = "$_showshop("+str1+","+str2+")_$";
      var old = window.clipboardData.getData("Text");   
      window.clipboardData.setData("Text",strshop);   
      bored.bordnr.focus();   
      document.execCommand('Paste');   
      window.clipboardData.setData("Text",old);  	
					}  
function changetable(){
            changeall();
			var num = tagtype.value;
               if(num !== ""){
			   eval("tb"+num).style.display = "";
			   }         
						} 
						
function changeall() {
    for (i=1;i<3;i++) {
      eval("tb"+i).style.display="none";
}						 
}

⌨️ 快捷键说明

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