摘要: 一、分享到QQ空间:(1)、<script type="text/javascript">(function(){var p = {url:location.href,desc:'',/*默认分享理由(可选)*/summary:'',/*摘要(可选)*/title:'',/*分享标题(可选)*/site:'',/*分享来源 如:腾讯网(可选)*/pics:'' /*分享图片的路径(可选)*/};var s = [];for(var i in p){s.push(i + '=& 阅读全文
posted @ 2011-06-16 10:24 Silence-01 阅读(640) 评论(0) 推荐(0) 编辑
摘要: <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=274556732&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:274556732:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a><a target="_blank&q 阅读全文
posted @ 2011-06-16 10:12 Silence-01 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">function openwindow(url,name,iWidth,iHeight){var url; //转向网页的地址;var name; //网页名称,可为空;var iWidth; //弹出窗口的宽度;var iHeight; //弹出窗口的高度;var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置;var iLeft = (window.screen.availWidth-10-iWidth)/2; //获得窗口 阅读全文
posted @ 2011-06-14 23:49 Silence-01 阅读(3546) 评论(0) 推荐(0) 编辑
摘要: JavaScript打开窗口函数(Window.Open)使用详解一、Location对象的使用简介location对象:location提供了关于当前打开窗口或者特定框架的url信息。一个多框架的窗口对象在location属性显示的是父窗口的URL,每个框架也有一个与之相伴的location对象。 hash属性:hash标注是一个url很好的习惯用法,它指定浏览器到一个位于文档中的anchor位置,相当于一个书签儿。host属性:描述渔歌url的主机名和端口,只有端口号是url的一个明确部分时,值中才包括端口号。hostname属性:一个典型的url的主机名是网络上服务器的名字,该网络存储有 阅读全文
posted @ 2011-06-14 22:54 Silence-01 阅读(827) 评论(0) 推荐(0) 编辑
摘要: <link rel="icon" href="/favicon.ico" type="image/x-icon" /> 阅读全文
posted @ 2011-06-04 10:55 Silence-01 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <!--内容 开始--><iframe src="http://api.51ditu.com/iframe/newmapwindow.html?city=zg&theme=gray&ettopic=placelist&showetd=1&showtools=0&showsmc=1&showovm=0&id=csz83" width="100%" height="410" SCROLLING="no" frameborder="0&q 阅读全文
posted @ 2011-05-31 11:56 Silence-01 阅读(124) 评论(0) 推荐(0) 编辑
摘要: <script language="JavaScript"> <!-- javascript :window.history.forward(1); //--> </script> 阅读全文
posted @ 2011-05-31 00:13 Silence-01 阅读(112) 评论(0) 推荐(0) 编辑
摘要: exec spPage @pageSize=13,@pageIndex=4if object_id('spPage')is not null drop proc spPagegoCREATE PROCEDURE spPage(@pageSize int, ----每页显示的记录个数@pageIndex int ----要显示哪一页的记录)ASDECLARE @Counts INTDECLARE @pageUp INT DECLARE @pageDown INT--获得总记录数select @Counts=rows from sysindexes where id = objec 阅读全文
posted @ 2011-05-26 16:31 Silence-01 阅读(102) 评论(0) 推荐(0) 编辑
摘要: <input type ="button" value ="OK" onclick="btn('text')" /> <br /> <input type ="text" id="text"/>----------------------------------------------------------------var xmlhttp;function loadXMLDoc() { if (window.XMLHttpRequest) 阅读全文
posted @ 2011-05-26 10:03 Silence-01 阅读(179) 评论(0) 推荐(0) 编辑
摘要: obj表示:<div id="obj"></div>function input(obj) { var img = document.createElement("img"); img.src = "11.gif"; img.id = "img1"; var btn = document.createElement("input"); btn.type = "button"; btn.value = "click"; btn.onc 阅读全文
posted @ 2011-05-26 09:53 Silence-01 阅读(163) 评论(0) 推荐(0) 编辑