用createPopup()创建的popup相当于一个子窗口,使用链接时要用parent.location.href.
如在显示标题时这样写:
popmsg("<a href=\"#\" onclick=\"parent.location.href='http://www.ugain.org'\"> uGain </a>", "<center>做你该做的事!<br>做你能做的事!<br>做你想做的事!<br>Do Things U SHOULD!<br>Do Things U CAN!&nbsp;&nbsp;&nbsp;<br>Do Things U WANT!&nbsp;&nbsp;<br><br></center>");