<SELECT name="links" onChange="window.location=document.form.links.options [document.form.links.selectedIndex].value">
<option value="list.jsp?pram=3" >市场部</option>
</select>
</form> </td>
</tr>
<tr>
<td height="1" width="1" bgcolor="d2d1d1"></td>
<td height="1" colspan="3" bgcolor="d2d1d1"></td>
</tr>
<tr>
<td height="10" width="1"></td>
<td height="10" colspan="3">
<iframe name="fr1" width=330 height=150 frameborder=0 scrolling=auto src=http://topic.csdn.net/t/20061124/14/"list.jsp"></iframe>
</td>
</tr>
</table>
点击“市场部”如何跳转到下面的iframe中,谢谢!
location 不能指定窗口,改用open,加上窗口就行了
例如:onChange="window.open(document.form.links.options [document.form.links.selectedIndex].value,fr1)
谢谢,解决了
晕了,里面的代 *** 太复杂了,我没怎么直接这个,能不能给个更好的方法?
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 指定 页面 菜单 实现 点击 如何 height td /tr name width |
注册
个人空间
