社区
JavaScript
帖子详情
几个简单的问题,请大家帮忙
dancer
2004-10-08 08:17:07
1.如何使得鼠标移到table上时变成手型?
2.如何使点击table上某一行的tr的bgcolor变为蓝色,字变为白色,其他行不变
3.如何得到点击的是哪一行?(rows返回的是什么?),如何取得数据?
4.一个页面里有两个htm,如果在左边的htm的按钮控制右边htm的table?(例如删除一行)
5.打开一个新窗口,选择行后如何将此行的数据返回给原先的窗口?(用户名,用户id)
谢谢大家,分不够我加,很急,多谢了
...全文
109
7
打赏
收藏
几个简单的问题,请大家帮忙
1.如何使得鼠标移到table上时变成手型? 2.如何使点击table上某一行的tr的bgcolor变为蓝色,字变为白色,其他行不变 3.如何得到点击的是哪一行?(rows返回的是什么?),如何取得数据? 4.一个页面里有两个htm,如果在左边的htm的按钮控制右边htm的table?(例如删除一行) 5.打开一个新窗口,选择行后如何将此行的数据返回给原先的窗口?(用户名,用户id) 谢谢大家,分不够我加,很急,多谢了
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
7 条
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
打赏红包
Amely
2004-10-08
打赏
举报
回复
<style type=text/css>
.font1{color:FF0000;}
.font2{color:FFFF00;}
</style>
<table onmouseover="this.cursor:hand;" onmouseout="this.cursor:;">
<tr onmouseover="this.bgcolor:#cccccc;this.style:font1;" onmouseout="this.bgcolor:#ffffff;this.style:font2;"><td>看看变化情况</td></tr>
</table>
caojinrong
2004-10-08
打赏
举报
回复
来晚了
笨笨兔兔兔兔兔
2004-10-08
打赏
举报
回复
5.window.opener.form1.text1.value
笨笨兔兔兔兔兔
2004-10-08
打赏
举报
回复
第四个简单window.frame[2].tabel1.row[i].rowRemove
笨笨兔兔兔兔兔
2004-10-08
打赏
举报
回复
this.style.cursor='hand'变为手型,晕这是那天我没写的东东
guoweidong
2004-10-08
打赏
举报
回复
先给你几个.其它的暂时没时间.我还有点事件要做完.
<table width="100%" border="1">
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
<tr>
<td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';" onClick="alert(this.innerHTML)"> </td>
</tr>
</table>
是是非非
2004-10-08
打赏
举报
回复
1、<table style="cursor:hand">
2、省略
3、window.event.srcElement.rowIndex
4、top.frames['frmRight'].tableName.style.backgroundColor='black';
5、如果用showModalDialog打开的窗口就狠简单,直接设置window.returnValue就可以返回了
相关推荐
面向对象设计的
几个
课件
简单
的
几个
课件,希望对大家的学习会有所帮助,如果有些不足,
请
大家见谅
简单
的网页编辑器
【基本介绍】 这个软件真的太强大了,限制了
几个
功能,
请
大家不要介意.
jquery
简单
效果源代码
几个
自己 整合了一下的 jquery
简单
效果源代码,嗯,很
简单
的,
请
大家多多指教
谁能帮我一个忙?
我来这个网站是别人给我推荐的,这里的高手一定不少,我有
几个
对高手来说是很白痴的
问题
,不知道去哪里问,好怕高手懒得回答我这个技术含量低的
问题
,.......郁闷ing 我在这里问问吧,不管你是不是高手,
请
大家看看我的
问题
吧,谢谢了!!我想找一个
简单
的图闻系统,想自己试着改改做做,但是我就是找不到,不知道那个好心的人能帮我这个忙?还有就是一个白痴...
Hibernate
几个
常见错误解决方式
Hibernate
几个
常见错误解决方式,非常实用的文档,
请
大家好好收藏,有什么
问题
大家一起交流。
发帖
JavaScript
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
8.7w+
社区成员
22.4w+
社区内容
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2004-10-08 08:17
社区公告
暂无公告