One Javascript Demo
<div id="a1" style=" position:absolute; z-index:2;"></div>
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="°×Ñò.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'°×Ñò.jpg','°×Ñò×ù~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="½ðÅ£.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'½ðÅ£.jpg','½ðÅ£×ù~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="Ë«×Ó.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'Ë«×Ó.jpg','½ðÅ£×ù~')" onmouseout="hide(this)" /></td>
</tr>
<tr></tr>
<tr>
<td><img src="¾Þз.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'¾Þз.jpg','¾Þз×ù~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="ʨ×Ó.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'ʨ×Ó.jpg','ʨ×Ó×ù~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="´¦Å®.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'´¦Å®.jpg','´¦Å®×ù~')" onmouseout="hide(this)" /></td>
&nb
Ïà¹ØÎĵµ£º
ÍøÉÏÃæËµjavascript±Õ°üÓÐÁ½µãÐèҪעÒ⣺
1. ±Õ°üÖеĻ·¾³±äÁ¿Èç¹ûÊÇÔÚÑ»·ÖУ¬ÄÇôʹÓñհü±äÁ¿µÄʱºòÊÇÑ»·½áÊøºóµÄÖµ
2. ±Õ°ü»·¾³±äÁ¿¿ÉÒÔ¶¨ÒåÔÚ·½·¨ºó£¬²»Ó°ÏìʹÓÃ
µÚ1µãÊÇ˵±Õ°üÀï»·¾³±äÁ¿Èç¹ûÊÇÔÚÑ»·ÖУ¬ÄÇÖ»ÄÜȡѻ·½áÊøºóµÄÖµ
Õâ¸öÎÊÌâ¿ÉÒÔÓÃevalº¯Êý¼òµ¥½â¾ö£¬ÔÚÑ»·ÖÐÓÃevalÖ´Ðбհüº¯ÊýÓï¾ä¾ÍûÎÊÌâÀ²£¬Ð§Â ......
C#:
´´½¨£º
¡¡¡¡¡¡¡¡HttpCookie cookie = new HttpCookie("regID");
cookie .Value = username;
cookie .Expires = DateTime.Now.AddDays(1);
& ......
ʼþÔ´¶ÔÏó
event.srcElement.tagName
event.srcElement.type
²¶»ñÊÍ·Å
event.srcElement.setCapture();
event.srcElement.releaseCapture();
ʼþ°´¼ü
event.keyCode
event.shiftKey
event.altKey
event.ctrlKey
ʼþ·µ»ØÖµ
event ......
Èç¹ûAJAX¼ÓÔØµÄÊý¾ÝÊÇÒ»¸öHTMLƬ¶Î£¬¶øÇÒÕâ¸öHTMLƬ¶Î»¹°üº¬½Å±¾<script>¿é£¬ÄÇôÔÚÄã°ÑÕâÊý¾ÝxmlHttp.responseTextÓÃinnerHTML·½·¨²åÈëµ½µ±Ç°ÎĵµÒ»¸öÔªËØÖУ¬Äã»á·¢ÏÖAJAX¼ÓÔØ»ØÀ´µÄ½Å±¾¸ù±¾Ã»ÓÐÖ´ÐС£ÕâÊÇAJAX¿ª·¢Öкܳ£¼ûµÄÎÊÌ⣬Èç¹ûÄã²»ÊÇÒ»Ö±ÔÚÓÃJavaScript¿ò¼Ü×ö¿ª·¢£¬ÏàÐÅÄãÔç¾Í·¢ÏÖÕâ¸öÎÊÌâÁË¡£±¾ÎÄ·ÖÎöÁËÁ ......