<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PageTalks &#187; imgDesc</title>
	<atom:link href="http://pagetalks.com/tag/imgdesc/feed" rel="self" type="application/rss+xml" />
	<link>http://pagetalks.com</link>
	<description>Pure Web Development &#38; Design Ideas</description>
	<lastBuildDate>Thu, 19 Jan 2012 12:06:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>slideView and imgDesc Plugins Updated</title>
		<link>http://pagetalks.com/2009/07/05/slideview-and-imgdesc-plugins-updated.html</link>
		<comments>http://pagetalks.com/2009/07/05/slideview-and-imgdesc-plugins-updated.html#comments</comments>
		<pubDate>Sun, 05 Jul 2009 08:47:00 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[imgDesc]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[slideview]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[user interfaces]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=276</guid>
		<description><![CDATA[A new version of slideView plugin and imgDesc plugin are avaliable now! See more detail in http://pagetalks.com/2009/03/09/jquery-slideview-plugin.html and http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html I Spent a whole day fixing bugs and bea... ]]></description>
			<content:encoded><![CDATA[<div lang="en" class="text-en">A new version of slideView plugin and imgDesc plugin are avaliable now!<br />
See more detail in <a href="http://pagetalks.com/2009/03/09/jquery-slideview-plugin.html">http://pagetalks.com/2009/03/09/jquery-slideview-plugin.html</a><br />
and <a href="http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html">http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html</a></p>
<p>I Spent a whole day fixing bugs and beautify the UI. They now works much better than the previous versions.</p>
<p>See a demo of slideView at <a href="http://pagetalks.com/share/slideView">http://pagetalks.com/share/slideView</a>;<br />
A demo of imgDesc is accessible in the original post.</p>
<p>Comments are welcome!</p></div>
<div lang="zh" class="text-cn">slideview插件的新版本出来了！到这里看更多信息：<a href="http://pagetalks.com/2009/03/09/jquery-slideview-plugin.html">http://pagetalks.com/2009/03/09/jquery-slideview-plugin.html</a> 以及 <a href="http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html">http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html</a></p>
<p>我花了一整天时间修补bug以及美化用户界面，这两个插件现在会看起来好很多。</p>
<p>SlideView的演示：<a href="http://pagetalks.com/share/slideView">http://pagetalks.com/share/slideView</a><br />
imgDesc的演示在上面的发布链接内<br />
欢迎大家留下意见！
</div>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2009/07/05/slideview-and-imgdesc-plugins-updated.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery imgDesc Plugin</title>
		<link>http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html</link>
		<comments>http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 03:25:09 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[imgDesc]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=73</guid>
		<description><![CDATA[描述 在开发PageTalks的时候顺便写了一个给图片加注释说明的插件。当然由于PageTalks的整个脚本都是基于jQuery的，所以这个插件也就是基于jQuery的了。先看一个演示吧： 需求 jQuery 脚本库, 你需... ]]></description>
			<content:encoded><![CDATA[<div lang="zh" class="text-cn">
<h3>描述</h3>
<p>在开发PageTalks的时候顺便写了一个给图片加注释说明的插件。当然由于PageTalks的整个脚本都是基于jQuery的，所以这个插件也就是基于jQuery的了。先看一个演示吧：<br />
<a href="http://pagetalks.com/wp-content/uploads/2008/08/imgdesc_0.gif"><img src="http://pagetalks.com/wp-content/uploads/2008/08/imgdesc_0.gif" alt="" title="A Picture Sample to showcase imgDesc Plugin" width="700" height="414" class="aligncenter size-full wp-image-74" /></a></p>
<h3>需求</h3>
<ul>
<li>jQuery 脚本库, 你需要自行到<a href="http://jquery.com/">jQuery</a>的官方站点下载该文件</li>
<li>imgDesc的脚本文件（废话……）</li>
<li>一点点JS和XHMTL的动手能力</li>
</ul>
<h3>功能</h3>
<p>该插件能够将IMG标签的Title属性自动当作图片说明,并放置到底部显示。如果IMG外面没有A标签，这个插件会将IMG包装成链接，并转移标签属性。插件目前支持如下选项，均为可选参数：</p>
<ul>
<li><strong>autohide</strong> 是否自动隐藏底部注释，如果选择&#8221;yes&#8221;则会隐藏注释，鼠标掠过时会渐现出来。默认是“yes”</li>
<li><strong>text</strong> 自定义注释文本，默认状态是IMG标签的Title属性值</li>
</ul>
</div>
<div lang="en" class="text-en">
<h3>Description</h3>
<p>This plugin is written with the develpment of PageTalks, accidently. As PageTalks is based on jQuery Libary, jQuery code is required. Let&#8217;s start with a demostration:<br />
<a href="http://pagetalks.com/wp-content/uploads/2008/08/imgdesc_0.gif"><img src="http://pagetalks.com/wp-content/uploads/2008/08/imgdesc_0.gif" alt="" title="A Picture Sample to showcase imgDesc Plugin" width="700" height="414" class="aligncenter size-full wp-image-74" /></a></p>
<h3>Requirements</h3>
<ul>
<li>jQuery Libary, just downlaod from<a href="http://jquery.com/">jQuery Offical Site</a></li>
<li>imgDesc script file（oops……）</li>
<li>a little knowledge on xhtml and js</li>
</ul>
<h3>Features</h3>
<p>This plugin will automatically take title attribute in IMG tag as the description of the image. If IMG is not wrapped by a Anchor tag, the plugin will wrap it with one. This plugin currently support two parameters, all of which are optional.</p>
<ul>
<li><strong>autohide</strong> if the plugin should automatically hide the description and show it when mouseover. Default &#8220;yes&#8221;</li>
<li><strong>text</strong> Customize the value of description. Default value is the title attribut of IMG tag</li>
</ul>
</div>
<p><span id="more-73"></span></p>
<div lang="zh" class="text-cn">
<h3>下载</h3>
Note: There is a file embedded within this post, please visit this post to download the file.<br />
Note: There is a file embedded within this post, please visit this post to download the file.
<h3>用法</h3>
<dl>
<dt>加载jQuery脚本库</dt>
<dd>你可以直接在&lt;head&gt;标签内部加入如下语句：</p>
<pre>&lt;script type="text/javascript" src="jquery..js"&gt;&lt;/script&gt;</pre>
</dd>
<dt>加载imgDesc插件</dt>
<dd>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;jquery.imgdesc.js&#8221;&gt;&lt;/script&gt;</dd>
<dt>指定对象</dt>
<dd>根据jQuery语法进行应用,应用默认样式：</p>
<pre>$("img").imgDesc();</pre>
<p>进行自定义样：</p>
<pre>$("img").imgDesc({autohide: "no"});</pre>
<p>在1.0.5中可用的新参数</p>
<dl>
<dt>autohide (boolean)</dt>
<dd>提示文本是否自动隐藏，默认是 true</dd>
<dt>source (String)</dt>
<dd>提示文本的来源，要求填写IMG标签的属性名，&#8221;title&#8221;或是&#8221;alt&#8221;，默认是title</dd>
<dt>minHeight (Integer) , minWidth (Integer)</dt>
<dd>插件会根据图片大小判断是否对其进行处理，如果图片尺寸小于有这两个值规定的尺寸，插件就不会生效，默认是 100,100</dd>
</dl>
</dd>
<dt>禁用imgDesc效果</dt>
<dd>你可以使用imgDescDel()方法:
<pre>jQuery("img").imgDescDel();</pre>
<p>或者，在IMG标签里面加入&#8221;rel=&#8217;noDesc&#8217;&#8221;
<pre>&lt;img src="sample.png" rel="noDesc" alt="" /&gt;</pre>
</dd>
</dl>
<h3>更新历史</h3>
<p>可以到 <a href="http://plugins.jquery.com/project/imgDesc">jQuery Plugin</a> 去获取详细的版本信息。</p>
<ul>
<li><strong>1.0.5</strong>参数有较大改动；修不了一些bug</li>
<li><strong>1.0.4</strong> 添加了一个额外方法imgDescDel()来删除imgDesc的效果；你可以添加&#8221;rel=noDesc&#8221;到IMG标签，以此来禁用这个图片的imgDesc效果</li>
<li><strong>1.0.2</strong> 修正了IE6下的一些问题</li>
<li><strong>1.0.0 </strong>初版发布!</li>
</ul>
</div>
<div lang="en" class="text-en">
<h3>Download</h3>
Note: There is a file embedded within this post, please visit this post to download the file.<br />
Note: There is a file embedded within this post, please visit this post to download the file.
<h3>Usage</h3>
<dl>
<dt>Load jQuery Libary</dt>
<dd>You can directly add the following code in &lt;head&gt; tag：</p>
<pre>&lt;script type="text/javascript" src="jquery..js"&gt;&lt;/script&gt;</pre>
</dd>
<dt>Load imgDesc Plugin</dt>
<dd>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;jquery.imgdesc.js&#8221;&gt;&lt;/script&gt;</dd>
<dt>Assing the target object </dt>
<dd>follow the jQuery code style：</p>
<pre>$("img").imgDesc();</pre>
<p>You can, of course , apply some change, customizing the way it show up and the value of description：</p>
<pre>$("img").imgDesc({autohide: "no"});</pre>
<p>Parameters Available in 1.0.5</p>
<dl>
<dt>autohide (boolean)</dt>
<dd>if the description will hide as the mouse move out of the image; default is ture</dd>
<dt>source (String)</dt>
<dd>where the description comes from, only two options availiable: &#8220;title&#8221;  and &#8220;alt&#8221;; default is &#8220;title&#8221;</dd>
<dt>minHeight (Integer) , minWidth (Integer)</dt>
<dd>the minimum height and width of the picture; if the height of a picture is smaller than this size, the plugin shall have no effect on it; default is 100 and 100</dd>
</dl>
</dd>
<dt>Disable imgDesc</dt>
<dd>You can use imgDescDel() method
<pre>jQuery("img").imgDescDel();</pre>
<p> or you can add &#8220;rel=&#8217;noDesc&#8217;&#8221; to target IMG Tags
<pre>&lt;img src="sample.png" rel="noDesc" alt="" /&gt;</pre>
</dd>
</dl>
<h3>Change Log</h3>
<p>You can always refer to <a href="http://plugins.jquery.com/project/imgDesc">jQuery Plugin</a> to trace the builds.</p>
<ul>
<li><strong>1.0.5</strong>Changes in parameters; fix some bugs</li>
<li><strong>1.0.4</strong> Extra method &#8211; imgDescDel() to disalbe imgDesc on some images; you can add &#8220;rel=noDesc&#8221; to IMG Tag to disable imgDesc on that image.</li>
<li><strong>1.0.2</strong> Fix a lot of problems in IE6</li>
<li><strong>1.0.0 </strong>First Edition</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/jquery-imgdesc-plugin.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
