日期:2014-05-19  浏览次数:20512 次

这个GridView效果怎么做出来的?
http://faq.csdn.net/ListFAQ.aspx?bigid=52
这里面的GRIDVIEW的效果是怎么做出来的。当移动鼠标的时候,会产生拖影.

------解决方案--------------------
应当是在 protected void gvERP_RowDataBound事件中为 每一Row记录 HyperLinkField 列的 链接 添加 Tooltip的设置值 链接显示内容(未经测试)

------解决方案--------------------
后台文件生成HTML代码, <a> </a> 标记中title属性赋值
------解决方案--------------------
属于html范畴
------解决方案--------------------
老兄里面似乎没有什么希奇得效果吧◎
------解决方案--------------------
应当是用CSS与JavaScript实现的
------解决方案--------------------
前三个单元格的背景色各不相同;当移动到其它行时,因第一列用了不同的图片而造成页面刷新

ps:看到这个效果头晕,楼主觉得这个效果好?
------解决方案--------------------
用JavaScript

e.Item.Attributes[ "onmouseout "] = "javascript:this.style.backgroundColor= '#dedfde '; ";
e.Item.Attributes[ "onmouseover "] = "javascript:this.style.backgroundColor= '#fff7ce ';cursor= 'hand '; " ;
------解决方案--------------------
同意楼上几个说的。
应该是为每行增加onmouseover相应函数,改变css样式吧。
------解决方案--------------------
<script type= "text/javascript " src= "ui/scripts/jsframework.js "> </script>

<script type= "text/javascript "> /* <![CDATA[*/
Using( "System.Web.Forms.MzBehavior ");
window.attachEvent( "onload ", function()
{
var rows = document.getElementById( "FAQList ").rows;
for(var i=1; i <rows.length; i++)
new MzBehavior.Highlight(rows[i], {backgroundColor: "#E0E0E0 "});
});
/*]]> */ </script>

应该是用了这个东西
------解决方案--------------------
http://bbs.blueidea.com/thread-2735213-1-1.html