js.php
来自「希普办公网络v2」· PHP 代码 · 共 103 行
PHP
103 行
<script language="JavaScript" type="text/JavaScript">
<!--
var the_count=0;
var the_del=400;
var the_timeout;
function countnum()
{
if(the_count<412)
{
the_timeout=setTimeout("countnum();",1);
the_count +=50;
the_del-=50;
}
top.document.all("jiaohuan").height=the_count;
top.document.all("tihuan").height=the_del;
}
function openw(urlname)
{
top.document.all("jiaohuan").src=urlname;
top.document.all("tihuan").src=urlname;
if (the_count>390)
{
closew();
}
if (the_count<50)
{
countnum("jiaohuan");
} }
function closew()
{
if(the_count>7)
{ the_count -= 50;
the_del +=50;
the_timeout = setTimeout("closew();", 1);
}
top.document.all("jiaohuan").height=the_count;
top.document.all("tihuan").height=the_del;
}
/* if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
*/
function call(htmlurl){
var newwin=window.open(htmlurl,'add','status=yes,height=460,width=380,scrollbars=nob esizable=yes top=0, left=24');
newwin.focus();
return false;
}
function callshow(htmlurl){
var newwin=window.open(htmlurl,'show','status=no,height=400 ,width=400,scrollbars=yes resizable=yes top=0, left=24');
newwin.focus();
return false;
}
function callbig(htmlurl){
var newwin=window.open(htmlurl,'big','status=no,height=400,width=500,scrollbars=yes resizable=yes top=0, left=24');
newwin.focus();
return false;
}
function callsmall(htmlurl){
var newwin=window.open(htmlurl,'small','status=yes,height=100,width=200,scrollbars=nob esizable=yes top=300, left=350');
newwin.focus();
return false;
}
//-->
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?