怎么样让光标移动到Datagrid中时变成小手形? 如题!谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 使用cssstyle="cursor:hand"DataGrid的ItemStyle有很多了。选择一个添加进取就是 DataGrid的ItemStyle有很多了。选择一个添加进取就是-----------怎么选?在哪添加? <script>var bColor='#ff3300'; //定义颜色,为单击时显示的颜色var fColor='#fafafa'; //定义颜色,为单击时字体所显示的颜色function tdOver(td){if(td.style.backgroundColor!=bColor)//当这一列的背景颜色不为以上定义的颜色时{td.setAttribute('DtBg',td.style.backgroundColor);//得到这列的背景颜色并且设置为DtBg<br> td.setAttribute('DtCo',td.style.color);//得到这列的字体颜色并且设置为DtCo<br><br> td.style.color='#ff66cc';//设置鼠标移上时列里的字体颜色为#ff99ff<br> td.style.cursor='hand';//设置鼠标的形状为手状<br> td.style.backgroundColor='#66cc66';//设置该列的背景颜色为#66cc66<br> } } function tdOut(td) { if(td.style.backgroundColor!=bColor)//当这一列的背景颜色不为以上定义的颜色时<br> { td.style.backgroundColor=td.getAttribute('DtBg');//设置该列的背景颜色为以上得到的颜色,即DtBg<br> td.style.color=td.getAttribute('DtCo');//设置该列的背景颜色为以上得到的颜色,即DtCo<br> } } </script> 指定的参数已超出有效值的范围。 急,在线等!大哥大姐帮帮忙呗! asp.net 模态窗口 清缓存 请教事务问题 B/S调用exe程序时怎样才能在界面显示exe出的错误,而且能在exe出错时保证关闭它? 求个正则表达式 要采集 哪位老大帮看看 现做一网站,要求格式非常严格,如文档中的符号必须全部为全角,文档页面必须左右对齐,求解决方案? 错在哪里了 datagrid控件 关于确认对话框,大家帮我看看。。 url重写问题! 急急急
style="cursor:hand"
DataGrid的ItemStyle有很多了。选择一个添加进取就是
怎么选?在哪添加?
var bColor='#ff3300'; //定义颜色,为单击时显示的颜色
var fColor='#fafafa'; //定义颜色,为单击时字体所显示的颜色
function tdOver(td)
{
if(td.style.backgroundColor!=bColor)//当这一列的背景颜色不为以上定义的颜色时
{
td.setAttribute('DtBg',td.style.backgroundColor);//得到这列的背景颜色并且设置为DtBg<br>
td.setAttribute('DtCo',td.style.color);//得到这列的字体颜色并且设置为DtCo<br><br>
td.style.color='#ff66cc';//设置鼠标移上时列里的字体颜色为#ff99ff<br>
td.style.cursor='hand';//设置鼠标的形状为手状<br>
td.style.backgroundColor='#66cc66';//设置该列的背景颜色为#66cc66<br>
}
} function tdOut(td)
{
if(td.style.backgroundColor!=bColor)//当这一列的背景颜色不为以上定义的颜色时<br>
{
td.style.backgroundColor=td.getAttribute('DtBg');//设置该列的背景颜色为以上得到的颜色,即DtBg<br>
td.style.color=td.getAttribute('DtCo');//设置该列的背景颜色为以上得到的颜色,即DtCo<br>
}
}
</script>