10 2010 档案

摘要:错误:SQL Server 检测到基于一致性的逻辑 I/O 错误 pageid 不正确执行以下命令:use master declare @databasename varchar(255) set @databasename='要恢复的数据库名称' exec sp_dboption @databasename, N'single', N'true' --将目标数据库置为单用户状态 dbcc ch... 阅读全文
posted @ 2010-10-26 10:31 Hellen.Li 阅读(350) 评论(1) 推荐(0)
摘要:checkbox没有readOnly属性,可以这样让它保持只读:设置它的onclick=‘’return false“js里就是 checkbox.onclick=function(){return false;}; 阅读全文
posted @ 2010-10-22 16:21 Hellen.Li 阅读(485) 评论(0) 推荐(0)
摘要:用Javascript获取指定页面元素的位置是一个非常常见的需求,本文介绍的函数能够准确返回一个元素相对于整个文档左上角的坐标,即元素的top、left的位置,而且能够兼容浏览器,相信对新手非常有用。function getElementPos(elementId) {var ua = navigator.userAgent.toLowerCase();var isOpera = (ua.inde... 阅读全文
posted @ 2010-10-21 13:39 Hellen.Li 阅读(515) 评论(0) 推荐(0)
摘要:<span style="border: 1px solid #666666; overflow: hidden;width:12px; height:12px"><input type="checkbox" name="checkbox" value="" style="position: absolute; margin: -5px" /></span> 阅读全文
posted @ 2010-10-21 10:41 Hellen.Li 阅读(483) 评论(0) 推荐(0)
摘要:<iframe id="mainFrame" src="searchaddr.asp" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0" onload="this.height=mainFrame.document.body.scrollHeight"></iframe> 阅读全文
posted @ 2010-10-21 10:02 Hellen.Li 阅读(168) 评论(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>... 阅读全文
posted @ 2010-10-20 10:49 Hellen.Li 阅读(1745) 评论(1) 推荐(0)
摘要:1、使右键和复制失效方法1:在网页中加入以下代码:<script language="Javascript">document.oncontextmenu=new Function("event.returnValue=false");document.onselectstart=new Function("event.returnValue=false");</script&g... 阅读全文
posted @ 2010-10-11 13:32 Hellen.Li 阅读(324) 评论(0) 推荐(0)