摘要: function scroll() { //alert(typeof document.getElementById('xx').style.height); document.getElementById('xx').style.height = document.documentElement.clientHeight+"px"; } window.onload = scroll; window.onresize = scroll;跟随浏览器的大小来调整xx元素的高度,在FF3.6和3.6SE,IE8中通过。转自:http://zyj72 阅读全文
posted @ 2011-03-04 17:34 流失的痕迹 阅读(15104) 评论(0) 推荐(0)
摘要: 数据量大了,必然导致性能降低,但是又没找到更好的方法----囧DECLARE @PageSiz INT, @CurPage INT SET @PageSiz = 10 SET @CurPage = 28 select top (@PageSiz) * from JS_ARTICLE where [GUID] not in(select top ((@CurPage-1)*@PageSiz) [GUID] from JS_ARTICLE where ArticleID not in (33,36,39) and ClassId='7f57a331-1e17-46ef-aaea-a6c0d 阅读全文
posted @ 2011-03-04 10:23 流失的痕迹 阅读(347) 评论(0) 推荐(0)