<html>
<head>
<script>
function goToPage(url)
{
if (url != "")
{
.open(url);
}
}
</script>
</head>
<center>
<h2>This feature is coming soon</h2>
<form name="jump">
<p align="center">
<select name="menu">
<option value="URL">*New Offers*</option>
<option value="URL">100% Free Surveys</option>
<option value="URL">*CPM*</option>
<option value="URL">*CPC*</option>
<option value="URL">UK Offers</option>
<option value="URL">AU Offers</option>
<option value="URL">CA Offers</option>
<option value="URL">International Offers</option>
<option value="URL">GPT/PTS/PTC</option>
<option value="URL">1st Page/Email Submits</option>
<option value="URL">1ClickFamily</option>
<option value="URL">Registration Offers</option>
<option value="URL">Downloads</option>
<option value="URL">Purchases/Trials</option>
<option value="URL">Daily Surveys</option>
<option value="URL">Absolute Rewards</option>
<option value="URL">Weekly Surveys</option>
<option value="URL">Survey Panels</option>
<option value="URL">Mobile/Pin Submits</option>
<option value="URL">WinningSurveys</option>
<option value="URL">Monthly Surveys</option>
<option value="URL">Insurance Quotes</option>
<option value="URL">ZZZQuiz</option>
<option value="URL">*Content Unlocker</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</p>
</form>
</center>
</html>
您好,我创建了一个下拉菜单,它将位于我网站每个页面的 iframe 中。如何使链接在主窗口而不是 iframe 中打开?例如,在一个普通的文本链接中,你会使用 target='_parent'... 我可以在这个脚本中使用什么类似的函数?
谢谢