ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] «ü¼Ð²¾¤Jª«¥ó°Ï°ìªº¯B°Ê

[µo°Ý] «ü¼Ð²¾¤Jª«¥ó°Ï°ìªº¯B°Ê

¦]¬°½Ò·~°ÝÃD¡A²Ä¤@¦¸¼gºô­¶¡A§ó¬O­è¸IjavaScript

¦Ñ®v­n¨D¨Ï¥Î¡u·Æ¹««ü¼Ð²¾°Ê¨ì°Ï°ì«áÅã¥Ü¥X¶}¿ï¶µ¡vªºµ{¦¡½X
¦p¹³¦¹½×¾Â¦b·Æ¹«¸I¨ì¡u³Â»¶®a±Ú°Q½×ª©¡v®É·|¸õ¥Xlistviewªº¿ï¶µ

ª¦¤å³£¬OÃþ¦ü¦p³Â»¶¾Ç¶é±Ð¾Çªº¯B°Ê³sµ²¿ï³æ

¬Ý¹L¤¸¯À
<a id="fjump" href="index.php" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">³Â»¶®a±Ú°Q½×ª©ª©</a>

¤£¬O«ÜÀ´class="dropmenu"   ©M
onmouseover="showMenu({'ctrlid':this.id})"«ü¼Ð©ó°Ï°ì¤º®É·|¤°»ò«ü¥O

¤]¦³Â½¹L·¨ªF¬Rªº¡ujavascriptºë½o½d¨ÒÃã¨å¡v¡A¦ý³o³¡¤ÀÁÙ¬O¤£¤Ó·|À³¥Î
¦]¬°­è±µÄ²javascript¡AÁٷнаª¤â¥i¥HÀ°¦£¸Ñ´b

¤U¦Cµ{¦¡½X¶K¨ì§Aªººô­¶§Y¥i´ú¸Õ,·í«ü¼Ð²¾¨ì¼u¥Xµøµ¡³o¨Ç¦r¤W´N·|¥X²{´£¥Üµ¡
  1. <div onmouseover="alert('§A¸I¨ì§Ú¤F!!');">¼u¥Xµøµ¡</div>
½Æ»s¥N½X
class="dropmenu"  
=>«ü©wCSS¼Ë¦¡Ãþ§O
onmouseover="showMenu({'ctrlid':this.id})"«ü¼Ð©ó°Ï°ì¤º®É·|¤°»ò«ü¥O
=>°õ¦æJS¨ç¼ÆshowMenu
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

TOP

¦^´_ 2# ¤p»x


¥ýÁÂÁ¤p»xªº¸Ñ´b
«ü¼Ð²¾°Ê¦Ü«ü¼Ð·|¸õ¥Xĵ§iµøµ¡alert¡A³o¥\¯à¦Aª¦¤å®É¤]§ä¹L¤F

¥i¯à¬O§ÚÁ¿­z°ÝÃD¨SÁ¿­z²M·¡¡A©êºp
¦ý¦Ñ®v§Æ±æªº¥\¯à¬O«üÅÀ²¾°Ê¨ì¶}°Ï¶ô«á¦³¥t¤@ºô­¶©ÎListView¿ï¶µ¥X²{¡AµM«á¤S©óÂ÷¶}¶}°Ï°ì®É¤£¨£


¬Q¤Ñ¦³§ä¨ì
<img src="ºô­¶¹Ï¤ù´ú¸Õ3.jpg" width="120" height="60"  onmouseover="window.open('ºô¯¸.aspx','µn¤J´ú¸Õ',config='height=300,width=300',resizable='no')" VALUE="´ú¸Õ¯B°Ê">
¦ýµLªkÅý¥L¦bÂ÷¶}°Ï°ì®ÉÃö³¬¡Awindow.close()·|§â¥Ø«eªºµøµ¡Ãö³¬±¼£½£¿

¦Ó¥B¬O¸õ¥X¤@­Ó·sµøµ¡¡A¦ý§Ú­Ó¤H¬O·Q°µ¦¨¹³³o½×¾Â¤@¼Ë¡A²¾°Ê¨ì¡u³Â»¶®a±Ú°Q½×ª©ª©¡v®É·|¦³Menu¸õ¥X¨ÓÅý¨Ï¥ÎªÌ¿ï¾Ü¡A¤ñ¸û²Å¦X¨Ï¥ÎªÌ»Ý¨D

©Ò¥H­Y§Ú·Q°µ¨ì¹³½×¾Â¥\¯à¤@¼Ë¡A¤]­n¥ý¼g¤@­ÓMenu«á¦AÅýjavascript¥hshowMenu¶Ü?£½£¿"

TOP

¦^´_  ¤p»x


©Ò¥H­Y§Ú·Q°µ¨ì¹³½×¾Â¥\¯à¤@¼Ë¡A¤]­n¥ý¼g¤@­ÓMenu«á¦AÅýjavascript¥hshowMenu¶Ü?
CHABOBOM µoªí©ó 2013-8-2 16:03


¬Oªº
°Ñ¦Ò³o½g
http://forum.twbts.com/thread-364-1-1.html
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

TOP

ÁÂÁ¤p»xÀ°¦£¸Ñ´b^^
¦ý§Ú³Ì«á¬O¥ÎCSSªº¤èªk¸Ñ¨M¤F

«á­±¤~ª¾¹D­ì¨Ó§Ú°Ýªº¤è¦¡¿ù¤F
¤èªkªº¦WºÙ¬° ®i¶}¬O¿ï³æ
¦]¬°­è±µÄ²©Ò¥H³£¤£¤ÓÀ´¦WºÙ¡AÁ¿­z°ÝÃDªº¤èªk¤S¤£¤Ó¦n£½£¿

¤£¹LÁÙ¬O«ÜÁÂÁ¤p»x^^

TOP

        ÀR«ä¦Û¦b : ¥@¤W¦³¨â¥ó¨Æ¤£¯àµ¥¡G¤@¡B§µ¶¶ ¤G¡B¦æµ½¡C
ªð¦^¦Cªí ¤W¤@¥DÃD