<?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>Sunils blog &#187; expand</title>
	<atom:link href="http://www.myhtmlworld.com/tag/expand/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myhtmlworld.com</link>
	<description>myhtmlworld.com</description>
	<lastBuildDate>Mon, 14 Nov 2011 09:27:19 +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>Collapsing and expanding footer using JQuery</title>
		<link>http://www.myhtmlworld.com/web-development/collapsing-expanding-footer.html</link>
		<comments>http://www.myhtmlworld.com/web-development/collapsing-expanding-footer.html#comments</comments>
		<pubDate>Thu, 24 Sep 2009 03:15:43 +0000</pubDate>
		<dc:creator>Sunil</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[collapse]]></category>
		<category><![CDATA[expand]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.myhtmlworld.com/?p=451</guid>
		<description><![CDATA[Footer concept changing day by day. Web2 footer is big and lot of links and information carrying on that. Here you can see different types of footers. Today I am going to discuss about collapsing and expanding footers. Most of the site doesn&#8217;t have collapsing and expanding footer. But It would be nice if you [...]]]></description>
			<content:encoded><![CDATA[<p>Footer concept changing day by day. Web2 footer is big and lot of links and information carrying on that. <a rel="external nofollow" href="http://tutorialblog.org/web-design-elements-footers/" target="_blank">Here</a> you can see different types of footers.</p>
<p>Today I am going to discuss about collapsing and expanding footers. Most of the site doesn&#8217;t have collapsing and expanding footer. But It would be nice if you have one like that. Because it is easy for the user. If he wants to see that he can otherwise not. It avoids the unnecessary scroll.</p>
<p><span id="more-451"></span></p>
<p><a rel="nofollow" href="/wp-content/sources/collapse/" target="_blank">Demo</a></p>
<p><a href="/wp-content/uploads/2009/09/collapse-expand.zip">Source</a></p>
<p>Here is some code snippet that you can try for your site. It uses Jquery as javascript framework. <a rel="external nofollow" href="http://docs.jquery.com/Downloading_jQuery" target="_blank">Download jquery</a> from here. It is very easy to integrate.</p>
<p>First I am creating one HTML file. I showed here  between  to tag only.</p>
<pre lang="HTML">
<div id="footer">
<div id="mainfooter">
<a id="toggle-button" href="javascript:void(0)">Toggle footer</a></div>
<div id="subfooter">

links are going here</div>
</div>
</pre>
<p>In the main footer div I added a link named toggle button. This is our action link.</p>
<p>Now we need to include jquery in the header.</p>
<p>You can simply include like this inside the  of your html</p>
<pre lang="Javascript"><script src="jquery.js" type="'text/javascript'"></script></pre>
<p>If you have doubt please <a href="/web-development/different-ways-to-include-jquery-in-your-website.html">check different ways to include Jquery?</a></p>
<p>Now our simple javascript to do the functionality. Just paste this after the inclusion of jquery</p>
<pre lang="Javascript"><script type="text/javascript"></script></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.myhtmlworld.com/web-development/collapsing-expanding-footer.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

