English[li:v] US[liv] vt.???; ???
vt.& vi.???; ???
n.??? ??;
jquery mouseleave() ?? ???
??: ??? ???? ??? ???? mouseleave ???? ?????. ? ???? mouseenter ???? ?? ?? ?? ?????. mouseleave() ???? mouseleave ???? ?????? mouseleave ???? ??? ? ??? ??? ?????. mouseout ???? ?? mouseleave ???? ??? ???? ??? ??? ?? ?? ??????. ??? ???? ?? ??? ???? mouseout ???? ??????. ??? ??? ?? ?? ?????.
Trigger mouseleave ??? ??: $(selector).mouseleave()
mouseleave ??? ??? ?? ???: $(selector).mouseleave(function)
????:
???? | ?? |
?? | ????. mouseleave ???? ??? ? ??? ??? ?????. |
jquery mouseleave() ?? ?
<html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("p").mouseenter(function(){ $("p").css("background-color","yellow"); }); $("p").mouseleave(function(){ $("p").css("background-color","#E9E9E4"); }); }); </script> </head> <body> <p style="background-color:#E9E9E4">請(qǐng)把鼠標(biāo)指針移動(dòng)到這個(gè)段落上。</p> </body> </html>
??? ????? ??? "???? ??" ??? ?????