脚 本 之 家 www.jb51.net
页面导航:  不限条件-->两个
本地搜索:
第一次写的CSS树形菜单比较简单,只有二级目录,javascript代码总共不到十行,主要是靠CSS中的包含写法来实现的。演示地址:(1)http://www.cnlei.org/mycode/csstreemenu/index.html(2)http://cnlei.iecn.net/mycode/csstreemenu/index.html下载链接:(1)http://www.cnlei.org/mycode/csstreemenu/csstreemenu.rar(2)http://cnlei.iecn.net/mycode/csstreemenu/csstreemenu.rar在第一次写...
http://www.jb51.net//article/5473.htm
<div class="TxtBox"><iframe frameborder="0" scrolling="no" name="news1"  id="news1" onload="if(document.frames[’news1’].document.body.scrollHeight>document.frames[’news2’].document.body.scrollHeight) document.all.news1.height=document.frames[’news1...
http://www.jb51.net//article/4870.htm
Flash两个上传示例ASP和PHP(原文件下载,包括后台程序)[flash upload for asp] [down]http://www.jb51.net/downtools/flash_upload_for_asp.rar[/down][flash upload for php] [down]http://www.jb51.net/downtools/flash_upload_for_php.rar[/down]...
http://www.jb51.net//article/4171.htm
offsetWidth 包括边框的宽度  clientWidth 不包括[html]<table border="1" >  <tr>    <td onclick="alert(this.offsetWidth)">123123123</td>    <td  style="border:2px solid #ff0000 ...
http://www.jb51.net//article/3620.htm
《以vB代码实现的简单文字排版》原因:1.1.4版本中没有这些,而国内的比较著名的UBBHACK之家就增加了很多对于文字排版的UBB代码(vB代码)。优点:只需要几行,就可以实现,很简单。缺点:因为需要嵌套,所以如果用户写得不好的话,会影响帖子其它内容的样式,甚至殃及整个话题。自评:其实,这只是将更多的HTML代码以vB代码的形式来实现,为的让人从另一个角度去学习如何进行Web的文字排版而不用去学HTML,也为了安全。步骤:打开global.php,查找“functionbbcodeparse2($bbcode,$forumid=0,$allowsmilie=1){”,在[code]和其它HA...
http://www.jb51.net//article/2229.htm
<?php//文件名:date.inc.php3//在使用这两个函数前,要先将日期或日期时间转换成timestamp类型。//如://$today=mktime(0,0,0,date("m"),date("d"),date("Y"));/****模拟sqlserver中的dateadd函数*******$part类型:string取值范围:year,month,day,hour,min,sec表示:要增加的日期的哪个部分$n类型:数值表示:要增加多少,根据$part决定增加哪个部分可为负数$datetime类型:timestam...
http://www.jb51.net//article/2099.htm
<HTML><BODYBGCOLOR=FFFFFF>  <?php      echo"Connectingasmysql<BR>\n";      $connection1=mysql_connect('localhost','mysql','')ordie($php_errormsg);      echo"connect...
http://www.jb51.net//article/2050.htm
form.submit中控制。。。。<html><scriptlanguage=javascript>functiondosubmit(){         window.open('first.php?var1='+window.form.var1.value+'&var2='+window.form.var2.value);         window.open('second....
http://www.jb51.net//article/1964.htm
//在PHP中处理日期非常不方便,比如求两个日期之间相差的月份?该怎么办呢?   //文件名:date.inc.php3   //在使用这两个函数前,要先将日期或日期时间转换成timestamp类型。   //如:   //$today=mktime(0,0,0,date("m"),date("d"),date("Y"));   /****模拟sqlserver中的dateadd函数*******   $part 类型:string   取值范围:year,month,day,hour,min,sec  ...
http://www.jb51.net//article/1791.htm
Rem ## 长整数转换 Function toNum(s, default) If IsNumeric(s) and s <> "" then toNum = CLng(s) Else toNum = default End If End Function Rem ## SQL 语句转换 Function...
http://www.jb51.net//article/788.htm
一个FORM表单中有两个SUBMIT按钮(例如“修改”“删除”),只有一个ACTION处理页面在此ACTION页面中如何区分是处理“修改”呢还是处理“删除”? 方法1:假如FORM表单是这样的:<INPUT Type="Submit" Name="Action" value="修改"> <INPUT Type="Submit" Name="Action" value="删除"> 你可以在ASP中读取Request("Action")的值,如果用户选择“修改”,则这个变量是"修改"。...
http://www.jb51.net//article/589.htm
共有:52/10,当前5/6页  [首页] [上一页] 1 2 3 4 5 6 [下一页]  [尾页] 转到: