Javascript怎样实现在本页中自动链接?

起动下面的方法,我要在本页打开内容,而不是在新的窗口中打开。可以不用window.open实现吗?
function menuHandler(actMnu,url)
{
window.open("http://www.csdn.com","MenuPopup",winprops);

}
---------------------------------------------------------------

href="http://www.csdn.com" target="winprops"
---------------------------------------------------------------

sorry:

1<a href="http://www.csdn.com" target="MenuPopup">   
2  
3\---------------------------------------------------------------   
4  
5target="_self"是本页</a>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus