09 2012 档案
摘要:html代码: <div id="nav_content"> <ul> <li id="default"><a href="default.html">首页</a></li> <li><a href="saleCar.html">我要卖车</a></li> <li...
阅读全文
摘要:public string formatDataStr(string objstring) { if (objstring == "" || objstring == null || objstring == ".") { return ""; } ...
阅读全文
摘要:1.在前台标签里加 runat=“server” 2.前台加<%=str%> 后台定义str,给str赋值
阅读全文
摘要:<asp:DataPager ID="dpActivity" runat="server" PagedControlID="lvclass" PageSize="30"> <Fields> <asp:NextPreviousPagerField ButtonType=Link ShowFirstPage...
阅读全文
摘要:vertical-align属性与数值。见下面的表: 在表格中可以使用:vertical-align:top;让标题顶格显示; vertical-align:bottom;底格显示;
阅读全文
摘要:1.window.parent2.autocomplete="off"3.function DX(n) { //金额大写转换函数 if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)) return "数据非法"; var unit = "千百拾亿千百拾万千百拾元角分", str = ""; n += "00"; var p = n.indexOf('.'); if (p >= 0) n = n.substring(0, p) + n.substr(p
阅读全文
摘要:1.css代码:html,body{height:100%;} //考虑到内容很少时,body无法布满整个网页#vip_div { position:absolute; top:0; left:0; width:100%; display:none; z-index:20; background-color: #C0C0C0; opacity:0.6; filter:alpha(opacity=60); }2.js代码:function change(){document.getElementById("vip_div").style.height = document.d
阅读全文
摘要:网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offsetHeight (包括边线的高)网页正文全文宽: document.body.scrollWidth网页正文全文高: document.body.scrollHeight网页被卷去的高: document.body.scrollTop网页被卷去的左: document.body.scrollLeft网页正文部分上: w
阅读全文