show
English [?o?]
vt.& show; show; show; show;
vi. ???, ????, ?????
jquery show() ?? ???
??: ??? ??? ??? ?? ?? ??? ?????.
??: ??$(selector).show(speed,callback)
????:
???? | Description |
speed | ????. ??? ??? ???? ??? ???? ??? ??? ?? ????? ?????. ???? "0"???. ??? ?: ???(?: 1500) "??" "??" "??" ??? ??? ? ??? ??? ???? ??? ???? ??? ???? ??, ??, ?? ? ??? ?? ?????. |
?? | ????. show ??? ??? ? ??? ?????. ?? ????? ???? ??? ? ????? ??? ? ????. |
??: ??? ?? ??? ??? ?? ?? ??? ???? ?? ? ? ??? ?? ??? ???? ????. ? ??? jQuery? ?? ??? ?? ?? CSS? ??? display:none? ?? ??(??? visible:hidden? ?? ??? ??)? ?????.
jquery show() ?? ?
<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(){ $(".btn1").click(function(){ $("p").hide(); }); $(".btn2").click(function(){ $("p").show(); }); }); </script> </head> <body> <p>This is a paragraph.</p> <button class="btn1">Hide</button> <button class="btn2">Show</button> </body> </html>
??? ????? ??? "???? ??" ??? ?????