1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 6 <title>Examples</title> 7 <meta name="description" content=""> 8 <meta name="keywords" content=""> 9 <link href="" rel="stylesheet"> 10 </head> 11 <body> 12 <!-- <iplist id="aa">11111.jjj</iplist> --> 13 <!-- <button id="add">添加</button> --> 14 <a href="##" onclick="my('http://www.baidu.com')">..sss.</a> 15 </body> 16 <script type="text/javascript" src="jquery-1.8.0.min.js"></script> 17 <script> 18 function my(url){ 19 //alert(url); 20 window.open(url,"newwindow","height=100,width=400"); 21 } 22 </script> 23 </html>