-2
首先,我创建一个包含框架的索引页面,并将所有框架命名为NASA google you tube等。 然后搜索页面为什么目标不能在这里工作
<input id="main_category_lan1" value="test" />
<a href="javascript:void(0)"
onmouseover="
window.open('http://nasasearch.nasa.gov/search?utf8=%E2%9C%93&affiliate=nasa&query='
+document.getElementById('main_category_lan1').value)", target="nasa">s</a>
<a href="javascript:void(0)"
onmouseover="window.open('https://www.youtube.com/results?search_query=lecture'
+document.getElementById('main_category_lan1').value)",target="google">e</a>
,但是这是行不通的,每次在新标签页打开时间。另外我想打开这两个页面再见一个按钮。 我该怎么办?谢谢。
请格式化你的代码正确 –
http://stackoverflow.com/help/how-to-ask第一清楚地读这哥们和格式代码实际你得到和你期待什么 – Prasad