<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>评论: [070520] 自用 Javascript 缩图函数 (onDOMLoaded)……</title>
	<link>http://www.quchao.com/entry/my-resizeimgs-func/</link>
	<description>とけいさか　いっこくかん　さんごうしつ</description>
	<pubDate>Tue, 07 Oct 2008 06:34:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>作者: 沙滩凉鞋</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-18097</link>
		<dc:creator>沙滩凉鞋</dc:creator>
		<pubDate>Tue, 11 Mar 2008 16:24:04 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-18097</guid>
		<description>to maohanben：
其实吧……
只要对着代码改改就能缩 height 了……
关键是你的要求是不是即可缩 width 又可以缩 height ……</description>
		<content:encoded><![CDATA[<p>to maohanben：<br />
其实吧……<br />
只要对着代码改改就能缩 height 了……<br />
关键是你的要求是不是即可缩 width 又可以缩 height ……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: maohanben</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-17961</link>
		<dc:creator>maohanben</dc:creator>
		<pubDate>Mon, 10 Mar 2008 17:03:19 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-17961</guid>
		<description>是不是可以改一下成长宽都能缩呢</description>
		<content:encoded><![CDATA[<p>是不是可以改一下成长宽都能缩呢</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: Kevin</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3583</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 25 May 2007 18:12:48 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3583</guid>
		<description>来学习的路过~</description>
		<content:encoded><![CDATA[<p>来学习的路过~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 沙滩凉鞋</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3446</link>
		<dc:creator>沙滩凉鞋</dc:creator>
		<pubDate>Tue, 22 May 2007 10:23:50 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3446</guid>
		<description>直接用 CSS 限制大小当然可以……
当图像小于那个大小就会被拉伸……
当然我们也可以用 css 的 expression 特性来解决……
但是 expression 的资源耗费的确比较大……

何况我的初衷是对某一个区块的所有图进行缩略……
并不用单独添加 resize 属性……
比如对 BLOG 的正文部分的图进行缩略判断……
而其它区块的图忽略……
所以当初才选择了遍历所有元素而没有选择 images 数组……

函数写出来本来也是给大家提供一种可能性……
毕竟方法不止一种嘛……</description>
		<content:encoded><![CDATA[<p>直接用 CSS 限制大小当然可以……<br />
当图像小于那个大小就会被拉伸……<br />
当然我们也可以用 css 的 expression 特性来解决……<br />
但是 expression 的资源耗费的确比较大……</p>
<p>何况我的初衷是对某一个区块的所有图进行缩略……<br />
并不用单独添加 resize 属性……<br />
比如对 BLOG 的正文部分的图进行缩略判断……<br />
而其它区块的图忽略……<br />
所以当初才选择了遍历所有元素而没有选择 images 数组……</p>
<p>函数写出来本来也是给大家提供一种可能性……<br />
毕竟方法不止一种嘛……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: norman</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3441</link>
		<dc:creator>norman</dc:creator>
		<pubDate>Tue, 22 May 2007 05:07:54 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3441</guid>
		<description>扼,我还有一事不明白...如果需要加resize=true的话,而且仅仅是用于RESIZE的话那么为什么不直接加个class 直接用CSS限制其大小,或者直接在服务器端出图时生成WIDTH.

当然如果需要扩充其它的客户端图片功能的话另当别论.</description>
		<content:encoded><![CDATA[<p>扼,我还有一事不明白&#8230;如果需要加resize=true的话,而且仅仅是用于RESIZE的话那么为什么不直接加个class 直接用CSS限制其大小,或者直接在服务器端出图时生成WIDTH.</p>
<p>当然如果需要扩充其它的客户端图片功能的话另当别论.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: Hoofei</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3409</link>
		<dc:creator>Hoofei</dc:creator>
		<pubDate>Sun, 20 May 2007 00:43:46 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3409</guid>
		<description>多谢大叔的辛勤劳动...哈哈...

再多谢大叔给偶写了个专用的... :-)</description>
		<content:encoded><![CDATA[<p>多谢大叔的辛勤劳动&#8230;哈哈&#8230;</p>
<p>再多谢大叔给偶写了个专用的&#8230; :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 沙滩凉鞋</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3395</link>
		<dc:creator>沙滩凉鞋</dc:creator>
		<pubDate>Fri, 18 May 2007 22:35:50 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3395</guid>
		<description>Dean's follow-up:
http://dean.edwards.name/weblog/2006/06/again/
仅为了缩图做这样的处理太浪费了……
所以过两天将我部落格的 js 优化下咯……</description>
		<content:encoded><![CDATA[<p>Dean&#8217;s follow-up:<br />
<a href="http://dean.edwards.name/weblog/2006/06/again/" rel="nofollow">http://dean.edwards.name/weblog/2006/06/again/</a><br />
仅为了缩图做这样的处理太浪费了……<br />
所以过两天将我部落格的 js 优化下咯……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: norman</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3385</link>
		<dc:creator>norman</dc:creator>
		<pubDate>Fri, 18 May 2007 08:04:12 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3385</guid>
		<description>扼,这里有篇文章...

http://dean.edwards.name/weblog/2005/02/order-of-events/
(认真看comments)

可能需要做一些crossbrowser的处理才好,</description>
		<content:encoded><![CDATA[<p>扼,这里有篇文章&#8230;</p>
<p><a href="http://dean.edwards.name/weblog/2005/02/order-of-events/" rel="nofollow">http://dean.edwards.name/weblog/2005/02/order-of-events/</a><br />
(认真看comments)</p>
<p>可能需要做一些crossbrowser的处理才好,</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 沙滩凉鞋</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3371</link>
		<dc:creator>沙滩凉鞋</dc:creator>
		<pubDate>Thu, 17 May 2007 12:07:24 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3371</guid>
		<description>………………
惭愧……
正是在下……</description>
		<content:encoded><![CDATA[<p>………………<br />
惭愧……<br />
正是在下……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: phpangel</title>
		<link>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3163</link>
		<dc:creator>phpangel</dc:creator>
		<pubDate>Thu, 17 May 2007 00:41:26 +0000</pubDate>
		<guid>http://www.quchao.com/entry/my-resizeimgs-func/#comment-3163</guid>
		<description>&lt;a href="http://www.chinahtml.com/management/4/2007/shatanliangxie117721055213000.shtml" target="_blank" rel="nofollow"&gt;这篇文章&lt;/a&gt;原来讲的是你啊！</description>
		<content:encoded><![CDATA[<p><a href="http://www.chinahtml.com/management/4/2007/shatanliangxie117721055213000.shtml" target="_blank" rel="nofollow">这篇文章</a>原来讲的是你啊！</p>
]]></content:encoded>
	</item>
</channel>
</rss>
