<?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>Dana Woodman &#187; announcement</title>
	<atom:link href="http://www.danawoodman.com/tag/announcement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danawoodman.com</link>
	<description>The online home of Dana Woodman.</description>
	<lastBuildDate>Tue, 31 Aug 2010 22:05:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing jquery-showhide</title>
		<link>http://www.danawoodman.com/2009/11/introducing-jquery-showhide/</link>
		<comments>http://www.danawoodman.com/2009/11/introducing-jquery-showhide/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 00:50:49 +0000</pubDate>
		<dc:creator>Dana Woodman</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.danawoodman.com/?p=45</guid>
		<description><![CDATA[

I have come into the need lately of solid show/hide plugin for jQuery and couldn&#8217;t find anything out there that suited my needs so I created on myself. Learn how to use it in this tutorial.



So I&#8217;ve created another jQuery plugin recently called jquery-showhide:

http://code.google.com/p/jquery-showhide/

Overview

jquery-showhide is a more robust &#8220;toggle&#8221; function that allows you to do [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danawoodman.com/2009/11/introducing-jquery-showhide/4433457340_b5ff39ae69_o/" rel="attachment wp-att-436"><img src="http://www.danawoodman.com/wp-content/uploads/2009/11/4433457340_b5ff39ae69_o.jpg" alt="Introducing jquery-showhide" title="Introducing jquery-showhide" width="610" height="220" class="alignnone size-full wp-image-436" /></a></p>

<p>I have come into the need lately of solid show/hide plugin for jQuery and couldn&#8217;t find anything out there that suited my needs so I created on myself. Learn how to use it in this tutorial.</p>

<p><span id="more-45"></span></p>

<p>So I&#8217;ve created another jQuery plugin recently called <strong>jquery-showhide</strong>:</p>

<p><a href="http://code.google.com/p/jquery-showhide/" target="_blank">http://code.google.com/p/jquery-showhide/</a></p>

<h3>Overview</h3>

<p>jquery-showhide is a more robust &#8220;toggle&#8221; function that allows you to do a few cool things that the default jQuery <code>.toggle()</code> function does not. Please check out the video below to see an example usage of the plugin:</p>

<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="558" height="442" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/FirstFrame.jpg&amp;containerwidth=558&amp;containerheight=442&amp;showbranding=false&amp;content=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/2009-08-11_1841.mp4" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/" /><param name="src" value="http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/jingh264player.swf" /><param name="flashvars" value="thumb=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/FirstFrame.jpg&amp;containerwidth=558&amp;containerheight=442&amp;showbranding=false&amp;content=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/2009-08-11_1841.mp4" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="558" height="442" src="http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/jingh264player.swf" base="http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/" allowscriptaccess="always" scale="showall" allowfullscreen="true" flashvars="thumb=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/FirstFrame.jpg&amp;containerwidth=558&amp;containerheight=442&amp;showbranding=false&amp;content=http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/2009-08-11_1841.mp4" bgcolor="#FFFFFF" quality="high"></embed></object></p>

<p>This video shows you what you can do with the plugin, including using the &#8220;autofocus&#8221; feature.</p>

<h3>Features</h3>

<p>First off, you can <strong>toggle the text of the toggle object</strong> to whatever you want. For example, if you have a hidden &#8220;categories&#8221; table, you can have the toggle link say &#8220;Show categories&#8221; and after it is clicked and the categories table is shown, you can have it say &#8220;Hide categories&#8221;.</p>

<p>Another useful thing is <strong>&#8220;autofocusing&#8221;</strong> which lets you define a field within your hidden object to autofocus when showing it. This is useful if you have a hidden form that you want a user to be able to type in as soon as it is visible, rather than having to click on the field manually. I&#8217;ve been using this on some personal projects and it really does make things much quicker.</p>

<p>Since jquery-showhide is completely &#8220;class&#8221; based (it uses classes to show/hide objects, rather than applying <code>style="dispaly: none"</code>/<code>style="display: block"</code>), it is a little more robust, especially if you would like to do more than just show/hide a field (such as changing it&#8217;s display or size).</p>

<h3>Using</h3>

<p>If you want to use the plugin, go to <a href="http://code.google.com/p/jquery-showhide/" target="_blank">http://code.google.com/p/jquery-showhide/</a> and download the latest release and view the demo/demo.html file to see how to use it. Also check out the notes on the Google Code page for more info.</p>

<p>I hope you enjoy the feature and if you need to get in touch with me or find a bug, please leave a comment or <a href="http://code.google.com/p/jquery-showhide/issues/list" target="_blank">submit a bug to Google Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danawoodman.com/2009/11/introducing-jquery-showhide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://content.screencast.com/users/woodman.dana/folders/Jing/media/69d3ee5c-ef5e-4901-a6fa-62dc41585d06/2009-08-11_1841.mp4" length="189150" type="video/mp4" />
		</item>
	</channel>
</rss>
