createPopup 超链接

<HTML>
<HEAD>
<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function showMenu()
{
var oPopBody = oPopup.document.body;
oPopBody.style.backgroundColor = "lightyellow";
oPopBody.style.border = "solid black 1px";
str="<table>";
str+="<tr><td onclick=parent.winOpen('http://www.163.com')>163</td></tr>";
str+="<tr><td onclick=parent.winOpen('http://mail.163.com')>163333</td></tr>";
str+="</table>";
oPopBody.innerHTML=str;
oPopup.show(50, 50, 180, 50, document.body);
}
function winOpen(url)
{
window.open(url)
}
</SCRIPT>
</HEAD>
<BODY>
<BUTTON onclick="showMenu()">菜单</BUTTON>
</BODY>
</HTML>

你可能感兴趣的:(create)