<?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>Denver SEO Blog &#187; jQuery</title>
	<atom:link href="http://www.seodenver.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seodenver.com</link>
	<description>Websites designed and optimized for results.</description>
	<lastBuildDate>Fri, 10 Feb 2012 14:53:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>jQuery validator annoyances</title>
		<link>http://www.seodenver.com/jquery-validator-annoyances/</link>
		<comments>http://www.seodenver.com/jquery-validator-annoyances/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 18:09:00 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE 6]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=412</guid>
		<description><![CDATA[For all of you that use jQuery and use the Validator plugin, you may have been getting this error in Internet Explorer 6: jQuery.Validator is null or not an object This code will break any jQuery below your validation code, &#8230; <a href="http://www.seodenver.com/jquery-validator-annoyances/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/' rel='bookmark' title='Simple Vertical Align Plugin for jQuery'>Simple Vertical Align Plugin for jQuery</a></li>
<li><a href='http://www.seodenver.com/google-chrome-frame-wordpress/' rel='bookmark' title='Google Chrome Frame Plugin for WordPress'>Google Chrome Frame Plugin for WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-413" title="Null or Not an Object my ASS!" src="http://www.seodenver.com//home/katzwebd/seodenver.com/wp-content/uploads/HLIC/katzwebdesign.files.wordpress.com/2008/12/picture-235.jpg" alt="Null or Not an Object my ASS!" width="438" height="234" /></p>
<p>For all of you that use <a href="http://jquery.com">jQuery</a> and use the <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">Validator plugin</a>, you may have been getting this error in Internet Explorer 6:</p>
<p><code>jQuery.Validator is null or not an object</code></p>
<p>This code will break any jQuery below your validation code, and will thoroughly piss you off.</p>
<p><strong>The fix is simple: </strong>use the minified version (jquery.validate.min.js) javascript file, instead of the packed version (jquery.validate.pack.js).</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/' rel='bookmark' title='Simple Vertical Align Plugin for jQuery'>Simple Vertical Align Plugin for jQuery</a></li>
<li><a href='http://www.seodenver.com/google-chrome-frame-wordpress/' rel='bookmark' title='Google Chrome Frame Plugin for WordPress'>Google Chrome Frame Plugin for WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/jquery-validator-annoyances/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Simple Vertical Align Plugin for jQuery</title>
		<link>http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/</link>
		<comments>http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 19:30:15 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery Plugin]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Vertical]]></category>
		<category><![CDATA[Vertical Align]]></category>

		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=308</guid>
		<description><![CDATA[Sometimes you may want to vertically align a block item, but the CSS-only vertical aligning methods don&#8217;t make you feel clean.  Personally, I hate having to style items as a table/table cell to get them to vertically align in Internet Explorer. &#8230; <a href="http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/jquery-validator-annoyances/' rel='bookmark' title='jQuery validator annoyances'>jQuery validator annoyances</a></li>
<li><a href='http://www.seodenver.com/format-simple-taxonomies-plugin-improve-code-output/' rel='bookmark' title='Simple Taxonomies Formatting &#8212; Improve the Plugin&#8217;s Code Output'>Simple Taxonomies Formatting &#8212; Improve the Plugin&#8217;s Code Output</a></li>
<li><a href='http://www.seodenver.com/strip-extra-imagescaler-attribute-from-plugin-generated-code/' rel='bookmark' title='Strip Extra ImageScaler Attribute from Plugin-Generated Code'>Strip Extra ImageScaler Attribute from Plugin-Generated Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-309" title="The stars vertically align!" src="http://www.seodenver.com/wp-content/uploads/HLIC/f41107a684822962f9299c4838ee3b43.jpg" alt="Everything in it's right place." width="500" height="167" /><br />
Sometimes you may want to <strong>vertically align a block item</strong>, but the <a rel="nofollow" href="http://www.jakpsatweb.cz/css/css-vertical-center-solution.html">CSS-only vertical aligning methods</a> don&#8217;t make you feel clean.  Personally, I hate having to style items as a table/table cell to get them to vertically align in Internet Explorer.</p>
<p><a rel="nofollow" href="http://jquery.com/">jQuery</a> to the rescue.  Using a <a rel="nofollow" href="http://web.archive.org/web/20070810042753/http://www.flavourofceylon.com/wpf-help/vertical/vc-links.htm">jQuery vertical align snippet</a> as my base code, I modified it to be a jQuery plugin that will allow you to use the function in the <a title="More about chaining" rel="nofollow" href="http://docs.jquery.com/Tutorials:How_jQuery_Works#Chainability_.28The_Magic_of_jQuery.29">jQuery chain</a>.<span id="more-308"></span></p>
<h3>jQuery Vertical Align Plugin Code</h3>
<p>Simply copy this code into your website (if you don&#8217;t know where, leave a comment):</p>
<pre>(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
	return this.each(function(i){
	var ah = $(this).height();
	var ph = $(this).parent().height();
	var mh = Math.ceil((ph-ah) / 2);
	$(this).css('margin-top', mh);
	});
};
})(jQuery);</pre>
<p>Now, you can use <code>vAlign</code> as you wish; ie: <code>$('#example p').vAlign();</code>.</p>

<h4>If it&#8217;s not working</h4>
<p>If it&#8217;s not working, it may be because the script applies a margin to the element, which may not work in all situations.  Try changing <code>'margin-top'</code> to <code>'padding-top'</code> and see if that helps.</p>
<p><strong>Any questions or comments?</strong></p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/jquery-validator-annoyances/' rel='bookmark' title='jQuery validator annoyances'>jQuery validator annoyances</a></li>
<li><a href='http://www.seodenver.com/format-simple-taxonomies-plugin-improve-code-output/' rel='bookmark' title='Simple Taxonomies Formatting &#8212; Improve the Plugin&#8217;s Code Output'>Simple Taxonomies Formatting &#8212; Improve the Plugin&#8217;s Code Output</a></li>
<li><a href='http://www.seodenver.com/strip-extra-imagescaler-attribute-from-plugin-generated-code/' rel='bookmark' title='Strip Extra ImageScaler Attribute from Plugin-Generated Code'>Strip Extra ImageScaler Attribute from Plugin-Generated Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/feed/</wfw:commentRss>
		<slash:comments>82</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 0/0 objects using disk: basic

Served from: www.seodenver.com @ 2012-02-11 06:54:58 -->
