<?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; FrameworksSmart red fox</title>
	<atom:link href="http://www.smartredfox.com/category/frameworks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smartredfox.com</link>
	<description>Smarter than your average bear</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:18:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<meta name="generator" content="Obscure 2.0" />
		<item>
		<title>Free jQuery page peel (updated)</title>
		<link>http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/</link>
		<comments>http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 09:53:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=291</guid>
		<description><![CDATA[The jQuery version of the page peel script has been very popular on SmartRedFox.com, and I&#8217;ve finally got round to making some updates and changes to it. Since I wrote the original article I found this site, which seems to have the original Flash files for the peel effect, as well as a copy of the non-jQuery version of the files. So, if you want to edit the .fla files, or you don&#8217;t want to use jQuery to display the &#8230; <a href="http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The jQuery version of the page peel script has been very popular on SmartRedFox.com, and I&#8217;ve finally got round to making some updates and changes to it.</p>
<p>Since I wrote the original article I found <a href="http://www.marcofolio.net/webdesign/create_a_peeling_corner_on_your_website.html" target="_blank">this site</a>, which seems to have the original Flash files for the peel effect, as well as a copy of the non-jQuery version of the files. So, if you want to edit the .fla files, or you don&#8217;t want to use jQuery to display the page peel you may want to head over there now.</p>
<h2>Updates:</h2>
<ul>
<li>The most requested feature for the original script was for it to <strong>open the link in the same window</strong>. This is now a configurable option. (Note: I&#8217;ve changed the default to be that the link opens in the same window).</li>
<li>I&#8217;ve changed the default images to make it easier to create your own.</li>
<li>Stopped the dotted outline from appearing when you click on the advert.</li>
<li>Assorted other fixes.</li>
</ul>
<p>To use the new page peel edit the peel.js file to match your set-up:</p>
<ul>
<li><strong>smartredfox.link_url</strong> &#8211; This is the full url (including http://) that you want users to go to when they click your advert.</li>
<li><strong>smartredfox.newWindow &#8211; </strong>Set this to true if you want the link_url to be opened in a new window.</li>
<li><strong>smartredfox.small_image</strong> &#8211; This is the full path to the image users see when the image loads.</li>
<li><strong>smartredfox.big_image</strong> &#8211; This is the full path to the big image that appears when users roll over the page peel.</li>
<li><strong>smartredfox.small_path</strong> &#8211; This is the full path to the small.swf file.</li>
<li><strong>smartredfox.big_path</strong> &#8211; This is the full path to the large.swf file.</li>
</ul>
<p>Then include the peel.js file and jQuery in the head of your website:</p>
<pre class="brush: xhtml">
	  &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
	  &amp;lt;script src=&amp;quot;peel.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
</pre>
<p><a class="pillbutton super large red" href="http://www.smartredfox.com/wp-content/uploads/2010/10/PagePeel_SRF.zip" onClick="javascript: pageTracker._trackPageview('/downloads/peel');"><span>Download now</span></a> <a class="pillbutton super large blue" href="/demos/peel/index.htm" target="_blank"><span>View demo</span></a></p>
<p>If you have any feedback or feature requests please post them in the comments below.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "5432952433";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Totaliser &#8211; make your numbers roll</title>
		<link>http://www.smartredfox.com/2010/08/totaliser-make-your-totals-exciting/</link>
		<comments>http://www.smartredfox.com/2010/08/totaliser-make-your-totals-exciting/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 10:28:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=219</guid>
		<description><![CDATA[UPDATE 24/08/2010: Various fixes and updates have now been incorporated, and the instructions below have been updated. SmartRedFox is pleased to announce it&#8217;s first ever jQuery plugin &#8211; the Totaliser. It&#8217;s a simple plugin that takes a text box and turns it into a fruit machine style number updater. It&#8217;s easier to see than explain, so take a look at the demo. There are a couple of things you need to know to use it: 1&#62; Include the js file &#8230; <a href="http://www.smartredfox.com/2010/08/totaliser-make-your-totals-exciting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 24/08/2010: Various fixes and updates have now been incorporated, and the instructions below have been updated.</strong></p>
<p><a href="http://www.smartredfox.com/wp-content/uploads/2010/08/totaliser_screen.png"><img class="alignright size-medium wp-image-220 colorbox-219" title="totaliser_screen" src="http://www.smartredfox.com/wp-content/uploads/2010/08/totaliser_screen-300x148.png" alt="" width="300" height="148" /></a>SmartRedFox is pleased to announce it&#8217;s first ever jQuery plugin &#8211; the Totaliser.</p>
<p>It&#8217;s a simple plugin that takes a text box and turns it into a fruit machine style number updater. It&#8217;s easier to see than explain, so <a href="http://www.smartredfox.com/totaliser/totaliser.htm" target="_blank">take a look at the demo</a>.</p>
<p>There are a couple of things you need to know to use it:</p>
<p>1&gt; Include the js file after your jquery include:</p>
<p><strong>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;YOURPATHHERE/jquery.totaliser.js&#8221;&gt;&lt;/script&gt;</strong></p>
<p>2&gt; Call the totaliser against a textbox to create it:</p>
<p><strong>$(&#8216;#textboxid&#8217;).totaliser();</strong></p>
<p>3&gt; When you want to update it just call UpdateTotaliser with a new number:</p>
<p><strong>$(&#8216;#textboxid&#8217;).totaliser</strong><strong>(45545666);</strong></p>
<p>or</p>
<p><strong>$.fn.totaliser</strong><strong>(45545666);</strong></p>
<p>There are a few configurable options for the totaliser:</p>
<ul>
<li>digits &#8211; this sets how many digits the totaliser displays (default is 9)</li>
<li>currency &#8211; set this to false if you don&#8217;t want to show the currency symbol</li>
<li>currencySign &#8211; this sets what currency symbol shows before the number (default is british pounds).</li>
</ul>
<p>So for example to load it up with the dollar sign and only 6 digits you&#8217;d call the following:</p>
<p><strong>$(&#8216;#textboxid&#8217;).totaliser({digits:6,currencySign:&#8221;$&#8221;});</strong></p>
<p><a href="http://www.smartredfox.com/wp-content/uploads/2010/08/totaliserV0_5.zip" onClick="javascript: pageTracker._trackPageview('/downloads/totaliser');" class="pillbutton red large super"><span>Download Totaliser</span></a> <a href="http://www.smartredfox.com/totaliser/totaliser.htm" class="pillbutton blue large super" target="_blank"><span>View demo</span></a><br />
If you have any bugs, suggestions, improvements, or just want to let me know that you&#8217;re using it, please leave a comment.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "5432952433";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2010/08/totaliser-make-your-totals-exciting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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 in enough detail. I found the excellent coda popup bubbles on jQuery for designers, this seemed to do everything I wanted it to, but it &#8230; <a href="http://www.smartredfox.com/2009/05/very-simple-jquery-tooltips/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 colorbox-60" 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 colorbox-60" 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 colorbox-60" 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>Free 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[UPDATE 09/10/10- There is an updated version of the jQuery page peel script now available. 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 jQuery in their pages so it made sense to rewrite &#8230; <a href="http://www.smartredfox.com/2008/12/corner-page-peel-advert-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="warning">UPDATE 09/10/10- There is an <a href="http://www.smartredfox.com/2010/10/free-jquery-page-peel-updated/">updated version of the jQuery page peel script now available</a>.</p>
<p><img class="alignleft size-full wp-image-107 colorbox-94" style="border: solid 1px #ccc;" title="page_curl" src="http://www.smartredfox.com/wp-content/uploads/2008/12/page_curl.png" alt="page_curl" width="108" height="106" />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">
&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;script src=&amp;quot;/pathtojquery/jquery-1.2.6.min.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/script&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;
&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;script src=&amp;quot;/pathtopeel/peel.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/script&amp;amp;amp;amp;amp;amp;amp;amp;amp;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 = "5432952433";
google_ad_width = 468;
google_ad_height = 60;
//--></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>15</slash:comments>
		</item>
		<item>
		<title>First impressions of YAML</title>
		<link>http://www.smartredfox.com/2008/10/first-steps-with-yaml/</link>
		<comments>http://www.smartredfox.com/2008/10/first-steps-with-yaml/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[YAML]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=45</guid>
		<description><![CDATA[Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework. So with that little disclaimer out of the way, here&#8217;s my take on the rather excellent YAML CSS framework, and my first foray into using it to layout a &#8230; <a href="http://www.smartredfox.com/2008/10/first-steps-with-yaml/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png"><img class="alignright size-full wp-image-65 colorbox-45" style="border: 1px solid #ccc;" title="yaml" src="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png" alt="YAML logo" width="225" height="169" /></a>Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework.</p>
<p>So with that little disclaimer out of the way, here&#8217;s my take on the rather excellent YAML CSS framework, and my first foray into using it to layout a site.</p>
<p>First things first; YAML seems to be very well thought out. It claims to be cross browser compliant in almost every browser that&#8217;s still in use by more than one man and his dog, and it fixes most of the major problems web developers run into with the older browsers.</p>
<p>Unlike YUI and some of the other Frameworks you&#8217;ll need to download the css files etc. and host them yourself. These can all be downloaded from <a title="Go to the download page." href="http://www.yaml.de/en/download.html" target="_blank">here.</a></p>
<p>YAML lets you get off to a flying start without any real work creating css reset files etc. After slicing and dicing a design I&#8217;ve been working on for a week I managed to get a site up and running cross-browser on the first attempt. This seems to happen very rarely for me. I&#8217;ll admit there were a few tweaks here and there to make it perfect, but overall it just worked.</p>
<p>It&#8217;s got a few default styles that are well thought out and I&#8217;m already finding myself duplicating them in other projects I work on that don&#8217;t use YAML. I&#8217;ll cover details of some of these styles and a bit more on how to use the framework in later posts.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "1444433905";
google_ad_width = 200;
google_ad_height = 200;
//--></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/10/first-steps-with-yaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

