﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-飞得更高-随笔分类-路边小憩</title><link>http://www.cnitblog.com/qiuwuqiu/category/4984.html</link><description>己所不欲，勿施于人
&lt;form action="www.baidu.com"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;input type="button" onClick="shake(3)" value="我要发泄！！！"&gt;

&lt;/form&gt;
&lt;div id="ring" class="ringstyle"&gt;
	&lt;p&gt;&lt;font color="red"&gt;）&lt;/font&gt;&lt;/p&gt;
	&lt;/div&gt;&lt;div id="redirection" class="explain"&gt;
&lt;/div&gt; 
&lt;style&gt;
.ringstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:5pt;
font-family:Verdana;
color:FF0000
}
.explain {
position:absolute;
top:80px; 
left:40px; 
width:300px; 
color:000000;
text-align:center;
font-size:20pt;
font-family:Times;
}
&lt;/style&gt;
&lt;script LANGUAGE="JavaScript"&gt;


var x,y
var timer
var i_fontsize=0
var step=0
var thisx,thisy
function handlerMM(e){
	 // x = window.screen.width/2;
	  //y = window.screen.height/2;
	x = (document.layers) ? e.pageX : event.clientX
	y = (document.layers) ? e.pageY : event.clientY
}
function ringup() {
	if (document.all) {
		thisx = x
		thisy = y
		ringup2()
	}
}
function ringup2() {
	if (i_fontsize &lt;= 300) { 
		document.all.ring.style.fontSize=i_fontsize
		document.all.ring.style.color="rgb(255,"+Math.floor(i_fontsize/6)+","+Math.floor(i_fontsize/6)+")"
		document.all.ring.style.posLeft = thisx - (Math.floor(i_fontsize/4))
		document.all.ring.style.posTop = thisy-(Math.floor(i_fontsize/2))
		step += 3
		i_fontsize += step
		timer=setTimeout("ringup(2)",50)
	}
	else {
		clearTimeout(timer)
		i_fontsize = 0
		step = 0
		document.all.ring.style.posTop=-8000
	}
	
}
document.onmousemove = handlerMM;

function shake(n) 
{
  ringup();
  if (window.moveBy) 
  {
    for (i = 3; i &gt; 0; i--) 
    {
	  event.keyDown = 20
      for (j = n; j &gt; 0; j--) 
      {
        window.moveBy(0,i);
        window.moveBy(i,0);
        window.moveBy(0,-i);
        window.moveBy(-i,0);
      }
    }
	
  }
}

&lt;/script&gt;</description><language>zh-cn</language><lastBuildDate>Wed, 28 Sep 2011 00:36:27 GMT</lastBuildDate><pubDate>Wed, 28 Sep 2011 00:36:27 GMT</pubDate><ttl>60</ttl></channel></rss>