生命灵数看旺夫的女人:麻烦帮我看看哪里有错

来源:百度文库 编辑:中科新闻网 时间:2024/04/29 15:43:19
一段Javascript的代码:
<script language="javascript">
var myUrl;
function openSite(url){
parent.main.location = url;
myUrl=url;
}
function collapse(){
if ( ! myUrl){
parent.location = "rightmain.htm";}
else{
parent.location=myUrl; // Force this page into the
// parent location
}
}
</script>
</head>
<body bgcolor="white">
<p><a href="javascript:openSite('rightmain.htm');">主页</a><p>