写了个小程序~~玩玩~........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>
-------------------------------------------------------------------
还有几个类 ~~ 不贴了 说太麻烦 自己在附件~~下来玩玩~~~
--------------------------------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>
-------------------------------------------------------------------
还有几个类 ~~ 不贴了 说太麻烦 自己在附件~~下来玩玩~~~