JQuery改變滑鼠樣式
阿新 • • 發佈:2019-02-19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> New Document </title> <script src="JQuery/jquery-2.0.0.js"></script> <script type="text/javascript"> <!-- $(document).ready(function(){ $("div").mouseover(function(filename){ //$("input.btn").hide(); $(this).css("cursor","Pointer"); }); }); //--> </script> <style type="text/css"> div{ width:80px; height:80px; background-color:#ddd; padding:30px; border: 2px #8D8D8D dashed; } </style> </head> <body> <div>asda</div> </body> </html>