众所周知IE6不支持position:fixed,这个bug与IE6的双倍margin和不支持PNG透明等bug一样臭名昭著。前些天遇到了这个问题。当时就简单的无视了IE6,但是对于大项目或商业网站,如果有用到这个属性的时候,是不可能直接无视的。涞水县梁以纸业如何让position:fixed在IE...
分类:
其他好文 时间:
2014-11-16 18:33:32
阅读次数:
246
rem 输入1.png,在当前文件下复制,0000.png--0002.png
rem 注:way2是不等待0001.png执行完就开始执行下一个了.
rem 如果要等待上一个执行完后,再往下顺弃执行的话.去掉代码中的start ""
rem 加上start"" 每复制一次都会弹出一个框,烦。。。
rem 运行时去掉双斜杠
//rem way1
//@echo ...
分类:
其他好文 时间:
2014-11-16 12:08:45
阅读次数:
133
常见消息提醒,类似于Chrome notification,易于使用,用户体验赞。// Simple$.sticky('hi, every body rock!');// Advantage$.sticky({ icon : 'img/greet.png', title ...
分类:
Web程序 时间:
2014-11-16 11:57:57
阅读次数:
205
WebP是谷歌的图片格式,java 类库imageio 是不支持此种格式的。目前除了在线转换以及工具以外,第三方类库转换webp格式大致有:
1.linux:Google libwebp 既是类库也可以在命令行调用
2.Python:Python Image Library(PIL)及其分支 https://pypi.python.org/pypi/PIL 不太了解
3.Java:luciad/webp-imageio https://bitbucket.org/luciad/webp-imagei...
分类:
编程语言 时间:
2014-11-15 18:57:42
阅读次数:
369
注:此功能依赖GD2图形库PHP生成缩略图类srcimg = $imgPath; $this->resize_width = $width; $this->resize_height = $height; $this->cut = $...
分类:
Web程序 时间:
2014-11-15 11:24:48
阅读次数:
299
path=$path; $this->files=$files; $this->seterror=1; $this->allowtype=array("jpg","gif","JPG","png","jpeg"); $this->filetype=array(); $this->filen...
分类:
Web程序 时间:
2014-11-14 21:06:55
阅读次数:
167
allowtype=Array("jpg","jpeg","gif","png","bmp"); $this->seterror=1; $this->path=$path; $this->docnewname=array(); $this->doctype=array(); $this->...
分类:
Web程序 时间:
2014-11-14 20:56:45
阅读次数:
166
path=$path;$this->files=$files;$this->seterror=1;$this->allowtype=array("jpg","gif","JPG","png");$this->filetype=array();$this->filenewname=array();if...
分类:
Web程序 时间:
2014-11-14 20:53:31
阅读次数:
184
“常见”:此处指BMP JPEG GIF PNG 四种。软件:Windows 画图(除了Photoshop,我最喜欢的编辑器,简单粗暴)HxDBMPBMP文件分为4部分:bmp文件头(bmpfileheader):14Byte。提供文件的格式、大小等信息。位图信息头(bitmapinformatio...
分类:
其他好文 时间:
2014-11-14 19:16:55
阅读次数:
260
基本上在Mac Appstore里面都有,很多是免费的。因为某种原因要重装Mac系统(这么多年来首次重装Mac系统),特意整理了下备忘。1.AppIcon:可以瞬间把图片转换为应用所需要的Icon(Icon-72.png,Icon-72@2x.png,......iTunesArtwork@2x)2...
分类:
移动开发 时间:
2014-11-14 17:34:35
阅读次数:
228