<?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>Ryan Kanno: The diary of an Enginerd in Hawaii&#187; Javascript</title>
	<atom:link href="http://blog.localkinegrinds.com/category/technology/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.localkinegrinds.com</link>
	<description>Everything you&#039;ve ever thought, but never had the balls to say.</description>
	<lastBuildDate>Sat, 03 Sep 2011 13:19:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Update: footerStickAlt w/ jQuery &amp; Yahoo! UI Grids</title>
		<link>http://blog.localkinegrinds.com/2007/12/13/update-footerstickalt-w-jquery-yahoo-ui-grids/</link>
		<comments>http://blog.localkinegrinds.com/2007/12/13/update-footerstickalt-w-jquery-yahoo-ui-grids/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 10:29:11 +0000</pubDate>
		<dc:creator>ryankanno</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[footerStickAlt]]></category>
		<category><![CDATA[grids]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[yahoo!-ui]]></category>

		<guid isPermaLink="false">http://blog.localkinegrinds.com/2007/12/13/update-footerstickalt-w-jquery-yahoo-ui-grids/</guid>
		<description><![CDATA[Update : December 9, 2008 If you&#8217;re using jQuery 1.2.6, there is an updated version of the footerStickAlt javascript within the comments below. Thanks Luca! A few months ago, I wrote a blog about implementing footerStickAlt using jQuery &#038; Yahoo! UI Grids. Fast forward to the present and I have a small update to post. [...]]]></description>
			<content:encoded><![CDATA[<h3>Update : December 9, 2008</h3>
<p>If you&#8217;re using <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js&#038;downloadBtn=">jQuery 1.2.6</a>, there is an updated version of the footerStickAlt javascript within the comments below.  Thanks Luca! <img src='http://blog.localkinegrinds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>
A few months ago, I <a href="http://blog.localkinegrinds.com/2007/06/30/yahoo-ui-grids-footerstickalt-w-jquery-goodness/">wrote a blog</a> about implementing <a href="http://www.themaninblue.com/experiment/footerStickAlt/">footerStickAlt</a> using <a href="http://jquery.com/">jQuery</a> &#038; <a href="http://developer.yahoo.com/yui/grids/">Yahoo! UI Grids</a>.  Fast forward to the present and I have a small update to post.  In my previous implementation, one of the required libraries was the <a href="http://plugins.jquery.com/project/dimensions">jQuery Dimensions plugin</a> because of its nifty window/document height() calculations.  However, after reading the <a href="http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/ChangeLog.txt">plugin&#8217;s changelog</a> and seeing as how jQuery 1.2 core <a href="http://docs.jquery.com/CSS/height">now supports the height function</a>, this plugin is no longer required.  So without further adieu, here&#8217;s the updated footerStickAlt implementation instructions.</p>
<p>It&#8217;s been tested in <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">IE</a> 5.5+ and <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> 2.</p>
<p>*<b>Note</b>*:  In this implementation, I don&#8217;t check for the margin on the &#8216;body&#8217; element since we&#8217;ve set all our margins and padding on <body> to 0.  See the demos for details.</p>
<h2 style="text-decoration:underline;">Requirements</h2>
<ul>
<li>Yahoo! UI Grids [<a href="http://developer.yahoo.com/yui/download/">download</a>]
<li>JQuery 1.2+ [<a href="http://code.jquery.com/jquery-latest.js">uncompressed</a>] [<a href="http://code.jquery.com/jquery-latest.pack.js">compressed</a>]</li>
<li>Place the Javascript below in a file of your choosing! Don&#8217;t forget to include it in your page!</li>
</ul>
<pre style="font-size:125%; background-color:#ffffee; border:1px solid #ccc; padding:1em;">
$(document).ready(function() {
     if ($(window).height() > $(document).height()) {
          $('#bd').css({
               height: $('#bd').height() +
                         ($(window).height() -
                          $(document).height()) + 'px'
          });
     }
});
</pre>
<p>Check out the demos here: <a href="http://www.localkinegrinds.com/demo/footerStickAltUpdate/demo-short.html">page with short content</a>, <a href="http://www.localkinegrinds.com/demo/footerStickAltUpdate/demo-long.html">page with long content</a>!</p>
<p>(Notice the pages no longer depend upon jQuery Dimensions! Wheee!)</p>
<h3>Enjoy!</h3>
<img src="http://blog.localkinegrinds.com/?ak_action=api_record_view&id=146&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.localkinegrinds.com/2007/12/13/update-footerstickalt-w-jquery-yahoo-ui-grids/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Yahoo! UI Grids &#8211; footerStickAlt (w/ jQuery goodness)</title>
		<link>http://blog.localkinegrinds.com/2007/06/30/yahoo-ui-grids-footerstickalt-w-jquery-goodness/</link>
		<comments>http://blog.localkinegrinds.com/2007/06/30/yahoo-ui-grids-footerstickalt-w-jquery-goodness/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 22:17:51 +0000</pubDate>
		<dc:creator>ryankanno</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[dimensions]]></category>
		<category><![CDATA[footerStickAlt]]></category>
		<category><![CDATA[grids]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[yahoo!-ui]]></category>

		<guid isPermaLink="false">http://blog.localkinegrinds.com/2007/06/30/yahoo-ui-grids-footerstickalt-w-jquery-goodness/</guid>
		<description><![CDATA[My co-worker, Stephen, and I have implemented our layouts using the Yahoo! UI Grids library. One of the dilemmas we&#8217;ve been facing is the inability to use Cameron Adams&#8217; footerStickAlt CSS solution @ The Man In Blue. Basically, footerStickAlt is best described as sites that require the Web page footer to be positioned either at [...]]]></description>
			<content:encoded><![CDATA[<p>My co-worker, Stephen, and I have implemented our layouts using the <a href="http://developer.yahoo.com/yui/grids/">Yahoo! UI Grids </a>library.  One of the dilemmas we&#8217;ve been facing is the inability to use Cameron Adams&#8217; <a href="http://www.themaninblue.com/experiment/footerStickAlt/">footerStickAlt</a> CSS solution @ <a href="http://www.themaninblue.com/">The Man In Blue</a>.</p>
<p>Basically, footerStickAlt is best described as</p>
<blockquote><p>
sites that require the Web page footer to be positioned either at the bottom of the browser window or at the bottom of the Web page â€“ whichever is visually lowest.
</p></blockquote>
<p>Fast forward to the present, and using <a href="http://jquery.com/">JQuery</a>, <a href="http://jquery.com/plugins/project/dimensions">JQuery Dimensions plugin</a>, and a little nifty Javascript, we wrote up a solution at work for our Yahoo! layouts.  One thing to remember is that this solution won&#8217;t work in browsers with Javascript disabled, i.e. it degrades to whatever Yahoo! grid layout you&#8217;re using.</p>
<p>It&#8217;s been tested in <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">IE</a> 5.5+ and <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> 2. (I think =P). </p>
<p>*<b>Note</b>*:  In this implementation, I don&#8217;t check for the margin on the &#8216;body&#8217; element since we&#8217;ve set all our margins and padding on <body> to 0.  See the demos for details.</p>
<h2 style="text-decoration:underline;">Requirements</h2>
<ol>
<li>Yahoo! UI Grids [<a href="http://developer.yahoo.com/yui/download/">download</a>]
<li>JQuery 1.1.2+ [<a href="http://code.jquery.com/jquery-latest.js">uncompressed</a>] [<a href="http://code.jquery.com/jquery-latest.pack.js">compressed</a>]</li>
<li>Dimensions plugin 1.0.0-b2 [<a href="http://jquery.com/plugins/files/dimensions-1.0b2.zip">zip</a>]</li>
<li>The Javascript below in a file of your choosing! Don&#8217;t forget to include it in your page!</li>
</ol>
<pre style="font-size:125%; background-color:#ffffee; border:1px solid #ccc; padding:1em;">
$(document).ready(function() {
     if ($(window).height() > $(document).height()) {
          $('#bd').css({
               height: $('#bd').height() +
                         ($(window).height() -
                          $(document).height()) + 'px'
          });
     }
});
</pre>
<p>Check out the demos here: <a href="http://www.localkinegrinds.com/demo/footerStickAlt/demo-short.html">page with short content</a>, <a href="http://www.localkinegrinds.com/demo/footerStickAlt/demo-long.html">page with long content</a>!</p>
<h3>Enjoy!</h3>
<img src="http://blog.localkinegrinds.com/?ak_action=api_record_view&id=109&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.localkinegrinds.com/2007/06/30/yahoo-ui-grids-footerstickalt-w-jquery-goodness/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.localkinegrinds.com @ 2012-02-07 21:17:18 -->
