随笔分类 - JQ&JS
摘要:$(document).ready(function(){$(“#scrollDiv”).textSlider({line:4,speed:500,timer:3000});}); line:滚动几行;speed:滚动速度;timer:自动滚动间隔;演示地址:http://www.css88.com/demo/textSlider/textSlider.html下载地址:http://www.cs...
阅读全文
摘要:<asp:Button ID="buttonSelect" runat="server" Text="button"/> 目前已知办法: 1、可通过位置方式获取: $("input[type=submit]").eq(第几个位置); 2、可通过控件ID获取: $("[id$=buttonSelect]"); 3、可通过DOM节点方式获取
阅读全文
摘要:<iframe id="frmleft" name="frmleft" frameborder="0" onload="this.height=frmleft.document.body.scrollHeight"></iframe>
阅读全文
摘要:<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><script type="text/javascript"> function countDown(secs,surl){ var jumpTo = document.getElementById('jumpTo'); jumpTo.innerHTML=secs; if
阅读全文
摘要:关于clientHeight、offsetHeight、scrollHeight 属性:属性关于clientHeight、offsetHeight、scrollHeight window.screen.availWidth 返回当前屏幕宽度(空白空间) window.screen.availHeight 返回当前屏幕高度(空白空间) window.screen.width 返回当前屏幕宽度(分辨率值) window.screen.height 返回当前屏幕高度(分辨率值) window.document.body.offsetHe...
阅读全文

浙公网安备 33010602011771号