摘要: xml文件内容:View Code <?xml version="1.0" encoding="utf-8" ?><folder> <folderOne name="一级文件夹"> <folderTwo name="二级文件夹"> <folderThree name="三级文件加">哈哈你发现我了</folderThree> </folderTwo> </folderOne> <folderOn 阅读全文
posted @ 2013-04-06 16:16 海藻 阅读(380) 评论(0) 推荐(0) 编辑
摘要: ASPxGridView的增,删,改,查,数据绑定,外观显示,功能设定,分页一。ASPXGridView外观显示属性:Caption----列的标题(KeyFieldName----数据库字段SEOFriendly 是否启用搜索引擎优化Summary 指定分页汇总信息的格式Setting节点的ShowFilterRow=True设置快速查找功能SettingsBehavior.AllowFocusedRow=true 高亮选中的行,即选中行变色SettingsBehavior.AllDragDrop=false禁止拖动标题列头SettingsBehavior.AllowSort实现列头点击后是 阅读全文
posted @ 2013-04-01 13:16 海藻 阅读(835) 评论(0) 推荐(1) 编辑
摘要: 封装成静态方法,方便使用,代码如下:View Code /// <summary> /// 分页控件 /// </summary> /// <param name="pageSize">分页大小</param> /// <param name="currentPage">当前页</param> /// <param name="totalCount">总记录数</param> /// <returns></returns& 阅读全文
posted @ 2013-03-28 17:04 海藻 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 遮盖层插件代码:View Code //jquey绑定插件 $.fn.extend({ "showCover": function () { //创建透明层 $div = $("<div class='cover'></div>"); //设置div的高度、宽度 var width = $(window).width(); var height = $(window).height(); $div.css({ "width": width, "hei... 阅读全文
posted @ 2013-03-25 13:59 海藻 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 页面代码:<table> <tr><td><input type="text" id="txtPwd" /></td></tr> <tr><td> <table id="pwdLever"> <tr> <td>弱</td> <td>中</td> <td>强</td> </tr> </table> </td>&l 阅读全文
posted @ 2013-03-21 10:32 海藻 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 页面代码:View Code <body> <table id="rating"> <tr> <td>☆</td> <td>☆</td> <td>☆</td> <td>☆</td> <td>☆</td> <td id="score"></td> </tr> </table></body>js代码:View Code <script ty 阅读全文
posted @ 2013-03-18 18:39 海藻 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> //全选方 阅读全文
posted @ 2013-03-17 22:01 海藻 阅读(219) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> funct 阅读全文
posted @ 2013-03-15 17:08 海藻 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>当你孤单你会想起谁!</title> <script type="text/javascript" 阅读全文
posted @ 2013-03-15 12:33 海藻 阅读(137) 评论(0) 推荐(0) 编辑
摘要: if(!window.event){ document.getElementByid("btn1").addEventListener("onclick",function(){ alert(我是其他浏览器中添加的事件); }) }else{ document.getElementByid("btn1").attachEvent("click",function(){ alert(我是IE浏览器中添加的事件); } 阅读全文
posted @ 2013-03-15 02:02 海藻 阅读(146) 评论(0) 推荐(0) 编辑