`
阅读更多
CSDN 推荐tag:网页屏幕区域document
<script type="text/javascript">function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>

网页可见区域宽: document.body.clientWidth;
网页可见区域高: document.body.clientHeight;
网页可见区域宽: document.body.offsetWidth (包括边线的宽);
网页可见区域高: document.body.offsetHeight (包括边线的宽);
网页正文全文宽: document.body.scrollWidth;
网页正文全文高: document.body.scrollHeight;
网页被卷去的高: document.body.scrollTop;
网页被卷去的左: document.body.scrollLeft;
网页正文部分上: window.screenTop;
网页正文部分左: window.screenLeft;
屏幕分辨率的高: window.screen.height;
屏幕分辨率的宽: window.screen.width;
屏幕可用工作区高度: window.screen.availHeight;
屏幕可用工作区宽度:window.screen.availWidth;

dhtmlpos



Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=576674


<script src="http://localhost:82/PromoteIcon.aspx?id=576674" type="text/javascript"></script> [收藏到我的网摘] epbon发表于 2006年01月11日 22:19:00
<link href="http://blog.csdn.net/epbon/Services/Pingback.aspx" rel="pingback"> <!--<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:dc="http://purl.org/dc/elements/1.1/"xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"><rdf:Descriptionrdf:about="http://blog.csdn.net/epbon/archive/2006/01/11/576674.aspx"dc:identifier="http://blog.csdn.net/epbon/archive/2006/01/11/576674.aspx"dc:title="关于top、clientTop、scrollTop、offsetTop等"trackback:ping="http://tb.blog.csdn.net/TrackBack.aspx?PostId=576674" /></rdf:RDF>--><script type="text/javascript">function hide(){showComment();}</script>
相关文章:
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics