![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网页开发
wsepr
这个作者很懒,什么都没留下…
展开
-
各大门户网站流行的菜单表格
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>meta http-equiv="Content-Type" c原创 2008-02-26 13:30:00 · 843 阅读 · 0 评论 -
execCommand命令
语法:bSuccess = object . execCommand ( sCommand , bUserInterface , vValue ) 参数:sCommand : 必选项。字符串(String)。要被执行的命令。其可以是任何正确的命令标识符( Command Identifier )。 bUserInterface : 可选项。布尔值(Boolean)。false | true转载 2008-03-13 17:24:00 · 415 阅读 · 0 评论 -
ShowModalDialog详解
ShowModalDialog函数的功能:打开一个子窗口,并且可与父窗口相互传递数据,它与window.open的最大区别就在于由ShowModalDialog打开子窗口后,父窗口将不能操作。使用方法:vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])参数说明:sURL必选参数,类型:字符串。用来指定对话转载 2008-03-13 17:26:00 · 332 阅读 · 0 评论 -
ExtJS2的继承
版本Ext2.02提供了一个extend函数实现继承,该函数会将父类的prototype里的所有字段和方法复制到子类的prototype里,重定义的字段或方法会override父类的同名方法。今天要扩展HtmlEditor类,但不知怎样才能调用父类的方法,由于刚接触Ext2,研究了很久才想到下面的方法。比如: Ext.A = function() ......{ this.s1原创 2008-03-18 10:11:00 · 626 阅读 · 0 评论 -
Javascript静态类
近来学习ExtJS2,学到不少东西,其用到的静态类是这样写的: B = function() { var s = "aaaaa"; return { sayhello : function() { alert(s); } }}();B.sayhello();原创 2008-03-17 13:16:00 · 512 阅读 · 0 评论 -
jQuery的find和filter
<br /> <br />昨天写了一段程序,用jQuery从服务器获取整个页面的html,然后这样查找一个table<br />jQuery(html).find('#userList').length; <br />但奇怪的是结果总是0,百思不得其解,再试<br />jQuery(html).filter('#userList').length; <br />居然可以了。难道解析整个页面的html后不能find后代元素?<br />原创 2010-09-27 09:33:00 · 353 阅读 · 0 评论 -
php中获取contextpath
php中获取contextpath原创 2010-10-11 10:41:00 · 1687 阅读 · 0 评论 -
kindEditor浏览服务器图片
<br /><?phprequire_once 'JSON.php'; $php_path = dirname(__FILE__) . '/';//D:/my_document/phptest/admin/upload$php_url = dirname($_SERVER['PHP_SELF']) . '/';//根目录路径,可以指定绝对路径,比如 /var/www/attached/$root_path = $php_path . '../../res/image/upload/'原创 2010-10-11 11:39:00 · 867 阅读 · 1 评论