一句js代码 和一个<a>标签就搞定了 ,是不是很简单呢。 <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI 按钮(Button) - 默认功能</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css"> <script> $(function() { $( " a" ) .button(); }); </script> </head> <body> <a href="#">一个锚</a> </body> </html>
JqueryUi制作漂亮的按钮
猜你喜欢
转载自blog.csdn.net/lzp492782442/article/details/42079329
今日推荐
周排行