远程服务器管理软件~~呵呵 姑且这么叫吧

写了个小程序~~玩玩~........JAVA......图形化.........................
--------------------------------index.html---------------------
<html>
<head>
<title>小枫服务器管理系统玩玩版~~</TITLE>
</HEAD>
<FRAMESET COLS="1,*" frameborder=0 framespacing=0>
<FRAME SRC="x.html" NAME="count" noresize scrolling=no>
<FRAME SRC="1.html" NAME="search" noresize>
</frameset>
</html>
------------------------------x.html----------------------

<html>
<head>
</head>

<body>

</body>
</html>
-----------------------------1.html-----------------------------
<HTML>
<HEAD>

<META HTTP-EQUIV="Expires" CONTENT="-1">
<SCRIPT language=javascript>
function click() {if (event.button==2) {alert('不许你偷看!');}}document.οnmοusedοwn=click
</SCRIPT>
<script language="javascript">
if(top==self)top.location="index.html"
</script>

<script language="javascript">


function createXMLHttpRequest(){

if(window.ActiveXObject){

return new ActiveXObject("Microsoft.XMLHTTP");

}
else if(window.XMLHttpRequest){

return new XMLHttpRequest();

}


}


var x,y,type,url;

function clickl2(o){


x=event.clientX-o.offsetLeft;
y=event.clientY-o.offsetTop;


type="l2";

url="test?x="+x+"&y="+y+"&type="+type+"&imgwidth="+1000+"&imgheight="+500;

var xmlhttp=createXMLHttpRequest();
if(xmlhttp!=null){
xmlhttp.open("get",url,true);
xmlhttp.onreadystatechange=function (){

if(xmlhttp.readystate==4)
{


if(xmlhttp.status==200||xmlhttp.status==0)
{

document.getElementById("ig").src=url;


}

}


}
xmlhttp.send(null);


}
}


function clickl1(o){


x=event.clientX-o.offsetLeft;
y=event.clientY-o.offsetTop;


type="r1";

url="test?x="+x+"&y="+y+"&type="+type+"&imgwidth="+1000+"&imgheight="+500;

var xmlhttp=createXMLHttpRequest();
if(xmlhttp!=null){
xmlhttp.open("get",url,true);
xmlhttp.onreadystatechange=function (){

if(xmlhttp.readystate==4)
{


if(xmlhttp.status==200||xmlhttp.status==0)
{

document.getElementById("ig").src=url;


}

}


}
xmlhttp.send(null);


}


}




var str;
function flu(){

str=""+Math.random()*10;
str=str+Math.random()*10;
str=str+Math.random()*10;
str=str+Math.random()*10;
str=str+Math.random()*10;


url="test?type="+str+"&imgwidth="+1000+"&imgheight="+500;

var xmlhttp=createXMLHttpRequest();
if(xmlhttp!=null){
xmlhttp.open("get",url,true);
xmlhttp.onreadystatechange=function (){

if(xmlhttp.readystate==4)
{


if(xmlhttp.status==200||xmlhttp.status==0)
{


document.getElementById("ig").src=url;



}


}


}
xmlhttp.send();

}
}


function createflu(){


window.setInterval("flu()",3000);


}


</script>

</head>

<body οnlοad="createflu()">


<img name="ig" src="test" width=1000 height=500 οndblclick="clickl1(this)" οnclick="clickl2(this)" />

</body>
</html>
-------------------------------------------------------------------
还有几个类 ~~ 不贴了 说太麻烦 自己在附件~~下来玩玩~~~
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值