脚 本 之 家 www.jb51.net
页面导航:  不限条件-->简化
本地搜索:
[code]String.prototype.replaceAll=function(s1,s2){ returnthis.replace(newRegExp(s1,"gm"),s2); };(function($){ /* *$-layer0.1-NewWaveJavascript * *Copyright(c)2008KingWong *$Date:2008-10-09$*/var___id___="";var___settings___={};varisMouseDown=false;varcurrentElement...
http://www.jb51.net//article/16192.htm
[code]String.prototype.replaceAll=function(s1,s2){returnthis.replace(newRegExp(s1,"gm"),s2);};(function($){/**$-layer0.1-NewWaveJavascript**Copyright(c)2008KingWong*$Date:2008-10-09$*/var___id___="";var___settings___={};varisMouseDown=false;varcurrentElement=null;vardropCallbacks={};vardragCallbacks...
http://www.jb51.net//article/16114.htm
/// <summary>/// 获取querystring/// </summary>/// <param name="s">参数名</param>/// <returns>返回值</returns>public string q(string s){    if (Request.QueryString[s] != null)   ...
http://www.jb51.net//article/14400.htm
 a=alert;w=document.writeln  [html]<script> A=alert,w=document.writeln w('<center>'+'Hello Well You!'.fontcolor('red')+'</center>') A('A is short for alert') </script> [/html]   ...
http://www.jb51.net//article/13606.htm
with(),,,; with(document)write(fileSize),write('<br>'+lastModified)  [html]<script> with(document)write(fileSize) ,write('<br>'+lastModified) ,write('<br>'+location) ,write('<br>'+protocol) ,write('<br>'+location.host) ...
http://www.jb51.net//article/13600.htm
[html]<SCRIPT>a=0if(a<1)alert(a),alert(1-a)//VSif(a==0){alert(a);alert(1-a)}</SCRIPT>[/html][html]<SCRIPT>a=0a?0:(alert(a),alert(1-a))</SCRIPT>[/html]还可以这样写  [html]<SCRIPT> a=0 a==0 && (alert(a),alert(1-a)) </SCRIPT>&n...
http://www.jb51.net//article/13599.htm
       很多时候,我们总是按照行的方式访问文本文件,使用foreach语句能够极大地简化访问逻辑:例如: foreach (string line in new LineReader(”c:\abc.txt”))   Console.WriteLine(line); 完整代码如下: using System; using System.IO; using Sys...
http://www.jb51.net//article/9736.htm
本着自由共享的精神,把代码帖出来,同时大家也可以一起来测试以及添加新功能,请大家根据网友提出的问题,把自己修改好的版本都帖出来跟在下面,最后作为一款比较全面的表格软件。Chgrid的简单功能介绍:1:支持自定义排序2:支持列宽度的拖放3:支持自定义函数4:支持分页5:支持自动编号6:多浏览器支持,支持ie6,ie7,ff,opera7:div布局已知问题:1:由于使用的div布局,如果使用margin或者padding会改变定义的列宽度,所以目前文字只能居中或者靠左或靠右,不能使用padding控制位置目前解决办法是可以在每个div里面再附加一个div,用这个div的margin属性来控制其位...
http://www.jb51.net//article/9254.htm
ASP 技巧一则之 简化创建关闭记录集对象并创建使用简单的MSSQL存储过程 By shawl.qiu  1. 建造 创建关闭记录集函数2. 在MSSQL查询分析器中创建简单的MSSQL存储过程3. 在ASP中应用步骤1,2shawl.qiu2006-8-26 http://blog.csdn.net/btbtd1. 建造 创建关闭记录集函数linenum function createRs(rs)    ...
http://www.jb51.net//article/7592.htm
php的ming库用来生成flash!虽然模块是试验性质的,不过比较有趣。一张大大的表,很有趣,给人一种在8g的感觉。sapi/php4activescript.dll(php5activescript.dll)-ActiveScriptengine,allowingyoutoembedPHPinyourWindowsapplications.sapi/php4apache.dll(php5apache.dll)-Apache1.3.xmodule.sapi/php4apache2.dll(php5apache2.dll)-Apache2.0.xmodule.sapi/php4isapi.dl...
http://www.jb51.net//article/5827.htm
   在LINUX中,有很多常用的命令,常用的命令我们可以熟练的记忆,但是对于不经常使用的命令恐怕是需要翻阅手册了,但是我们可以简化这些命令的输入来达到简便记忆的效果。   这里以BSH为例:  编辑/etc/bashrc这个文件(所有使用这个SHELL的用户都可以享受到便利,如果没有ROOT权限,则编辑你自己目录下的.bashrc文件,区别在于只有你自己可以使用下面定义的别名)  在最后加入这一段:  aliasl="ls--color-l"  aliaslm="ls--color-l|more"  aliasla="ls--col...
http://www.jb51.net//article/3523.htm
共有:13/10,当前1/2页  [首页] [上一页] 1 2 [下一页]  [尾页] 转到: