- 博客(13)
- 收藏
- 关注
原创 nicEdit 中图片上传,和上传进度条的显示
/* NicEdit - Micro Inline WYSIWYG * Copyright 2007-2008 Brian Kirchoff * * NicEdit is distributed under the terms of the MIT license * For more information visit http://nicedit.com/ * Do not remove th
2008-12-17 21:02:00
3980
1
原创 NicEdit
/* NicEdit - Micro Inline WYSIWYG * Copyright 2007-2008 Brian Kirchoff * * NicEdit is distributed under the terms of the MIT license * For more information visit http://nicedit.com/ * Do not remove th
2008-12-13 18:56:00
2757
原创 相册js
.photopagelist{ width:83px; border-width:20px 1px; border-color:#ccc; border-style:solid;}.prepage{ width:83px; height:20px; *width:83px; border:1px solid #ccc; border-width
2008-12-12 16:07:00
851
转载 CSS Hack 汇总快查
转载连接 http://andymao.com/andy/post/76.html 屏蔽IE浏览器(也就是IE下不显示) *:lang(zh) select {font:12px !important;} /*FF,OP可见,特别提醒:由于Opera最近的升级,目前此句只为FF所识别*/ select:empty {
2008-12-11 15:46:00
355
原创 smarty modifier.truncate.php 汉字截取修改
/** * Smarty truncate modifier plugin * * Type: modifier * Name: truncate * Purpose: Truncate a string to a certain length if necessary, * optionally splitting in the middle of a w
2008-12-11 14:49:00
1071
原创 div 高度自适应 和其他一些技巧
html也要设置100% ,对后面的div可能会有影响html,body{height:100%;margin:0;}设置 div为绝对定位. style="width:500px; height:100%!important; background:#003333; position:absolute;"./#/需要自动高度的地方{min-height:500px;height:auto
2008-12-08 09:39:00
570
转载 图片等比例缩放
1.var showImgSize = function(imgsize,areasize,obj) { var new_w = new_h = 0; var img = new Image(); img.src = $(obj).attr(src); if(img.width>0) { ori_w = img.width; ori_h =
2008-12-06 15:10:00
1255
原创 如何在网页设计IE与Firefox的CSS兼容?
1.DOCTYPE 影响 CSS 处理 2.FF: div 设置 margin-left, margin-right 为 auto 时已经居中, IE 不行 3.FF: body 设置 text-align 时, div 需要设置 margin: auto(主要是 margin-left,margin-right) 方可居中 4.FF: 设置 padding 后, div 会增加 he
2008-12-05 00:28:00
407
原创 学习div float 在ff和ie下的布局区别
作者:miyiyi[at]gmail[点]com来源:http://www.blabla.cn/html_ref/firefox_ie_diff01.html时间:2006-12-20基本HTML代码 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Div Float Samplediv { margin:3px; }.d
2008-12-05 00:00:00
1550
原创 thickbox 的修改和添加的应用
/* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opensource.org/licenses/mit-
2008-12-04 23:34:00
1763
转载 css ie中最小(最大)高度(宽度) 的处理方法
最小宽度:min-width:800px;width:expression(document.body.clientWidth 800? "800px": "auto" ); 最小高度:min-height:300px;overflow:hidden;height:expression(this.scrollHeight 300? "300px" : "auto" ); 最大高度:max-
2008-12-04 23:08:00
1693
原创 select 的jquery 菜单联动
修改自* 作者:天天无用* http://blog.csdn.net/luq885/archive/2007/07/31/1719538.aspx* blog: http://blog.csdn.net/luq885var text;var value;var type;var selected;var keep;jQuery.fn.FillOptions = function(url,optio
2008-11-19 19:56:00
1962
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人