<! Doctype HTML>
<HTML>
<Head>
<Meta charset = "gb2312">
<Title> jste </title>
</Head>
<Body>
<! -- Header -->
<LINK rel = "stylesheet" href = "http://a.tbcdn.cn/apps/dts/th3/css ?? Public.css "/>
<SCRIPT src = "http://a.tbcdn.cn/apps/dts/th3/js ?? Jquery. JS, th_select.js "> </SCRIPT>
<SCRIPT>
$ (Function (){
/* $ (". Show"). animate ({"height": "40px"}, 1000)
. Click (function (){
$ (This). Hide ("1000 ")
})*/
/* $ ("Ul li"). Hover (function (){
$ (This). siblings (). addclass ("T ");
}, Function ()
{$ (This). siblings (). removeclass ("T ");
})*/
/*
$ (". UL Li IMG"). Hover (
Function (){
VaR offset = $ (this). offset ();
$ (". Showbox ")
. CSS ({"Left": Offset. Left-50 + "PX", "TOP": Offset. Top-50 + "PX "})
. Stop (True, true). Show (500 );
$ (". Showbox IMG"). ATTR ("src", this. SRC );
}, Function (){
$ (". Showbox"). Hide (100 );
}
)
*/
})
$ (Function (){
VaR timer = NULL;
$ ('. Show. ul img'). mousemove (function (){
VaR src = This. SRC,
Offset = $ (this). offset ();
If (timer) {cleartimeout (timer );}
Timer = setTimeout (function (){
$ ('. Show. showbox '). find ('img '). ATTR ({'src': SRC, "title": This. title }). end (). fadein (500 ). offset ({left: offset. left-50, top: offset. top-50 });
},500 );
})
$ ('. Show. showbox'). mouseleave (function (e ){
$ (This). Hide ();
})
})
</SCRIPT>
<Style>
. Show {Height: 0; width: 800px; Background: #990; margin: 100px auto ;}
. Cur {border: 1px solid # CCC}
. T {Background: #000000; opacity: 0.7}
Li {float: Left; position: relative ;}
Li IMG {width: 100px; Height: 100px; display: block; cursor: pointer}
. Showbox {width: 200px; Height: 300px; display: none; left: 10px; top: 10px; position: absolute; Border: 2px solid # C90}
. Showbox IMG {width: 200px; Height: 150px ;}
</Style>
<Div class = "show">
<Ul class = "Ul">
<Li> </LI>
<Li> </LI>
<Li> </LI>
<Li> </LI>
<Li> </LI>
</Ul>
<Div class = "Showbox">
<P> info </P>
</Div>
</Div>
</Body>
</Html>