两位能不能举个例子说说怎么用id来控制?就用三个页面,其中一个是index.htm,另两个是a.htm和b.htm
解决方案 »
- JS中的onblur事件请教
- html元素遍历
- 麻烦帮忙
- 4行JS 代码实现就给分
- 写个自动给image对象赋值代码浏览器竟然崩溃了
- if (typeof(123)="number") {} ,这个判断语法哪错了,为何过不去呢?
- 如何在网页的flash上加程序响应?
- 求一个好用免费的 前台的 combobox
- 如果在页面上添加一个table元素,并且将这个table与某个事件关联起来?
- WebBrowser Control打印网页的问题
- 以下是表格重排各行的局部代码,俺很笨,实在看不懂中间的一段,画出了流程图也理解不了,恳请大虾用汉语解释其中带问号部分的算法。
- 不用正则表达式对键盘上输入的进行验证(只要数字。别的不让数进去)——————急
------------------------
... ... <td height="126" width="278">
<iframe border=0 frameborder=0 framespacing=0 height='100%' marginheight=0 marginwidth=0 name=new_date1 noResize scrolling=no src="c.htm" width='100%' vspale="0"></iframe></td>
<td width="27">
<table width="8" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td><img onMouseDown=movover();movstar(-8,2)
onMouseOut=movover()
onMouseOver="movstar(-1,20);new_date = new_date1;"
onMouseUp=movover();movstar(-1,20) height=11
src="images/up.jpg" width=11 border=0 alt=":::向上:::"></td>
</tr>
<tr>
<td height="84"> </td>
</tr>
<tr>
<td><img onfocus="theFrame = new_date1" src="images/down.jpg" onMouseDown=movover();movstar(8,2)
onMouseOut=movover()
onMouseOver="movstar(1,20);new_date = new_date1;"
onMouseUp=movover();movstar(1,20) width="11" height="11" alt=":::向下:::" border="0"></td>
</tr>
</table>
</td>
------------------------
... ...<td width="198" height="126"><table width="198" border="0" cellspacing="0" cellpadding="0" height="126" align="center">
<tr>
<td height="126" width="278"><iframe border=0 frameborder=0 framespacing=0 height='100%' marginheight=0 marginwidth=0 name=new_date2 noResize scrolling=no src="b.htm" width='100%' vspale="0"></iframe></td>
<td width="27">
<table width="8" border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td><img onMouseDown=movover();movstar(-8,2)
onMouseOut=movover()
onMouseOver="movstar(-1,20);new_date = new_date2;"
onMouseUp=movover();movstar(-1,20) height=11
src="images/up.jpg" width=11 border=0 alt=":::向上:::"></td>
</tr>
<tr>
<td height="84"> </td>
</tr>
<tr>
<td><img src="images/down.jpg" onMouseDown=movover();movstar(8,2)
onMouseOut=movover()
onMouseOver="movstar(1,20);new_date = new_date2;"
onMouseUp=movover();movstar(1,20) width="11" height="11" alt=":::向下:::" border="0"></td>
</tr>
</table></td>