1、LinkButton打开新窗口
<script type="text/javascript">
function openmessagewin(id) {
window.open ("filename.aspx?ID="+id, "Message", "height=400, width=800, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes, location=yes, status=yes")
}
</script>
.cs
LinkButton1.Attributes.Add("onclick", "openmessagewin(" + _id + ")");
本文来自:http://www.cnblogs.com/fanyipeng/archive/2009/06/16/1504273.html
<p id="p1"><a href="hello.htm" οnmοuseοver="this.old = this.innerHTML;this.innerHTML='welcome';" οnmοuseοut="this.innerHTML=this.old">Hello</a></p>
本文来自:http://topic.csdn.net/u/20110111/03/da7ae2a6-4acb-49f9-95d2-43da7c21a1d9.html