<?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>E-com DevBlog &#187; Javascript</title>
	<atom:link href="http://dev.tonic1394.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.tonic1394.com</link>
	<description>Spider-ball-vacuum</description>
	<lastBuildDate>Wed, 01 Feb 2012 14:42:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Online IDEs (work in a browser)</title>
		<link>http://dev.tonic1394.com/2011/01/online-ides-work-in-a-browser/</link>
		<comments>http://dev.tonic1394.com/2011/01/online-ides-work-in-a-browser/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 03:44:31 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=574</guid>
		<description><![CDATA[So as previously mentioned I have a cr48, is it awesome? absolutely, do I use it? not so much. Why don't I use it very much? It is a slightly complicated story.  You see I had an HP mini 311 for my netbook, and what I have found out is that the 311 was not a [...]]]></description>
			<content:encoded><![CDATA[<p>So as previously mentioned I have a cr48, is it awesome? absolutely, do I use it? not so much. Why don't I use it very much? It is a slightly complicated story.  You see I had an HP mini 311 for my netbook, and what I have found out is that the 311 was not a netbook. Sadly it turns out I did many things with the 311 that I can no longer do with an actual netbook. To make it worse, it turns out that the things I do on a netbook are the same things I do on my phone (Samsung Galaxy S - Epic).</p>
<p>So what does that have to do with Online IDEs? Everything. I have to code, I don't know why, but I have this compulsive obsession with coding. It doesn't even matter what, it can be php, java, html, js, actionscript, whatever, as long as it can be thrown together and I can get it to compile, I have inner peace.</p>
<p>So back to the cr48, just because it can't code out of the box doesn't mean you can't code on it.  I stumbled onto a few IDEs today that are online and can do some simple compiling.  While it's true that they most cannot actual compile and render code for your playback use on the cr48, but they can save projects, upload via ftp, and even open in different IDEs.</p>
<p><a title="CodeRun, the new hotness in Browser-based IDEs" href="http://www.coderun.com/ide" target="_blank">CodeRun IDE</a> - This is a great little browser-based IDE.  Sign up is free and it will store your projects online for you.  It does have a simple debugging tool, and even comes with some code-stubs to get your started (c#, php, and some js libs). Overal the look and feel is good and it fits the screen rather well. My only complaint is the that password on your account is seriously weak-sauce. I mean no special characters? For-the-love-of-whatever-gimped-db-the-backend-is-using why!? But do not let that stop you from trying it out.</p>
<p>Kodingen - This is an interesting little web-mash. You can grab a free account, set it to connect to your own FTP, and even get Shell access to your files. It is in beta so don't expect too much out of the box, that being said, this is a very nice offering. The site is clean and offers editing in multiple other online IDEs (Bespin, Codemirror, Ymacs), it also has a great control panel that lets you see your projects and manage your options. I have not signed up on this one yet, but it looks like a great bet to start getting your code together for when you are on the go, or borrowing someone else's cr48.</p>
<p><a title="Eclipse Orion Download page" href="http://download.eclipse.org/e4/orion/" target="_blank">Eclipse Orion</a> - This had been announced in 2008, and it is gaining momentum. You can download the source now if you want, but keep in mind that the project is still in the incubator. <a title="A little question and answer time everyone." href="http://jaxenter.com/eclipse-orion-the-new-ide-paradigm-33431.html" target="_blank">Check out this post</a> for a little Q&amp;A, and <a title="Screenshots and a little more information for those of you that want to use Orion now." href="http://dev.eclipse.org/blogs/mike/2011/01/11/introducing-orion/" target="_blank">check this post</a> from the "Life at Eclipse" Blog for some screenshots and little more information about the Orion Project.</p>
<p><a title="Chrome users need not apply, this looks like a firefox only implementation." href="http://www.alphaworks.ibm.com/eclifox" target="_blank">IBM alphaWorks</a> - I won't lie, I just barely found this so I have not tried it out.  However since I use more than my fair share of IBM products are work, I am sure that if you try your hardest for a month and a half, open a PMR, and then fix it yourself using undocumented methods that void your service contract, this will work for you. This looks a bit like the Orion project, only with some added http/jetty translation.  Also this may be a firefox only kind of browser IDE, so Chrome users get ready to drop a pass on this one.</p>
<p><a title="I cans hve codes anywhere? evn PHPz? Srsly?!" href="http://phpanywhere.net/overview" target="_blank">PHPanywhere</a> - I have not signed up with this one yet either, but I've heard a little buzz about it.  This is another great little editor with syntax highlights, FTP access, project management, and some collaboration features. It is still in beta so expect new features coming and a possible shift in workflow.</p>
<p><a title="Clean, minimal, but efficient..." href="http://shiftedit.net" target="_blank">shiftEDIT</a> - Another one in the running, support for editing and publishing PHP, Ruby, Python, Perl, Java, HTML, CSS, and JS. Supports FTP and SFTP and has a syntax highlighter. Another bonus is revision history and code snippets. It has a familiar flash/flex style interface which is very clean and has right-click support and plenty of context menus. You will need to set up your domain/FTP account to do the live testing, but overal a very nice and simple IDE.</p>
<p>Hopefully this gets you coding and not thinking that netbooks are just for surfing the internet <img src='http://dev.tonic1394.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2011/01/online-ides-work-in-a-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Notepad++ the New IDE</title>
		<link>http://dev.tonic1394.com/2011/01/notepad-the-new-ide/</link>
		<comments>http://dev.tonic1394.com/2011/01/notepad-the-new-ide/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 15:12:51 +0000</pubDate>
		<dc:creator>Stretch</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[Notepad++]]></category>
		<category><![CDATA[Text Editor]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=565</guid>
		<description><![CDATA[So, as Phil mentioned I did move across the country, and for no reason other than to get out of surviving another Idaho/Utah winter...and a pretty amazing job opportunity. Which is what brings me to the dev blog today. Since I got here I'd been using Aptana as my IDE, and generally speaking I love [...]]]></description>
			<content:encoded><![CDATA[<p>So, as Phil mentioned I did move across the country, and for no reason other than to get out of surviving another Idaho/Utah winter...and a pretty amazing job opportunity. Which is what brings me to the dev blog today.</p>
<p>Since I got here I'd been using Aptana as my IDE, and generally speaking I love the Aptana/Eclipse IDE's mostly because of the tools that they have that make writing code so easy. However I've become a little frustrated with Aptana as of late because it seems to chew and chew and chew on the memory. And I noticed that at least once a day I was killing it and restarting it just to get some measurable performance back.<br />
Anyhow one fine day about a week ago I was trying to view an .sql file in notepad++ (which I've always kept around as a quick editor) and noticed that the escaping of quotes was not quite rendering in the editor. I mentioned this to the author of said file and he mentioned I should try the "bespin" theme in n++ which I promptly did and thoroughly enjoyed. This lead me to investigate the plug-ins that notepad++ has, like I said I've always used notepad++ to some extent, I've just never paid much attention to the many plug-ins available to it (and there are many).</p>
<p>To make a long story short I've effectively replaced my Aptana IDE with Notepad++ and it's various useful plug-ins. At the onset I knew there were a few things notepad++ would have to have in order to make the switch and not hate it, they are as follows:</p>
<p>1. an Explorer view - I hate doing File->open and browsing, an explorer view is much more efficient<br />
2. an Outline view - I've become addicted to the ability of Eclipse based IDE's to click on a method name in the outline and go directly to that method.<br />
3. Debugger - this one is a big one, in my opinion debuggers cut troubleshooting time down by more than 50%</p>
<p>Nice to haves:<br />
1. ctrl + click - It's always nice to be able to jump directly to a declaration with this simple combination<br />
2. intellisense/auto-complete<br />
3. SVN - I currently don't use SVN but it's nice know there's a plugin available.</p>
<p>In my quest I promptly found that I already had the Explorer plug-in installed (and it's simply called Explorer). And while the look and feel of the view is a little different than Eclipse, it gets the job done and I have no qualms with it.</p>
<p>I was also able to find an Outline plug-in called "Function List". It's a little rugged in appearance but nonetheless gets the job done and the best part is it's not attached to the main view and therefore not making viewing the code a pain.</p>
<p>I thought there would be no way a debugger plug-in would be as effective as the Xdebug setup for Aptana/Eclipse. I was wrong. DBGp is everything I hoped I would find in a debugger (and it uses xdebug, how awesome is that?), like the others it lacks some in the aesthetic department but it is simple to set up, easy to navigate and it works. I did have a little trouble getting it working at first but then I found this <a href="http://www.judiwa.com/2010/03/27/how-to-setup-bdgp-debugger-in-notepad-to-debug-php/">Tutorial</a> and I was off and running.</p>
<p>As for the "nice to haves" since Notepad++ 5.0 you can turn on auto-complete from the <strong>settings->preferences->Backup/Auto-Completion</strong> menu, simply check <strong>"Enable auto-completion"</strong> and if you'd like check <strong>"Function parameters hint on input"</strong> to enable hints to the parameters a method expects.<br />
I haven't found a great ctrl+click plug-in but I'm hoping one will come soon. There have been some attempts but they pale in comparison to what Eclipse has done.<br />
As mentioned SVN is available (I believe there is more than one plug-in for it) but I haven't tried it. Another one that get's honorable mention is "Falling Bricks" it's just like Tetris, and handy <del datetime="2011-01-19T18:13:51+00:00">on days you've got nothing else to do</del> for staying awake while your code is compiling.</p>
<p>Once the plug-ins were installed I decided to give my new N++ IDE a spin for a full day. I have to admit I felt a bit naked at first, but it's been almost a week now and I've gotten to where I enjoy the draft.<br />
Just for comparison I fired up all of my new plug-ins at one time and checked the memory consumption of notepad++, a mere 35M compared to the 235M Aptana gobbles up immediately after startup (and without being in Debug mode). I'll probably keep Aptana around for a while (at least until a satisfactory ctrl+click comes along for notepad++) but I've been using notepad++ for a few days now and haven't missed the bulkiness of Aptana one bit.</p>
<p>EDIT (2011.02.15): I'd like to point out that when I wrote this post I was at work on two (2) 17" monitors (no not even widescreen, but who wants 17" widescreen anymore?). However a few days ago I set this up on my home PC with a single 20" widescreen monitor (and much much better resolution options) and Oh my Giddy Aunt! I couldn't believe how Eclipse&reg; like it looks, I almost wept.</p>
<p>EDIT (2011.11.03): I recently revisited the plugins department and I have some more goodness.<br />
#1 while Explorer is handy I find Light Explorer much more to my liking. it uses one window instead of two and seems to be much quicker at launch.<br />
#2 Xbrackets Light - automatically closes a bracket pair when the opening bracket is typed. I had been missing this more than I knew.<br />
#3 Window Manager / File Switcher - both accomplish the same goal, which is to provide a quick way to switch between open files, but File Switcher uses an always detached frame, whereas Window Managers frame can either be detached or attached to the main npp frame. Window Manager allows you to turn off the tab bar which also could be useful. So pick your poison, or do what I do and use both until you can commit to one.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2011/01/notepad-the-new-ide/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Check Scroll Bar Position</title>
		<link>http://dev.tonic1394.com/2010/06/check-scroll-bar-position/</link>
		<comments>http://dev.tonic1394.com/2010/06/check-scroll-bar-position/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:41:19 +0000</pubDate>
		<dc:creator>Stretch</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascipt]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[scroll-bar]]></category>
		<category><![CDATA[scrollbar]]></category>
		<category><![CDATA[scrollTop]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=450</guid>
		<description><![CDATA[I few weeks ago I was tasked with making one of those annoying "you must read the entire page before you continue" things (which as you know really just means you only need to scroll to the bottom of the page before continuing). It was something that I thought would be pretty easy to find [...]]]></description>
			<content:encoded><![CDATA[<p>I few weeks ago I was tasked with making one of those annoying "you must read the entire page before you continue" things (which as you know really just means you only need to scroll to the bottom of the page before continuing). It was something that I thought would be pretty easy to find on the web considering how often I run into it in use. However I was wrong, so here is what I was able to come up with.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p450code6'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4506"><td class="code" id="p450code6"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#selector&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">scroll</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #003366; font-weight: bold;">var</span> elem <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #003366; font-weight: bold;">var</span> position <span style="color: #339933;">=</span> elem<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">scrollHeight</span> <span style="color: #339933;">-</span> elem.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position <span style="color: #339933;">==</span> $<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeAttr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;disable&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">else</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;disable&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;disable&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>A few things to note:<br />
the "elem[0]" that defines "var position" is significant for some reason, I tried it without the "[0]" and it broke, I'm not 100% sure why so if anyone wants to weigh in, that would be great. Secondly, it is good to keep in mind that the "disable" attr is not supported on IE7 and lower so in order to <del datetime="2010-06-01T15:13:27+00:00">fix</del> band-aid this I simply made the button look disabled by doing something like.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p450code7'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4507"><td class="code" id="p450code7"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position <span style="color: #339933;">==</span> $<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
     $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cursor&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;pointer&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">else</span>
     $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cursor&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Ultimately this only fakes people out if they pay attention to their cursor, which is probably less than 50% of the time. so really the best way to do this i found is as follows:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p450code8'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4508"><td class="code" id="p450code8"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#selector&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">scroll</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #003366; font-weight: bold;">var</span> elem <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>checkScrollTop<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cursor&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;pointer&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">else</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cursor&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Then I Have a function called checkScrollTop() which takes an argument.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p450code9'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4509"><td class="code" id="p450code9"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> checkScrollTop<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #003366; font-weight: bold;">var</span> position <span style="color: #339933;">=</span> elem<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">scrollHeight</span> <span style="color: #339933;">-</span> elem.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position <span style="color: #339933;">==</span> $<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
   <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And last but definatley not least, a click event on the button so we can catch those trying to cheat w/ IE7 and (gulp) below.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p450code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p45010"><td class="code" id="p450code10"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;:button:contains('submit')&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #003366; font-weight: bold;">var</span> elem <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#selector&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>checkScrollTop<span style="color: #009900;">&#40;</span>elem<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#step1_disable'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #000066; font-weight: bold;">else</span>
      <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Please read the entire policy before clicking <span style="color: #000099; font-weight: bold;">\&quot;</span>submit<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>to break it down, the $("#selector").scroll function simply decorates the button, while the click event on the button determines if the user can continue, if not it pops an alert up telling them what they must do. both events use the checkScrollTop(elem) function which measures the position of the scroll-bar.<br />
Happy Annoying people <img src='http://dev.tonic1394.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2010/06/check-scroll-bar-position/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery to Make a Smart Search</title>
		<link>http://dev.tonic1394.com/2010/04/using-jquery-to-make-a-smart-search/</link>
		<comments>http://dev.tonic1394.com/2010/04/using-jquery-to-make-a-smart-search/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 20:29:17 +0000</pubDate>
		<dc:creator>Stretch</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Smart Form]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=419</guid>
		<description><![CDATA[Recently I've been forced to develop a relationship with jQuery (something I had no interest in while I was working with team awesome). I have to admit it has been quite pleasant and my tolerance has grown into a very strong liking of the library (so I'm a little slow). This proved very useful when [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I've been forced to develop a relationship with jQuery (something I had no interest in while I was working with team awesome). I have to admit it has been quite pleasant and my tolerance has grown into a very strong liking of the library (so I'm a little slow). This proved very useful when I was asked to make a search field do more than just search for an ID. I decided NOT to fowl up our nice sleek looking header with a clunky drop down box, instead I turned to jQuery to make the search bar intuitive...observe.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p419code14'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p41914"><td class="code" id="p419code14"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#searchForm&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">//the regular expressions in this function are not meant for validation as much as determining which value to search by.</span>
	<span style="color: #003366; font-weight: bold;">var</span> submitted_appid <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.search input[name=AppID]&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/^[\d]+$/</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>submitted_appid<span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//do nothing since the input is already properly named</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/^[\d-]+$/</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>submitted_appid<span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//change name of input to SSN</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.search input[name=AppID]&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;SSN&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/^[A-Za-z]+$/</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>submitted_appid<span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//change name of input to LastName</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.search input[name=AppID]&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;LastName&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//no match, alert the rep and return false</span>
		<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;invalid search value:<span style="color: #000099; font-weight: bold;">\n</span>for SSN please use numbers and at least one dash '-'<span style="color: #000099; font-weight: bold;">\n</span> for LastName use only letters<span style="color: #000099; font-weight: bold;">\n</span> for AppID use only numbers&quot;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #006600; font-style: italic;">//there was a match add an action and submit the form.</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;action&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'search.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The HTML</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p419code15'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p41915"><td class="code" id="p419code15"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;search&quot;&gt;
    &lt;form id=&quot;searchForm&quot; name=&quot;searchForm&quot; method=&quot;post&quot; action=&quot;&quot;&gt;
	&lt;input type=&quot;text&quot; name=&quot;AppID&quot; value=&quot;Search...&quot; /&gt;
    &lt;/form&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>Then your search app would do something like the following</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p419code16'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p41916"><td class="code" id="p419code16"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'AppID'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
     <span style="color: #666666; font-style: italic;">//enter sql code here</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SSN'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//enter sql code here</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'LastName'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #666666; font-style: italic;">//enter sql code here</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Basically the jQuery decides what to search on based on the characters in the input field, if the wrong mix of characters is present then we fire off an alert message notifying the <del datetime="2010-04-14T20:31:28+00:00">irresponsible</del> party and correcting their <del datetime="2010-04-14T20:31:28+00:00">ignorant</del> ways.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2010/04/using-jquery-to-make-a-smart-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery Random Color Changer</title>
		<link>http://dev.tonic1394.com/2010/04/413/</link>
		<comments>http://dev.tonic1394.com/2010/04/413/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 22:51:25 +0000</pubDate>
		<dc:creator>Stretch</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[color change]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=413</guid>
		<description><![CDATA[So I had a lot of time on my hands today, and we were trying to figure out a good color palette for one of our customer service portals. Since I'm not in the least bit a designer we decided to wait for one of the Graphic Designers to take a stab at it, only [...]]]></description>
			<content:encoded><![CDATA[<p>So I had a lot of time on my hands today, and we were trying to figure out a good color palette for one of our customer service portals. Since I'm not in the least bit a designer we decided to wait for one of the Graphic Designers to take a stab at it, only problem with that is they were out to lunch. So someone gave me the idea to play around with the colors and make them change from time to time. I wasn't feeling particularly ambitious so I scoured the internet for a good jquery solution to randomly select colors and change background colors based on those that were randomly generated.</p>
<p>below is what I came up with:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p413code18'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p41318"><td class="code" id="p413code18"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/* -- jQuery Colourific */</span>
<span style="color: #009966; font-style: italic;">/* -- v 1.0 - January 2008 */</span>
<span style="color: #006600; font-style: italic;">/* -- by ben watts (http://www.benwatts.ca/sandbox/jquery-colourific/) */</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//$(document).ready</span>
$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	setupColourific<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// setupColourific</span>
<span style="color: #003366; font-weight: bold;">function</span> setupColourific<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> elements <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td.Upload&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// the element that's changing</span>
	elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td.Notes&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td.LoanTitle&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td.hdr&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body#body&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> elements.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	window.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	window.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	window.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">2000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	window.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">2500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	window.<span style="color: #660066;">setInterval</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>changeColour<span style="color: #009900;">&#40;</span>elements<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// changeColour</span>
<span style="color: #003366; font-weight: bold;">function</span> changeColour<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// random values between 0 and 255, these are the 3 colour values</span>
	<span style="color: #003366; font-weight: bold;">var</span> r <span style="color: #339933;">=</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #CC0000;">256</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> g <span style="color: #339933;">=</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #CC0000;">256</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> b <span style="color: #339933;">=</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #CC0000;">256</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// puts the hex value inside this element (e is a jquery object)</span>
	<span style="color: #006600; font-style: italic;">//e.text(getHex(r,g,b)); </span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// change the text colour of this element</span>
	e.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;background-color&quot;</span><span style="color: #339933;">,</span> getHex<span style="color: #009900;">&#40;</span>r<span style="color: #339933;">,</span>g<span style="color: #339933;">,</span>b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// intToHex()</span>
<span style="color: #003366; font-weight: bold;">function</span> intToHex<span style="color: #009900;">&#40;</span>n<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	n <span style="color: #339933;">=</span> n.<span style="color: #660066;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">16</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #006600; font-style: italic;">// eg: #0099ff. without this check, it would output #099ff</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> n.<span style="color: #660066;">length</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span>
		n <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">+</span>n<span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">return</span> n<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// getHex()</span>
<span style="color: #006600; font-style: italic;">// shorter code for outputing the whole hex value</span>
<span style="color: #003366; font-weight: bold;">function</span> getHex<span style="color: #009900;">&#40;</span>r<span style="color: #339933;">,</span> g<span style="color: #339933;">,</span> b<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #3366CC;">'#'</span><span style="color: #339933;">+</span>intToHex<span style="color: #009900;">&#40;</span>r<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>intToHex<span style="color: #009900;">&#40;</span>g<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>intToHex<span style="color: #009900;">&#40;</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Obviously you'll need to change the selectors to something relevant for your purposes. It's probably not something you want to use on a regular basis but would make a great april fools day joke, or if you feel like a ceasure go ahead and mess with the time interval.</p>
<p>I can't take full credit for this script, the original can be found at <a href="http://www.benwatts.ca/sandbox/jquery-colourific/">This site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2010/04/413/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery vs. Prototype</title>
		<link>http://dev.tonic1394.com/2010/01/jquery-vs-prototype/</link>
		<comments>http://dev.tonic1394.com/2010/01/jquery-vs-prototype/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 00:12:19 +0000</pubDate>
		<dc:creator>Doo</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Prototype]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=391</guid>
		<description><![CDATA[Got a sample article from NFJS that looked at the two libraries.  Thought everyone might enjoy having a look at it.  I thought it was pretty good if a little long winded.  DETAILS only FTW! Ajax Library Smackdown: Prototype vs jQuery by Nathaniel Schutta]]></description>
			<content:encoded><![CDATA[<p>Got a sample article from NFJS that looked at the two libraries.  Thought everyone might enjoy having a look at it.  I thought it was pretty good if a little long winded.  DETAILS only FTW!</p>
<p><a href="http://www.nofluffjuststuff.com/servlet/link?query=http%3A%2F%2Fwww.nofluffjuststuff.com%2Fs%2Fmagazine%2FNFJS_the_Magazine_sample_Ajax_Library_Smackdown_Sept_2009.pdf&amp;tid=1007287&amp;userId=13073&amp;hash=1196879924096&amp;utm_source=showmailX&amp;utm_medium=email&amp;utm_campaign=showmail">Ajax Library Smackdown: Prototype vs jQuery by Nathaniel Schutta</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2010/01/jquery-vs-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinkPost for August 2009</title>
		<link>http://dev.tonic1394.com/2009/09/linkpost-for-august-2009/</link>
		<comments>http://dev.tonic1394.com/2009/09/linkpost-for-august-2009/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 03:13:54 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[LinkPost]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=362</guid>
		<description><![CDATA[Wow, another month has come and gone, and summer is nearing the end. Schools have started back up and it's time to buckle down and start working on things you've learned over the summer (not to mention all the gratuitous homework you may start accumulating). To help you out with either some stress relief, or [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, another month has come and gone, and summer is nearing the end.  Schools have started back up and it's time to buckle down and start working on things you've learned over the summer (not to mention all the gratuitous homework you may start accumulating). To help you out with either some stress relief, or with a project you've been assigned, we have plenty of links to sort through.</p>
<p>This months highlights include the usual sampling of fonts, some image links (tons of photoshop goodness this round), a new image compression resource (better compression than smush.it), jQuery tutorials/plug ins, and some mac widgets to help you get things done on your mac.</p>
<p>Let's get started...</p>
<p><span id="more-362"></span></p>
<h3>-=Images=-</h3>
<p><a title="Plenty of wings for your designy goodness" href="http://labs.chemist2dio.com/free-vector-wings-kick-ass-set.php" target="_blank">http://labs.chemist2dio.com/free-vector-wings-kick-ass-set.php</a> - Vector wings<br />
<a title="Smashing Mag never leaves you in the cold, here warm yourself by the photoshop" href="http://www.smashingmagazine.com/2009/08/03/a-z-of-free-photoshop-plugins-and-filters/" target="_blank"> http://www.smashingmagazine.com/2009/08/03/a-z-of-free-photoshop-plugins-and-filters/</a> - All the free things you need for photoshop<br />
<a title="Actions - because no one does by hand anymore, that'd take talent" href="http://www.tripwiremagazine.com/tutorials/tutorials/huge-essential-collection-of-photoshop-actions-to-dpeed-up-your-work.html" target="_blank"> http://www.tripwiremagazine.com/tutorials/tutorials/huge-essential-collection-of-photoshop-actions-to-dpeed-up-your-work.html</a> - tons of actions for your photoshopery<br />
<a title="icons, icons, and yep, more icons." href="http://www.icopedia.com/" target="_blank"> http://www.icopedia.com/</a> - whenever you need icons, here's where you go<br />
<a title="So I'm going to have to get photoshop so I can get down on all these tutorials and items." href="http://www.noupe.com/tutorial/40-new-high-quality-adobe-photoshop-tutorials.html" target="_blank"> http://www.noupe.com/tutorial/40-new-high-quality-adobe-photoshop-tutorials.html</a> - Awesome photoshop tutorials, man I gotsta get back into photoshop...<br />
<a title="Social sites are friends for people without friends, and people with friends to not have them any more...ish" href="http://www.geeksucks.com/icons/72-sets-of-free-social-bookmarking-icons.htm" target="_blank"> http://www.geeksucks.com/icons/72-sets-of-free-social-bookmarking-icons.htm</a> - Sometimes you need some social icon'ery<br />
<a title="Remember when 'Tech' was all the rage, man I loved that time, that and those awesome table layouts... wait, those layouts were horrific." href="http://bestdesignoptions.com/?p=6258" target="_blank"> http://bestdesignoptions.com/?p=6258</a> - a ton of 'tech' brushes, note: all seem to be from deviant so if your losery proxy hates deviantart, you my friend are SOL - till you get home.<br />
<a title="My pngs punnier than your png... on the interweb, size totally matters." href="http://www.gracepointafterfive.com/punypng" target="_blank"> http://www.gracepointafterfive.com/punypng</a> - Like smush.it, but with better compression (for now)</p>
<h3>-=Mac=-</h3>
<p><a title="Rejoice my small but growing mac community, for I shall attempt to save thee!" href="http://visionwidget.com/toolz/8-web-development/277-apps-macfor-web-development.html" target="_blank"> http://visionwidget.com/toolz/8-web-development/277-apps-macfor-web-development.html</a> - 12 More apps for the mac<br />
<a title="It's funny because I use a pc at work, and boot my mac into win7 when I get home... but if I stayed in osx, I'd totally use these." href="http://speckyboy.com/2009/08/05/30-mac-dashboard-widgets-for-web-designers-and-developers/" target="_blank"> http://speckyboy.com/2009/08/05/30-mac-dashboard-widgets-for-web-designers-and-developers/</a> - more mac love</p>
<h3>-=jQuery=-</h3>
<p><a title="jQuery, is there anything you can't do?" href="http://buildinternet.com/2009/08/lights-out-dimmingcovering-background-content-with-jquery/" target="_blank"> http://buildinternet.com/2009/08/lights-out-dimmingcovering-background-content-with-jquery/</a> - Learn how to dim the background and display content with jQuery... I love the static dimming, very nice.<br />
<a title="Dude, bro, seriously, I have seen some horked over jQ before, and it wasn't cool.  Read this... now" href="http://www.myinkblog.com/2009/08/04/10-tips-for-writing-better-jquery-code/" target="_blank"> http://www.myinkblog.com/2009/08/04/10-tips-for-writing-better-jquery-code/</a> - Tips to help your jQuery become more awesome<br />
<a title="We do this, only a different way, I think" href="http://www.webgurusdesignblog.com/2009/08/fancyplayer-jquery-fancybox-and-flowplayer-integration-tutorial/" target="_blank"> http://www.webgurusdesignblog.com/2009/08/fancyplayer-jquery-fancybox-and-flowplayer-integration-tutorial/</a> - Integration tutorial of Flowplayer and Fancybox.<br />
<a title="I read this when I clipped it, but now I can't remember what it was, but it must have been good, or it wouldn't be here." href="http://codefusionlab.blogspot.com/2009/06/31-refreshing-jquery-techniquesplugins.html" target="_blank"> http://codefusionlab.blogspot.com/2009/06/31-refreshing-jquery-techniquesplugins.html</a><br />
<a title="Firebug and jQuery?!? that's like pairing awesome with legendary! " href="http://firequery.binaryage.com/" target="_blank"> http://firequery.binaryage.com/</a> - Firefox plugin that changes firebug to respect the jQ, and jQuerify pages (insert jQ directly into the page through the console<br />
<a title="Yay for ajax and jQ!" href="http://www.devirtuoso.com/2009/08/beginners-guide-to-using-ajax-with-jquery-part-2/" target="_blank"> http://www.devirtuoso.com/2009/08/beginners-guide-to-using-ajax-with-jquery-part-2/</a> - Part two from last months guide to ajax with jQuery<br />
<a title="This is hot, but if you can't run php, keep-a-lookin'" href="http://www.agilecarousel.com/" target="_blank"> http://www.agilecarousel.com/</a> - Nice carousel, but it looks like it requires php...<br />
<a title="I've been having a heck of a month making carousels by hand, I'm getting rather addicted to sliders now." href="http://www.noupe.com/design/sliding-content.html" target="_blank"> http://www.noupe.com/design/sliding-content.html</a> - Me likey the sliders...<br />
<a title="Been doing tons of ajaxery this month, kinda funny how whatever I tend to do this month makes the list eh?" href="http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/" target="_blank"> http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/</a> - yep some ajax with the jQ, always a good time<br />
<a title="You've seen them, now get them compiled with long descriptions on one page!" href="http://www.smashingmagazine.com/2009/08/23/50-useful-new-jquery-techniques/" target="_blank"> http://www.smashingmagazine.com/2009/08/23/50-useful-new-jquery-techniques/</a> - I'm fairly sure I've covered most of these by now, but smash is great, so here is their list.<br />
<a title="For those stealing google streetview images, this *ahem* may work almost perfectly..." href="http://www.openstudio.fr/jQuery-spherical-panorama-viewer.html?lang=en" target="_blank"> http://www.openstudio.fr/jQuery-spherical-panorama-viewer.html?lang=en</a> - Spherical Viewer plugin... looks interesting</p>
<h3>-=Fonts=-</h3>
<p><a title="Gotta love the fonts" href="http://www.tripwiremagazine.com/design/design/60-free-fonts-for-big-bold-and-beautiful-headlines.html" target="_blank"> http://www.tripwiremagazine.com/design/design/60-free-fonts-for-big-bold-and-beautiful-headlines.html</a><br />
<a title="I'm going to have to go back to using the word 'cool', because apparently me and the rest of the internet is trying to overkill the word 'awesome'" href="http://www.tripwiremagazine.com/design/design/35-really-awesome-free-grunge-fonts-with-inspirational-showcases.html" target="_blank"> http://www.tripwiremagazine.com/design/design/35-really-awesome-free-grunge-fonts-with-inspirational-showcases.html</a> - I swear I've linked this before, but it shows up as new in the feeds, so here we go...<br />
<a title="I love seo, and that these blog posts say everything so I don't have to" href="http://www.smashingmagazine.com/2009/08/07/beautiful-new-free-fonts-for-your-designs/" target="_blank"> http://www.smashingmagazine.com/2009/08/07/beautiful-new-free-fonts-for-your-designs/</a><br />
<a title="seriously, I swear I saw some of these last month or the month before..." href="http://www.tripwiremagazine.com/design/fonts/75-free-fonts-for-professional-design.html" target="_blank"> http://www.tripwiremagazine.com/design/fonts/75-free-fonts-for-professional-design.html</a> - I'm starting to wonder if tripwire is reusing some of the fonts in all of their posts...<br />
<a title="Funny how we're all wicked-cheap, but if we make something we charge through the nose for it right?" href="http://www.instantshift.com/2009/08/14/40-fresh-high-quality-free-fonts-for-your-designs/" target="_blank"> http://www.instantshift.com/2009/08/14/40-fresh-high-quality-free-fonts-for-your-designs/</a> - 40 more fonts, not all are free, but some are.<br />
<a title="You know what? I don't care what anybody says, break out the pearl jam, the flannel, and the doc martin's cause grunge is back" href="http://spyrestudios.com/32-trashy-and-distorted-fonts-for-you-next-grungy-design/" target="_blank"> http://spyrestudios.com/32-trashy-and-distorted-fonts-for-you-next-grungy-design/</a> - get your grungy dirty font on.<br />
<a title="I loves the free fontage" href="http://webdesignledger.com/freebies/28-free-high-quality-fonts-to-boost-your-typography" target="_blank"> http://webdesignledger.com/freebies/28-free-high-quality-fonts-to-boost-your-typography</a> - Yay for fonts<br />
<a title="Why use your own chicken-scratch when you can use someone elses?" href="http://designm.ag/resources/handwritten-fonts/" target="_blank"> http://designm.ag/resources/handwritten-fonts/</a> - Handwritten fonts are the new..uh.. font</p>
<h3>-=Tools=-</h3>
<p><a title="This actually looked pretty cool, although I'm using woopra, and really enjoying it." href="http://www.webresourcesdepot.com/integrate-statistics-into-any-application-using-open-web-analytics/" target="_blank"> http://www.webresourcesdepot.com/integrate-statistics-into-any-application-using-open-web-analytics/</a><br />
<a title="and who isn't down with free flv players?" href="http://flv-player.net/" target="_blank"> http://flv-player.net/</a> - Pretty good free flv player<br />
<a title="Freaking Sweet! This thing is truely awesome! I used to have a trick in photoshop CS2 (I think) that I learned from a Scott Kelby book about how to do this, but this is a dead simple free app to use" href="http://sourceforge.net/projects/imageenlarger/" target="_blank"> http://sourceforge.net/projects/imageenlarger/</a> - SmillaEnlarger, image enlarger (w/out artifacting! ish...)<br />
<a title="This message will self destruct in..." href="http://vanish.cs.washington.edu/" target="_blank"> http://vanish.cs.washington.edu/</a> - Freaking sweet encryption technique, good idea, doubt I'll ever use it, but it's good to know someone is still doing something to keep privacy alive.<br />
<a title="Hoist the Jolly Roger ho! I mean, uh, use this for when you get a pdf file that you bought that uh.. yeah I really don't have a legal way to use this." href="http://pdfpirate.net/" target="_blank"> http://pdfpirate.net/</a> - for those times when a restricted pdf just doesn't get you what you want... muhwa ha ha<br />
<a title="Are my sites up? wait hold on, that's a different site, but this can do it too (or you can code your own service with a little php and the @email addresses of major phone carriers and then just txt yourself when the ping fails...)" href="http://www.pingdom.com/" target="_blank"> http://www.pingdom.com/</a> - We've covered the great list of tools they offer before, but now they offer a free account for website uptime-monitoring.</p>
<h3>-=Misc=-</h3>
<p><a title="Speed from the massive info-demon google (seriously though, I loves google, and they know a thing or two about speed)" href="http://code.google.com/speed/articles/" target="_blank"> http://code.google.com/speed/articles/</a> - Google's take on improving the web, and making it faster<br />
<a title="I likes the cheatsheets" href="http://designfellow.com/blog/freebies/codeigniter-quick-reference-cheat-sheet-version-2-0-released/" target="_blank"> http://designfellow.com/blog/freebies/codeigniter-quick-reference-cheat-sheet-version-2-0-released/</a> - cheat sheet for codeigniter<br />
<a title="Simplify your regexery" href="http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know/" target="_blank"> http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know/</a> - another excellent tutorial on regexing, or at least some important ones to know.<br />
<a title="Comet is the new hotness I want to play with" href="http://www.freeliberator.com/" target="_blank"> http://www.freeliberator.com/</a> - Liberator is a comet server (comet is like ajax... get it) only it runs on push methodology, check it out, here's a free server... oh and to get your "free license" you need to fill out a marketing form.<br />
<a title="This is a great little resource for looking up all that crazy unicode codes." href="http://www.ftrain.com/unicode/" target="_blank"> http://www.ftrain.com/unicode/</a> - Get your unicode on<br />
<a title="I'm not usually a fan of those &quot;what the user can see&quot; sites, but this is actually pretty decent" href="http://www.methodologie.com/webcanvas/" target="_blank"> http://www.methodologie.com/webcanvas/</a> - Nice visual example of what visitors will be able to see (dimensions of your page) on your site.<br />
<a title="I really only enjoy the importing one, but until I try it, I can't really endorse it.  But it does sound great doesn't it?" href="http://www.devirtuoso.com/2009/08/speeding-up-page-loading-for-javascript-heavy-sites/" target="_blank"> http://www.devirtuoso.com/2009/08/speeding-up-page-loading-for-javascript-heavy-sites/</a> - I have heard of using imports for your js files, but initially shrugged it off as a possible bad practice, but after reading this, the import could come in very handy.<br />
<a title="This one time (ok fine, last week) we tried to set a co-workers HOSTS file to go here instead of his homepage (google.com), it almost worked, and it would have been hilarous (stupid windows defender!)" href="http://mrdoob.com/projects/chromeexperiments/google_gravity/" target="_blank"> http://mrdoob.com/projects/chromeexperiments/google_gravity/</a> - Useless, but fun and a great example of what you can do with box2d. Works best in Chrome, but FF3.5 performed adequately too.</p>
<p>That's all for now, but as always, let me know if any links are broken, mis-directed, or just plain wrong.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2009/09/linkpost-for-august-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summer 2009 LinkPost Extravaganza!</title>
		<link>http://dev.tonic1394.com/2009/08/summer-2009-linkpost-extravaganza/</link>
		<comments>http://dev.tonic1394.com/2009/08/summer-2009-linkpost-extravaganza/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 00:53:33 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[LinkPost]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=356</guid>
		<description><![CDATA[Whoa, what happened? I'll tell you what happened, I blinked and it was August! But fear not! I have kept the links that I was going to post and have compiled them into what I like to call the Summer 2009 LinkPost Extravaganza! Cheesy? Yes, a little absurd? Absolutely, but hey at least you're getting [...]]]></description>
			<content:encoded><![CDATA[<p>Whoa, what happened? I'll tell you what happened, I blinked and it was August! But fear not! I have kept the links that I was going to post and have compiled them into what I like to call the Summer 2009 LinkPost Extravaganza! Cheesy? Yes, a little absurd? Absolutely, but hey at least you're getting the links right?</p>
<p>This Post features plenty of images (icons, textures, etc.), a large selection of jQuery goodness, some php, fonts, and plenty of tools, resources, and tutorials.  I even threw in a few links for our growing mac-user community (yeah, you can't see it, but I'm patting myself on the back).</p>
<p>Enough drivel, time to give the peoples what they want, the links!<br />
<span id="more-356"></span></p>
<h2>-= Images, icons, brushes, tools ==-</h2>
<p><a title="Make your jpgs suck less" href="http://www.smashingmagazine.com/2009/07/01/clever-jpeg-optimization-techniques/" target="_blank"> http://www.smashingmagazine.com/2009/07/01/clever-jpeg-optimization-techniques/</a> - Make your jpegs super awesome<br />
<a title="Make your own icon and become...uh... an icon" href="http://www.tripwiremagazine.com/design/tutorials/design-your-own-icons-25-tutorials-and-articles-designers-must-have.html" target="_blank"> http://www.tripwiremagazine.com/design/tutorials/design-your-own-icons-25-tutorials-and-articles-designers-must-have.html</a><br />
<a title="More tiles and textures!" href="http://pelfusion.com/freebies/30-free-resources-for-background-patterns-and-textures/" target="_blank"> http://pelfusion.com/freebies/30-free-resources-for-background-patterns-and-textures/</a> - Tile and textures and patterns oh my!<br />
<a title="This is a pretty cool site/idea, me likey" href="http://www.backgroundlabs.com/" target="_blank"> http://www.backgroundlabs.com/</a> - Backgrounds, patterns, and the like sorted by color (which is kinda nice)<br />
<a title="Remember to read part 2!" href="http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/" target="_blank"> http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/</a> - Good read.<br />
<a title="Yay for pngs!" href="http://www.smashingmagazine.com/2009/07/25/png-optimization-guide-more-clever-techniques/" target="_blank"> http://www.smashingmagazine.com/2009/07/25/png-optimization-guide-more-clever-techniques/</a> - PNG optimization part 2...<br />
<a title="Yay for texture packs" href="http://webdesignledger.com/freebies/30-awesome-textures-for-creating-subtle-grunge-designs" target="_blank"> http://webdesignledger.com/freebies/30-awesome-textures-for-creating-subtle-grunge-designs</a> - Nice texture packs<br />
<a title="Vector nom nom nom" href="http://www.webdesignerdepot.com/2009/07/200-free-exclusive-vector-icons-primo/" target="_blank"> http://www.webdesignerdepot.com/2009/07/200-free-exclusive-vector-icons-primo/</a> - Free icons for personal and commercial use.<br />
<a title="Wow 37 places! not 38 or 36, but 37!" href="http://www.graphicfetish.com/37-places-to-get-free-stock-images/" target="_blank"> http://www.graphicfetish.com/37-places-to-get-free-stock-images/</a> - yep, 37 places to get free stock photos... booyeah!<br />
<a title="Remeber gimpies you can use these too" href="http://www.softalize.com/2009/06/01/22-excellent-photoshop-brushes-to-spice-up-designs/" target="_blank"> http://www.softalize.com/2009/06/01/22-excellent-photoshop-brushes-to-spice-up-designs/</a> - Here's some more ps brushes<br />
<a title="This is pretty cool" href="http://all-silhouettes.com/" target="_blank"> http://all-silhouettes.com/</a> - All the free sillouettes you can shake a stick at... trees, people, etc.<br />
<a title="everything must go!" href="http://pelfusion.com/awesome-graphics/freebies-for-designers-icons-vectors-photoshop-brushes-stock-images-templates/" target="_blank"> http://pelfusion.com/awesome-graphics/freebies-for-designers-icons-vectors-photoshop-brushes-stock-images-templates/</a> - Free stuff round-up!<br />
<a title="More icons" href="http://www.smashingmagazine.com/2009/06/07/50-fresh-useful-icon-sets-for-your-next-design/" target="_blank"> http://www.smashingmagazine.com/2009/06/07/50-fresh-useful-icon-sets-for-your-next-design/</a> - Who doesn't love icons?<br />
<a title="my desc says it all" href="http://www.noupe.com/photoshop/photoshop-brushes-and-how-to.html" target="_blank"> http://www.noupe.com/photoshop/photoshop-brushes-and-how-to.html</a> - ps brushes and how-to's, what's not to love.<br />
<a title="because why not? everyone needs 500 icons" href="http://www.webresourcesdepot.com/a-set-of-500-quality-icons-led-web-icons/" target="_blank"> http://www.webresourcesdepot.com/a-set-of-500-quality-icons-led-web-icons/</a> - 500 icons for you!<br />
<a title="More textures for my peoples" href="http://www.texturelovers.com/" target="_blank"> http://www.texturelovers.com/</a> - Textures and tutorials, good site<br />
<a href="http://pixelmixer.ru/basic_set/" target="_blank"> http://pixelmixer.ru/basic_set/</a> - More icons<br />
<a title="Yep another color tool" href="http://www.colorexplorer.com/default.aspx" target="_blank"> http://www.colorexplorer.com/default.aspx</a> - Color explorer a nice tool for color schemes, palletes and the like.<br />
<a title="I mean I have inkscape, but I'm just not that great with it... perhaps if I spent some time on it." href="http://vectips.com/tutorials/turn-any-font-into-a-sketch-font/" target="_blank"> http://vectips.com/tutorials/turn-any-font-into-a-sketch-font/</a> - Some people are cooler than me and have illustrator, for those that are cooler than me, here's a fun little tutorial.<br />
<a title="I likes texture" href="http://freestocktextures.com/" target="_blank"> http://freestocktextures.com/</a> - Free textures for the taking.<br />
<a title="Yay for brushes" href="http://www.minervity.com/features/photoshop/the-ultimate-collection-of-the-best-ornament-photoshop-brushes/" target="_blank"> http://www.minervity.com/features/photoshop/the-ultimate-collection-of-the-best-ornament-photoshop-brushes/</a> - Who doesn't need more brushes.<br />
<a title="Make your pictures crunchy" href="http://webdesignledger.com/freebies/80-fresh-new-textures-for-creating-web-site-backgrounds" target="_blank"> http://webdesignledger.com/freebies/80-fresh-new-textures-for-creating-web-site-backgrounds</a> - More textures, cos textures are pertiful.<br />
<a title="Logos for everyone'" href="http://www.seeklogo.com/" target="_blank"> http://www.seeklogo.com/</a> - Almost every logo in ai, pdf, or tiff format for your medling</p>
<h2>-=Tools &amp; Resources &amp; Tutorials=-</h2>
<p>Fiddler2 now integrates with firefox (and the masses rejoice!)<br />
http://astuteo.com/slickmap/ - Nice little stylesheet for sitemaps, me likey<br />
<a title="Good stuff, I likes me some noupe" href="http://feedproxy.google.com/~r/Noupe/~3/Q1PEz3CydLE/50-best-of-designers-free-resources.html" target="_blank"> http://feedproxy.google.com/~r/Noupe/~3/Q1PEz3CydLE/50-best-of-designers-free-resources.html</a> - noupe saving the best for now.<br />
<a href="http://www.smashingmagazine.com/2009/07/13/css-3-cheat-sheet-pdf/" target="_blank"> http://www.smashingmagazine.com/2009/07/13/css-3-cheat-sheet-pdf/</a> - I've resisted the whole lets jump on the css3 movement, but now that multiple browsers support it.  It's something that can't be ignored too much longer...<br />
<a title="I can't wait to use this in 10 years!" href="http://www.noupe.com/css3/css3-exciting-functions-and-features-30-useful-tutorials.html" target="_blank"> http://www.noupe.com/css3/css3-exciting-functions-and-features-30-useful-tutorials.html</a> - 30 tutorials on using css3<br />
<a title="Good to know that I'm not the only one who does this." href="http://www.onextrapixel.com/2009/07/15/the-importance-of-wireframes-in-web-design-and-9-tools-to-create-wireframes/" target="_blank"> http://www.onextrapixel.com/2009/07/15/the-importance-of-wireframes-in-web-design-and-9-tools-to-create-wireframes/</a> - I call it 'block level' design, but it's how I get things going even when handed a visual design, so here's a post about it.<br />
<a title="This one time I tried to help a guy with his SEO, wow... it was a nightmare and I'm not sure he understood anything." href="http://www.webdesignbooth.com/15-useful-firefox-seo-tools-for-serious-bloggers-and-web-designers/" target="_blank"> http://www.webdesignbooth.com/15-useful-firefox-seo-tools-for-serious-bloggers-and-web-designers/</a> - SEO tools for everyone!<br />
<a title="Yeah, ffmpeg is what makes the world go round." href="http://www.iepak.com/30/topicdetail.aspx" target="_blank"> http://www.iepak.com/30/topicdetail.aspx</a> - Useful, upload video, use php to run ffmpeg to convert to flv and then throw it on the page.<br />
<a title="I'm a fan of the cheat-sheets" href="http://www.webdesignerdepot.com/2009/07/30-handy-cheat-sheets-and-reference-guides-for-web-professionals/" target="_blank"> http://www.webdesignerdepot.com/2009/07/30-handy-cheat-sheets-and-reference-guides-for-web-professionals/</a> - I've probably linked most of these before, but always nice to have a list of cheat-sheets<br />
<a title="I find that if I used all of these, I'd never get anything done." href="http://www.tripwiremagazine.com/tools/tools/35-extremely-useful-free-online-tools-for-web-developers-and-designer.html" target="_blank"> http://www.tripwiremagazine.com/tools/tools/35-extremely-useful-free-online-tools-for-web-developers-and-designer.html</a> - Explatives a'plenty, this list is useful, and I haven't even been through the whole thing yet.<br />
<a title="How many tools do we actually need?" href="http://www.webdesignerdepot.com/2009/07/massive-compilation-of-designer-tools/" target="_blank"> http://www.webdesignerdepot.com/2009/07/massive-compilation-of-designer-tools/</a> - More of the same, but with some new content<br />
<a title="More regex'ery?" href="http://www.catswhocode.com/blog/15-php-regular-expressions-for-web-developers" target="_blank"> http://www.catswhocode.com/blog/15-php-regular-expressions-for-web-developers</a> - Yay for regex and people that understand it.<br />
<a title="Snook is my hero... Snook works for SquaredSpace." href="http://snook.ca/archives/html_and_css/css-text-rotation" target="_blank"> http://snook.ca/archives/html_and_css/css-text-rotation</a> - wow... it's like the jQuery tutorial, only with css instead of jQ.<br />
<a title="ok you 90% of the population that is &quot;normal&quot; make way for the rest of us dangit, we're people too!" href="http://www.uxbooth.com/blog/5-tools-to-increase-accessibility/" target="_blank"> http://www.uxbooth.com/blog/5-tools-to-increase-accessibility/</a> - good tools for accessibility testing<br />
<a title="What?! someone else has a linkpost!? oh right, they call it something else." href="http://creativenerds.co.uk/news/best-of-the-web-july-for-webgraphic-design/" target="_blank"> http://creativenerds.co.uk/news/best-of-the-web-july-for-webgraphic-design/</a> - Someone elses link post<br />
<a title="regex it! /',/f1/aa/A/[0-a]/  - Yeah, I just made that up :)" href=" http://www.smashingmagazine.com/2009/06/01/essential-guide-to-regular-expressions-tools-tutorials-and-resources/" target="_blank"> http://www.smashingmagazine.com/2009/06/01/essential-guide-to-regular-expressions-tools-tutorials-and-resources/</a> - Regex'ing will save you time and lines of code, so brush up here.<br />
<a title="Awesome was not the correct word, pretty cool was." href="https://browserlab.adobe.com/index.html" target="_blank"> https://browserlab.adobe.com/index.html</a> - Awesome multi-browser rendering engine from adobe.  It's screen shot based, so not wicked helpful, but shows you if you're lined up correctly.<br />
<a title="SQL for everyone!" href="http://net.tutsplus.com/tutorials/other/10-essential-sql-tips-for-developers/" target="_blank"> http://net.tutsplus.com/tutorials/other/10-essential-sql-tips-for-developers/</a> - Always nice to brush up on your SQL<br />
<a title="Don't follow this link if you want the tool, follow the next link." href="http://ajaxian.com/archives/page-speed-new-open-source-firebug-performance-extension-from-google" target="_blank"> http://ajaxian.com/archives/page-speed-new-open-source-firebug-performance-extension-from-google</a> - The ajaxian article<br />
<a title="Like Yahoo, only Google Style" href="http://code.google.com/speed/page-speed/" target="_blank"> http://code.google.com/speed/page-speed/</a> - The official Google Code site.<br />
- Google caught up to Yahoo on pushing out a web performance util.  I wonder if I run both at the same time if worlds will collide and I'll cause a catastrophic failure, or maybe a headron collider, or possibly an event horizon.  UPDATE: Turns out that it just eats up more ram... a shame really I was looking forward to opening pandora's box.<br />
<a title="I think my first parallax experience was with Sonic" href="http://webstandard.kulando.de/post/2009/04/30/best-of-parallax-effect" target="_blank"> http://webstandard.kulando.de/post/2009/04/30/best-of-parallax-effect</a> - get your parallax on with these examples<br />
<a title="When we tested this, we found the results to be somewhat &quot;mixed&quot;" href="http://tester.jonasjohn.de/" target="_blank"> http://tester.jonasjohn.de/</a> - Test everything (well just about) on a website, SEO, proxy, spell checking<br />
<a title="Ever used a computer that you had no idea what it was (like that chinese tablet I borrowed)? Well find out what it can do!" href="http://supportdetails.com/" target="_blank"> http://supportdetails.com/</a> - Cool simple way to get lots of info about a compy you are sitting at.. (oddly enough I was building the same thing, and now I don't have too).</p>
<h2>-=AIR=-</h2>
<p><a title="You could read this and build your own... or you could use Google Reader..." href="http://www.webdesignermag.co.uk/blog/build-an-adobe-air-rss-reader/" target="_blank"> http://www.webdesignermag.co.uk/blog/build-an-adobe-air-rss-reader/</a> - Building an Air based RSS reader tutorial.<br />
<a title="I'm a fan of many air apps" href="http://www.webdesignerdepot.com/2009/07/40-great-adobe-air-applications-for-designers-and-developers/" target="_blank"> http://www.webdesignerdepot.com/2009/07/40-great-adobe-air-applications-for-designers-and-developers/</a> - Air apps for designers!<br />
<a title="I mean I didn't try it, but it sounded like a good idea" href="http://flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.html" target="_blank"> http://flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.html</a> - Flex/Air developers, this is a tool for you, it helps you test your apps before you release'm.</p>
<h2>-=PHP=-</h2>
<p><a title="Inject a little love into your sql" href="http://61924.nl/blog/e/00010-prevent-xss-and-sql-injections.html" target="_blank"> http://61924.nl/blog/e/00010-prevent-xss-and-sql-injections.html</a> - A good article on stopping xss and sql injection (seems to be all about the php... so it may or may not apply)<br />
<a title="Cross site this!" href="http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/" target="_blank"> http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/</a> - always good to be reminded to lock down your xss.<br />
<a title="Ever noticed that everyone wants to be a rockstar?" href="http://dev-tips.com/featured/5-more-quality-sites-to-help-you-become-a-php-rockstar" target="_blank"> http://dev-tips.com/featured/5-more-quality-sites-to-help-you-become-a-php-rockstar</a> - Rock on you PHP Magician, rock on.<br />
<a title="Get your own API on" href="http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/" target="_blank"> http://www.webresourcesdepot.com/how-to-create-an-api-10-tutorials/</a> - Mostly php, but there's some Ruby/Rails and a vb.net version in there too.</p>
<h2>-=jQuery=-</h2>
<p><a title="Good times for everyone" href="http://www.w3avenue.com/2009/07/01/list-of-really-useful-plugins-for-jquery-developers/" target="_blank"> http://www.w3avenue.com/2009/07/01/list-of-really-useful-plugins-for-jquery-developers/</a> - More help for the jQuery file<br />
<a title="Quick bust out the konami code!" href="http://www.marcofolio.net/webdesign/advanced_keypress_navigation_with_jquery.html" target="_blank"> http://www.marcofolio.net/webdesign/advanced_keypress_navigation_with_jquery.html</a> - Handling keypress events with jQuery<br />
<a title="When your docs suck, so does the popularity of your product (I'm staring right at you lazlo and rico... right at you)" href="http://www.happyworm.com/jquery/jplayer/" target="_blank"> http://www.happyworm.com/jquery/jplayer/</a> - a nice mp3 jQuery player (highly configurable, but docs are deplorable)<br />
<a title="Fix your ugly nav" href="http://webdeveloperplus.com/jquery/15-jquery-tutorials-for-more-interactive-navigation/" target="_blank"> http://webdeveloperplus.com/jquery/15-jquery-tutorials-for-more-interactive-navigation/</a> - Navigation Tutorials<br />
<a title="mmm audio with jQuery and Flash..." href="http://evanriley.xiaimix.com/using-jquery-to-play-media-files-mp3wmaetcetc/" target="_blank"> http://evanriley.xiaimix.com/using-jquery-to-play-media-files-mp3wmaetcetc/</a> - All your media, played with jQ and Flash<br />
<a title="This sounded cool, then I saw a site using it, and yeah, not my cup'o'tea, but give it a shot." href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/minizoompan/" target="_blank"> http://www.gcmingati.net/wordpress/wp-content/lab/jquery/minizoompan/</a> - Cool little zoomer util, no pre-loader.<br />
<a title="By the time you read this, there will be like 4 variants of this.  But this was the first or second that I saw, so it gets the link." href="http://boedesign.com/2009/07/11/growl-for-jquery-gritter/" target="_blank"> http://boedesign.com/2009/07/11/growl-for-jquery-gritter/</a> - jQuery Growl like notifications<br />
<a title="Virtual Keyboards are good and bad." href="http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-keyboard-with-css-and-jquery/" target="_blank"> http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-keyboard-with-css-and-jquery/</a> - Awesome little onscreen keyboard with jQuery and some css.<br />
<a title="Yes, I was redundant, I said IBM and long-winded in the same sentence." href="http://www.ibm.com/developerworks/web/library/wa-aj-advjquery2/index.html" target="_blank"> http://www.ibm.com/developerworks/web/library/wa-aj-advjquery2/index.html</a> - Longwinded, but always nice to see a jQ tut on IBM.<br />
<a href="http://speckyboy.com/2009/07/17/25-fresh-and-new-jquery-plugins-and-tutorials/" target="_blank"> http://speckyboy.com/2009/07/17/25-fresh-and-new-jquery-plugins-and-tutorials/</a> - Always nice to see new jQuery tuts.. some of them I have already linked to.<br />
<a title="Homebrew jQuery tastes as good or better than official jQuery, 3 out of 5 people say." href="http://www.sitepoint.com/blogs/2009/07/22/how-to-develop-a-jquery-plugin/" target="_blank"> http://www.sitepoint.com/blogs/2009/07/22/how-to-develop-a-jquery-plugin/</a> - Sitepoint takes a stab at making jQuery plugins<br />
<a title="Sez it all." href="http://www.tripwiremagazine.com/tools/developer-toolbox/60-must-have-jquery-toolbox.html" target="_blank"> http://www.tripwiremagazine.com/tools/developer-toolbox/60-must-have-jquery-toolbox.html</a> - Many of these I've linked to, but the page is good (thanks to the find feature in your browser)<br />
<a title="This is good, but no lies, either same or next day, another tutorial popped up on how to do this with just CSS." href="http://css-tricks.com/date-display-with-sprites/" target="_blank"> http://css-tricks.com/date-display-with-sprites/</a> - Simple, but awesome, thanks jQuery<br />
<a title="Yep. Ajax, jQuery." href="http://www.devirtuoso.com/2009/07/beginners-guide-to-using-ajax-with-jquery/" target="_blank"> http://www.devirtuoso.com/2009/07/beginners-guide-to-using-ajax-with-jquery/</a> - jQuery and ajax...mmmmm<br />
<a title="psst.  Hey bro. your asp is showing." href="http://www.jankoatwarpspeed.com/post/2009/06/01/Advanced-docking-using-jQuery.aspx" target="_blank"> http://www.jankoatwarpspeed.com/post/2009/06/01/Advanced-docking-using-jQuery.aspx</a> - Add docking to your project/webapp/site with some jQuery goodness<br />
<a title="It's kinda long making funny things to type in as the title text... I'm giving up on the next few (oh and I started at the bottom of the list)" href="http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html" target="_blank"> http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html</a> - Nice jQuery drop-down menu, it's very nice...<br />
<a title="umutm == Web Resources Depot... go there and become awesome" href="http://jquerylist.com/" target="_blank"> http://jquerylist.com/</a> - my new favorite jQuery hangout (:o) (mega props to umutm@twitter for this one!)<br />
<a title="Good tutorial, terrible name, Seriously, GayADesign? that's about as good as ExpertSexChange..." href="http://www.gayadesign.com/diy/puffing-smoke-effect-in-jquery/" target="_blank"> http://www.gayadesign.com/diy/puffing-smoke-effect-in-jquery/</a> - jQuery making animation and special effects wicked easy.  Cool idea, nice execution.<br />
<a title="Behold! a ui lib from the flowplayer guys" href="http://flowplayer.org/tools/" target="_blank"> http://flowplayer.org/tools/</a> - A pretty sweet suite of jQuery tools from the flowplayer developers<br />
<a title="Modal is the new iframe..." href="http://www.pierrebertet.net/projects/jquery_superbox/" target="_blank"> http://www.pierrebertet.net/projects/jquery_superbox/</a> - We had FancyBox, then nyromodal, is this the new jQuery modal window of choice? (nah, probably not, nyro is still king, but hey it's good to have competitors)<br />
<a title="Break it up! Good, now put it into two columns" href="http://upsidestudio.com/web/splitcol/" target="_blank"> http://upsidestudio.com/web/splitcol/</a> - Have a list that is too long for a section, but would fit if you split it in two? With this and some jQuery goodness, you can do that.<br />
<a title="Sprite, the other 7-up" href="http://www.distinctcorp.com.au/jquery/spritemenu.html" target="_blank"> http://www.distinctcorp.com.au/jquery/spritemenu.html</a> - Normally I don't post links to things like sprite effects, but this is pretty good, and easy.<br />
<a title="Fonts, jQuery, Effects? What's not to love?" href="http://www.iofo.it/jquery/fonteffect/" target="_blank">http://www.iofo.it/jquery/fonteffect/</a> - Some text effects with jQuery magic (I like mirror the most, but that's just me)<br />
<a title="jQuery for n00bs, step right up" href="http://www.1stwebdesigner.com/tutorials/53-jquery-tutorials-resources-tips-and-tricks-ultimate-collection/" target="_blank"> http://www.1stwebdesigner.com/tutorials/53-jquery-tutorials-resources-tips-and-tricks-ultimate-collection/</a> - Still haven't tried jQuery? what are you waiting for! start here for lots of goodies, tutorials, and tricks</p>
<h2>-=Javascript=-</h2>
<p><a title="Remember when flash was used for things other than video?  Yeah, javascript rules." href="http://sixrevisions.com/javascript/10-impressive-javascript-animation-frameworks/" target="_blank"> http://sixrevisions.com/javascript/10-impressive-javascript-animation-frameworks/</a> - javascript animation libs (pretty cool, yo)<br />
<a title="GLOW - a js lib from the BBC" href="http://www.bbc.co.uk/glow/docs/articles/what_is_glow.shtml" target="_blank"> http://www.bbc.co.uk/glow/docs/articles/what_is_glow.shtml</a> - Glow, the Official BBC js lib (like YUI, jQuery, etc...), nice idea, I mean, I'll stick to jQ, but hey if you ever need to build a site that works on pure chaos, I mean ie5 and safari &lt; 2, this is the show for you.<br />
<a title="Recently I've had to make charts, thanks to this my charts are pretty and awesome." href="http://www.webdesignbooth.com/14-javascript-resources-and-plugins-for-creating-a-stylish-chart/" target="_blank"> http://www.webdesignbooth.com/14-javascript-resources-and-plugins-for-creating-a-stylish-chart/</a> - charts...nom nom nom</p>
<h2>-=Misc=-</h2>
<p><a title="Netbooks are yummy... check out the ubuntu flavored notebook os, it's nice, I haven't tried this one though." href="http://www.jolicloud.com/" target="_blank"> http://www.jolicloud.com/</a> - a replacement netbook os (for you netbook users)<br />
<a title="dude, bro, homes... this is the new hotness, the fresh burnination, the explative. Quit wasting time and click the link already!" href="http://listen.grooveshark.com" target="_self"> http://listen.grooveshark.com</a> - My new favorite of all online music listening/streaming services<br />
<a title="If apple didn't hate everything that made working with it's code easy, this would be a really cool program." href="http://code.google.com/p/safire/" target="_blank"> http://code.google.com/p/safire/</a> - a framework for building iPhone apps<br />
<a title="Get your theme on, WordPress style" href="http://webdesignledger.com/freebies/14-most-visually-appealing-free-wordpress-themes" target="_blank"> http://webdesignledger.com/freebies/14-most-visually-appealing-free-wordpress-themes</a> - Some nice WP themes<br />
<a title="iTunes being locked down sucks, set your library free" href="http://www.pulptunes.com/" target="_blank"> http://www.pulptunes.com/</a> - Access your iTunes library from anywhere (in your web browser), works on mac, windows, and linux.</p>
<h2>-=Mac=-</h2>
<p><a title="PC users: READ THIS NOW, it'll make you not hate mac (as much)" href="http://www.smashingmagazine.com/2009/06/04/30-must-have-tweaks-for-your-mac/" target="_blank"> http://www.smashingmagazine.com/2009/06/04/30-must-have-tweaks-for-your-mac/</a> - If I had known some of these tricks when I got my mac, the transition would have been soooo much easier.  Although I did stumble onto many of these by myself <img src='http://dev.tonic1394.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a title="Like winning the lottery, the chances of finding free utils for the mac are small, so take these now!" href="http://www.smashingmagazine.com/2009/07/05/25-open-source-mac-apps-that-will-boost-your-productivity/" target="_blank"> http://www.smashingmagazine.com/2009/07/05/25-open-source-mac-apps-that-will-boost-your-productivity/</a> - Yay for free mac apps (because there seem to be so few...)<br />
<a title="Good to know that something on the mac has a decent price tag on it." href="http://desizntech.info/2009/06/40-mac-freewares-and-open-source-softwares-for-web-designers/" target="_blank"> http://desizntech.info/2009/06/40-mac-freewares-and-open-source-softwares-for-web-designers/</a> - I have a mac, now I have free tools.</p>
<h2>-=Fonts=-</h2>
<p><a title="Bold Fonts" href="http://www.tripwiremagazine.com/design/design/60-free-fonts-for-big-bold-and-beautiful-headlines.html" target="_blank"> http://www.tripwiremagazine.com/design/design/60-free-fonts-for-big-bold-and-beautiful-headlines.html</a> - 60 fonts for your desiging happiness.<br />
<a title="Professional Free Fonts" href="http://www.unionroom.com/blog/21-fonts-that-shouldnt-be-free-but-are/" target="_blank"> http://www.unionroom.com/blog/21-fonts-that-shouldnt-be-free-but-are/</a> - Some of these I've already linked, but an pretty good list<br />
<a title="Modern Fonts" href="http://www.1stwebdesigner.com/resources/52-really-high-quality-free-fonts-for-modern-and-cool-design/" target="_blank"> http://www.1stwebdesigner.com/resources/52-really-high-quality-free-fonts-for-modern-and-cool-design/</a> - More fonts!<br />
<a title="High Quality Fonts" href="http://www.smashingmagazine.com/2009/06/05/beautiful-high-quality-free-fonts-for-your-designs/" target="_blank"> http://www.smashingmagazine.com/2009/06/05/beautiful-high-quality-free-fonts-for-your-designs/</a> - Yay more free fonts!<br />
<a title="Dirty Grunge Fonts!" href="http://www.webdesignbooth.com/60-awesome-grunge-font-that-every-designer-should-collect/" target="_blank"> http://www.webdesignbooth.com/60-awesome-grunge-font-that-every-designer-should-collect/</a> - more grunge fonts</p>
<p>One last thing.  I didn't really proof read this or check the links, so I'm sure there will be some that are wrong.  Let me know what needs to be fixed in the comments and I'll get it taken care of, thanks!  Happy Summer everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2009/08/summer-2009-linkpost-extravaganza/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Introducing jTrace v1.0</title>
		<link>http://dev.tonic1394.com/2009/05/introducing-jtrace-v10/</link>
		<comments>http://dev.tonic1394.com/2009/05/introducing-jtrace-v10/#comments</comments>
		<pubDate>Tue, 26 May 2009 00:13:45 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Training Sessions]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=332</guid>
		<description><![CDATA[I've been working on a tool for javascript developers. It all started after searching the web for some form of tracing tool I could use when writing javascript so I could see why a certain function wasn't firing. I only found a handful of solutions (and none that I was very impressed by). So I [...]]]></description>
			<content:encoded><![CDATA[<p>I've been working on a tool for javascript developers.  It all started after searching the web for some form of tracing tool I could use when writing javascript so I could see why a certain function wasn't firing. I only found a handful of solutions (and none that I was very impressed by). So I finally ended up coding one myself.</p>
<p>So I give you, <a title="jTrace - javascript tracing for the peoples" href="http://labs.dutsonpa.com/projects/jtrace/index.html" target="_blank">jTrace - javascript tracing for the peoples</a> (say that last part like <a title="Strong Bad Email - The original Video Podcaster...ish" href="http://www.homestarrunner.com/sbemail.html" target="_blank">strong-bad</a> to get the full effect).</p>
<p>I coded jTrace with jQuery 1.3.2 (as an include... not so much a plugin, although that's what I usually call it), and then I created a 'bloated' version that has jQuery included inside of it (for all you mooTools and prototypers out there... I got your back <img src='http://dev.tonic1394.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).  For those who use the bloated version, yeah I coded the jQuery portion to use 'jQuery(...' instead of '$(...' for the selectors so it shouldn't break your exisiting code.</p>
<p>To get an in-depth approach on jTrace and how to use it, head over the '<a title="How to use jTrace in your projects" href="http://labs.dutsonpa.com/projects/jtrace/usage.html" target="_blank">usage</a>' page on the jTrace site.</p>
<p>Have questions, comments, or props? Leave them here in the comments, thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2009/05/introducing-jtrace-v10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pop-ups, the interweb, and you</title>
		<link>http://dev.tonic1394.com/2009/04/pop-ups-the-interweb-and-you/</link>
		<comments>http://dev.tonic1394.com/2009/04/pop-ups-the-interweb-and-you/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 20:55:34 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[pop-up]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://dev.tonic1394.com/?p=297</guid>
		<description><![CDATA[The problem*: You have a page with a pop-up, and when you click a link on it, it needs to change the page that spawned it. I searched everywhere and every result listing let me down. Site after site was bitter disappointment, I searched for 'pop-up close child window redirect parent', then 'pop up change [...]]]></description>
			<content:encoded><![CDATA[<p>The problem*: You have a page with a pop-up, and when you click a link on it, it needs to change the page that spawned it.</p>
<p>I searched everywhere and every result listing let me down. Site after site was bitter disappointment, I searched for 'pop-up close child window redirect parent', then 'pop up change parent', and 'pop up child link change parent window'. I did find some useful code like the 'onunload' event (we'll cover that another time <img src='http://dev.tonic1394.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). I finally stumbled onto the solution by mashing up a few different solutions that were posted for javascript events and the mysterious 'window' method built into the base js library*².</p>
<p>The solution (#1): This solution is for those who want to keep the pop-up open, or just want parent only manipulation (yeah, you can always manipulate the child (pop-up), but solution 2 is soooo much easier for that).</p>
<p>First, let's build a method to handle pop-ups.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p297code23'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p29723"><td class="code" id="p297code23"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> popWindow<span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> myWidth<span style="color: #339933;">,</span> myHeight<span style="color: #339933;">,</span> myScrollbars<span style="color: #339933;">,</span> myTop<span style="color: #339933;">,</span> myLeft<span style="color: #339933;">,</span> myMenubar<span style="color: #339933;">,</span> myResize<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	window.<span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;main&quot;</span><span style="color: #339933;">;</span> <span style="color: #009966; font-style: italic;">/* setting this is the key to letting you manipulate the parent window */</span>
	window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;width=&quot;</span><span style="color: #339933;">+</span>myWidth<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,height=&quot;</span><span style="color: #339933;">+</span>myHeight<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,scrollbars=&quot;</span><span style="color: #339933;">+</span>myScrollbars<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,top=&quot;</span><span style="color: #339933;">+</span>myTop<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,left=&quot;</span><span style="color: #339933;">+</span>myLeft<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,menubar=&quot;</span><span style="color: #339933;">+</span>myMenubar<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,resizable=&quot;</span><span style="color: #339933;">+</span>myResize<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;,bgcolor=#ffffff&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Note that we used "window.name" and set it to "main".  This allows me to reference the parent window from any child windows (pop-ups).  Now that we've done that, in our pop-up window we just need to make the link have a target of "main".  Like so:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p297code24'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p29724"><td class="code" id="p297code24"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;http://fakedoman.com/newpage.html&quot; target=&quot;main&quot;&gt;Change the parent window!&lt;/a&gt;</pre></td></tr></table></div>

<p>Now this comes together on your parent page, you click a link that uses the popWindow function that creates the pop-up that can now reference the parent by the name "main".</p>
<p>The solution (#2): This is the show, the heat, the expletive, the new hotness, and the fresh burnination. Ok, fine, it's old code that's been around forever that everyone on the internet forgot about (or at least didn't blog, write, post, etc).</p>
<p>In your pop up window, build a method like this in your script section (or included js file).</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p297code25'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p29725"><td class="code" id="p297code25"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> openParent<span style="color: #009900;">&#40;</span>webAddress<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	opener.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span><span style="color: #339933;">=</span>webAddress<span style="color: #339933;">;</span>
	window.<span style="color: #000066;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Wow... 2 lines (4 if you count the open and closer of the function), simple, easy. Why has no one told anyone else about this*³ ? Now the only thing left is to call that function in an "onclick" event in your a-tag.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p297code26'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p29726"><td class="code" id="p297code26"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;javascript:void(null);&quot; onclick=&quot;javascript:openParent('http://fakedomain.com/newpage.html');&quot;/&gt;</pre></td></tr></table></div>

<p>Yes, I pointed the href to "javascript:void(null);", the onclick event will overwrite the original href call anyway, so this is how you build the link to keep the code valid to W3c standards.</p>
<p>And that, my friends, is how you code a pop-up window that will change the parent window with a link from the pop-up window.</p>
<div>
&nbsp;</p>
<hr />
&nbsp;
</div>
<p>* Yes I heard all of you grumblers in the back saying 'change the target in the a-tag to "_top" and that'll solve your problem. And you know what? yeah, in 1998 that would have worked. However these days our pop-ups are javascript based, and not so frames/iframe-y.</p>
<p>*² This statement could very well be false... in fact it's made up, I'm not sure if it's built in, I really can't back that up, yeah, total b.s. and yet the code works in IE6, IE7, IE8, Opera 9.63, Safari 3, Firefox 2, Firefox 3, and Chrome... so that kinda seems "built-in", or at least understood and interpreted correctly by most browsers.</p>
<p>*³ It could be that pop-ups in legitimate sites really aren't all that common, and generally the people who use them on their sites are spammers/malware/spyware vendors and should be dragged out in the street and beaten while having their selling slogans chanted and shouted at them (isn't that a pleasant picture you just painted in your head? your welcome).</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.tonic1394.com/2009/04/pop-ups-the-interweb-and-you/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.662 seconds -->

