<?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>Smart red fox &#187; jQuery</title>
	<atom:link href="http://www.smartredfox.com/category/frameworks/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smartredfox.com</link>
	<description>Thoughts from the web and stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 15:40:10 +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>Very simple Jquery tooltips</title>
		<link>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/</link>
		<comments>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/#comments</comments>
		<pubDate>Fri, 29 May 2009 11:29:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=60</guid>
		<description><![CDATA[UPDATE: I&#8217;ve made a couple of changes to the script to make it easier to use and there&#8217;s now a demo available. A few weeks back I was looking for a nice simple way of adding tooltips to some buttons on a site &#8211; sometimes an image alone doesn&#8217;t quite convey what the button does [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: I&#8217;ve made a couple of changes to the script to make it easier to use and there&#8217;s now a demo available.</strong></p>
<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/coda.png"><img class="alignright size-full wp-image-79" style="border: 1px solid #ccc;" title="coda" src="http://www.smartredfox.com/wp-content/uploads/2008/10/coda.png" alt="" width="205" height="174" /></a></p>
<p>A few weeks back I was looking for a nice simple way of adding tooltips to some buttons on a site &#8211; sometimes an image alone doesn&#8217;t quite convey what the button does in enough detail.</p>
<p>I found the excellent coda popup bubbles on <a href="http://jqueryfordesigners.com/coda-popup-bubbles/" target="_blank">jQuery for designers</a>, this seemed to do everything I wanted it to, but it meant going through all of my html and adding an additional div with the popup content. That&#8217;s fine for me, but other developers are never going to remember to do this and we really want a consistent user interface.</p>
<p>A little bit more looking led to <a href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/" target="_blank">Web Designer Wall</a> (#5 in the list). They have a very simple technique that <a href="http://www.smartredfox.com/wp-content/uploads/2008/10/webdesignerwall.png"><img class="alignleft size-full wp-image-80" style="border: 1px solid #cccccc;margin-top: 15px;" title="webdesignerwall" src="http://www.smartredfox.com/wp-content/uploads/2008/10/webdesignerwall.png" alt="" width="148" height="127" /></a>pulls the Title text from an image and creates the popup out of this. All of dev&#8217;s are told to add title text to images so this was almost perfect. I say almost perfect because unlike the code bubbles the hover events queue up. This means that if you run you cursor back and forth over the buttons the popups keep firing for a few seconds/minutes after you stop.</p>
<p>So my final stop was to combine the two. I also incorporated any fixes I saw in the comments <img class="alignright size-full wp-image-154" style="border:solid 1px #ccc" title="Smart red fox tooltips." src="http://www.smartredfox.com/wp-content/uploads/2009/05/tooltips.png" alt="Smart red fox tooltips." width="118" height="118" />section of jQuery for Designers.</p>
<p>You can download the <a href="http://www.smartredfox.com/tooltips/tooltips.zip">script here</a>.</p>
<p>Or see a <a href="http://www.smartredfox.com/tooltips/tooltips.htm" target="_blank">demo here</a>.</p>
<p>The image file I use for the tooltips can be <a href="http://www.smartredfox.com/tooltips/tooltips_blue.png">downloaded here</a>, and is free for anyone to use.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "4949241016";
google_ad_width = 468;
google_ad_height = 15;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Jquery page peel script</title>
		<link>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/</link>
		<comments>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 11:48:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=94</guid>
		<description><![CDATA[Just recently I needed a page peel script for a client. A look around the &#8216;net lead me to a script that seemed to do everything I needed it to, but it used the document.write method which I&#8217;m not a big fan of, and it all seemed a bit inefficient. My client was already including [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-107" title="page_curl" src="http://www.smartredfox.com/wp-content/uploads/2008/12/page_curl.png" alt="page_curl" width="108" height="106" style="border:solid 1px #ccc" />Just recently I needed a page peel script for a client. A look around the &#8216;net lead me to <a href="http://www.dougbelshaw.com/2008/01/26/page-peel-script/" target="_blank">a script</a> that seemed to do everything I needed it to, but it used the document.write method which I&#8217;m not a big fan of, and it all seemed a bit inefficient.</p>
<p>My client was already including jQuery in their pages so it made sense to rewrite the javascript using <a href="http://jquery.com/" target="_blank">jQuery</a>. This also has the added benefit of meaning you no longer have to include the script inside the body tag to get it work in IE7.</p>
<p>While we were testing with users I also spotted a problem with some earlier versions of flash not showing the pictures. The simple but strange solution for this was to use two large images, instead of one small and one large. If you&#8217;re not worried about users with old versions of flash you can just use a 100px x 100px image instead of two 650px x 650px images.</p>
<p>You can download the <a href="http://www.smartredfox.com/test/pagepeel.zip">script here</a>.</p>
<p>Or see a <a href="http://www.smartredfox.com/test/index.htm" target="_blank">demo here</a>.</p>
<p>To use this script you need to edit the peel.js file and put the link and image paths in that you want to use, then put the following in the head of your page:</p>
<pre class="brush: xhtml">
&lt;script src=&quot;/pathtojquery/jquery-1.2.6.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/pathtopeel/peel.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>That&#8217;s it. Just add those lines and the script does the rest. Obvisously change <span class="attribute-value">/pathtojquery/ to the path to<a href="http://jquery.com/" target="_blank"> jQuer</a>y for your site, and </span><span class="attribute-value">change /pathtopeel/to point to where you uploaded the peel.js file.</span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "4949241016";
google_ad_width = 468;
google_ad_height = 15;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
