<?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>Electric Fairground &#187; width</title>
	<atom:link href="http://www.electricfairground.com/tag/width/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.electricfairground.com</link>
	<description>OOOm pa pa, OOOm pa pa . . .</description>
	<lastBuildDate>Sat, 04 Sep 2010 23:39:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>JQuery Image Dimensions</title>
		<link>http://www.electricfairground.com/2009/06/30/jquery-image-dimensions/</link>
		<comments>http://www.electricfairground.com/2009/06/30/jquery-image-dimensions/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 14:34:31 +0000</pubDate>
		<dc:creator>Lappa</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dimensions]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[width]]></category>

		<guid isPermaLink="false">http://www.electricfairground.com/?p=28</guid>
		<description><![CDATA[<a href="http://www.electricfairground.com/2009/06/30/jquery-image-dimensions/"><img align="left" hspace="5" width="150" src="image.png" class="alignleft wp-post-image tfe" alt="My Image" title="" /></a>Simple code to grab the dimensions of any image on your page. Here&#8217;s an example: Tell JQuery to find out how big this image is by using: var width = $("#my_image").width(); var height = $("#my_image").height();]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.electricfairground.com%2F2009%2F06%2F30%2Fjquery-image-dimensions%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.electricfairground.com%2F2009%2F06%2F30%2Fjquery-image-dimensions%2F&amp;source=robinspots&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Simple code to grab the dimensions of any image on your page. Here&#8217;s an example:</p>
<pre class='brush: html'>
<img id="my_image" src="image.png" alt="My Image" />
</pre>
<p>Tell JQuery to find out how big this image is by using:</p>
<pre class='brush: js'>
var width = $("#my_image").width();
var height = $("#my_image").height();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.electricfairground.com/2009/06/30/jquery-image-dimensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
