如题,
<script type= "text/javascript ">
$(document).ready(function(){
$( "#choose #clientClick ").click(function(){ $( "#client-version ").toggle()})
$( "#choose #clientClick ").blur(function(){ window.setTimeout( "$( '#client-version ').css( 'display ', 'none ') ",300)})
$( "#choose #patchClick ").click(function(){ $( "#patchlist ").toggle()})
$( "#choose #patchClick ").blur(function(){ window.setTimeout( "$( '#patchlist ').css( 'display ', 'none ') ",300)})
$( 'ul#fadebanner ').innerfade({
speed: 'slow ',
timeout: 2500,
type: 'sequence ',
containerheight: '72px '
});
ShowSeverStatus();
$( "#serverStatus li,.calendar img ").mousemove(function(callingEvent){if (!callingEvent) callingEvent=window.event;mouseX=callingEvent.clientX;mouseY=callingEvent.clientY-1;$( "#toolBox ").css( "left ",mouseX+ "px ");$( "#toolBox ").css( "top ",mouseY+20+document.documentElement.scrollTop+ "px ");$( "#toolBox ").html($(this).attr( "name "));$( "#toolBox ").css( "display ", "block ");});
$( "#serverStatus li,.calendar img ").mouseout(function(){$( "#toolBox ").css( "display ", "none ");});
});
这是一个网站的source,也不知道这是什么用法,高人指点下!谢谢了
------解决方案--------------------
这个是JQuery里面的,是一个JAVASCRIPT的框架,类似与PROTOTYPE,但是很小巧