<?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>CoryMathews.com &#187; General</title>
	<atom:link href="http://corymathews.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://corymathews.com</link>
	<description>Things I should remember and then some...</description>
	<lastBuildDate>Wed, 04 Aug 2010 18:32:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Open All External Links in New Tabs</title>
		<link>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/</link>
		<comments>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 18:26:51 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=628</guid>
		<description><![CDATA[Here is a quick bit of jQuery to make all external links have the target=_blank attribute. &#60;script type="text/javascript"&#62; $(function(){ $("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" }); }); &#60;/script&#62; You could also use this same technique to add a small friendly image next to these links  notifying the user they are about to leave the site. &#60;script type="text/javascript"&#62; $(function(){ [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick bit of jQuery to make all external links have the target=_blank attribute.</p>
<pre name="code" class="javascript">&lt;script type="text/javascript"&gt;
$(function(){
$("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" });
});
&lt;/script&gt;</pre>
<p>You could also use this same technique to add a small friendly image next to these links  notifying the user they are about to leave the site.</p>
<pre name="code" class="javascript">&lt;script type="text/javascript"&gt;
$(function(){
$("a[href^='http:']").not("[href*=EXAMPLE.com']").attr({ target: "_blank" }).append(" &lt;img src=\"outLink.jpg\"&gt;");
});
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/628/make-all-external-links-open-in-a-new-tab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 Redirect using URLRewrite</title>
		<link>http://corymathews.com/597/301-redirect-using-urlrewrite/</link>
		<comments>http://corymathews.com/597/301-redirect-using-urlrewrite/#comments</comments>
		<pubDate>Tue, 11 May 2010 13:30:40 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=597</guid>
		<description><![CDATA[Just in case.. A 301 redirect tells the browser/search engine that the page has permanently been moved to this new address. First install URLRewrite on a windows server with IIS7 from  http://www.iis.net/download/URLRewrite After its installed a new button titled URL Rewrite will be added. Select it. Under Actions click Add Rule(s)&#8230; Select Rule with URL [...]]]></description>
			<content:encoded><![CDATA[<p><em>Just in case.. A 301 redirect tells the browser/search engine that the page has permanently been moved to this new address. </em></p>
<p>First install URLRewrite on a windows server with IIS7 from  <a href="http://www.iis.net/download/URLRewrite">http://www.iis.net/download/URLRewrite</a></p>
<p>After its installed a new button titled<strong> URL Rewrite</strong> will be added. Select it.</p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISUrlRedirect.jpg"><img class="aligncenter size-full wp-image-599" title="IISUrlRedirect" src="http://corymathews.com/wp-content/uploads/2010/04/IISUrlRedirect.jpg" alt="IIS7 URL Redirect" width="546" height="277" /></a></p>
<p>Under Actions click <strong>Add Rule(s)</strong>&#8230;</p>
<p>Select <strong>Rule with URL Rewrite map</strong></p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISRuleWithRewriteMap.jpg"><img class="aligncenter size-full wp-image-600" title="IISRuleWithRewriteMap" src="http://corymathews.com/wp-content/uploads/2010/04/IISRuleWithRewriteMap.jpg" alt="IIS7 Rule With Rewrite Map" width="546" height="277" /></a><strong>Change the Rule Action to Redirect </strong>and give it any name you wish it makes no difference what it is.</p>
<p>Then under actions click <strong>Add Mapping Entry</strong>&#8230;</p>
<p><a href="http://corymathews.com/wp-content/uploads/2010/04/IISMapping.jpg"><img class="aligncenter size-full wp-image-601" title="IISMapping" src="http://corymathews.com/wp-content/uploads/2010/04/IISMapping.jpg" alt="IIS7 Mapping" width="385" height="212" /></a>In the Original Value field give the path to the old page without the http://www.example.com in the above example it redirects /oldpage.html to /newpage.html</p>
<p>Keep adding new Mapping Entries for every page you need to redirect.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/597/301-redirect-using-urlrewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery to solve the 100% height problem</title>
		<link>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/</link>
		<comments>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:47:48 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=532</guid>
		<description><![CDATA[Real short post today just a quick snippet of jQuery that solves the 100% height problem. Yes there are complete CSS solutions to this but it seems that at times they can be problematic, and at other times laziness can kick in. $(document).ready(function () { $("#divID").height($(document).height()); }); //And the slightly more fancy way. With a [...]]]></description>
			<content:encoded><![CDATA[<p>Real short post today just a quick snippet of jQuery that solves the 100% height problem. </p>
<p>Yes there are complete CSS solutions to this but it seems that at times they can be problematic, and at other times laziness can kick in.</p>
<pre name="code" class="html">$(document).ready(function () {
    $("#divID").height($(document).height());
});</pre>
<p>//And the slightly more fancy way. With a subtle slide down.</p>
<pre name="code" class="html">$(document).ready(function () {
    $("#divID").animate({ height: $(document).height() }, 500 );
});</pre>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/532/jquery-to-solve-the-100-height-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12 Slick jQuery Plugins</title>
		<link>http://corymathews.com/412/12-slick-jquery-plugins/</link>
		<comments>http://corymathews.com/412/12-slick-jquery-plugins/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 12:38:07 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=412</guid>
		<description><![CDATA[As I have been updating the jQuery links on my @jQueryLinks twitter account there were a couple that really stood out as a way to make just about any site feel slick. So here they are. Enjoy. 1. Gritter &#8211; By:@jboesch Plugin Page Demo 2. jQuery Link Nudging &#8211; By: @davidwalshblog Plugin Page Demo 3. [...]]]></description>
			<content:encoded><![CDATA[<p>As I have been updating the jQuery links on my <a href="http://twitter.com/jQueryLinks">@jQueryLinks</a> twitter account there were a couple that really stood out as a way to make just about any site feel slick. So here they are. Enjoy.</p>
<h2>1. Gritter &#8211; By:<a href="http://twitter.com/jboesch">@jboesch</a></h2>
<div id="attachment_413" class="wp-caption aligncenter" style="width: 560px"><a href="http://boedesign.com/2009/07/11/growl-for-jquery-gritter/"><img src="http://corymathews.com/wp-content/uploads/2009/08/Gritter.jpg" alt="jQuery Grown look-a-like plugin" title="Gritter jQuery Plugin" width="550" height="250" class="size-full wp-image-413" /></a><p class="wp-caption-text">jQuery Grown look-a-like plugin</p></div>
<p><a href="http://boedesign.com/2009/07/11/growl-for-jquery-gritter/">Plugin Page</a></p>
<p><a href="http://boedesign.com/demos/gritter/">Demo</a></p>
<hr />
<h2>2. jQuery Link Nudging &#8211; By: <a href="http://twitter.com/davidwalshblog">@davidwalshblog</a></h2>
<div id="attachment_420" class="wp-caption aligncenter" style="width: 560px"><a href="http://davidwalsh.name/jquery-link-nudging"><img class="size-full wp-image-420" title="jQuery Link Nudging Plugin" src="http://corymathews.com/wp-content/uploads/2009/08/LinkNudging.jpg" alt="Link Nudging" width="550" height="250" /></a><p class="wp-caption-text">A jQuery Link Nudging Plugin which is essentially a classy, subtle link animation </p></div>
<p><a href="http://davidwalsh.name/jquery-link-nudging">Plugin Page</a></p>
<p><a href="http://davidwalsh.name/dw-content/jquery-link-nudging.php">Demo</a></p>
<hr />
<h2>3. Create The Fanciest Dropdown Menu You Ever Saw</h2>
<p><div id="attachment_423" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw"><img src="http://corymathews.com/wp-content/uploads/2009/08/FancyDropdown.jpg" alt="Create The Fanciest Dropdown Menu You Ever Saw" title="Fancy Dropdown" width="550" height="250" class="size-full wp-image-423" /></a><p class="wp-caption-text">Create The Fanciest Dropdown Menu You Ever Saw</p></div><br />
<a href="http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw">Plugin Page</a></p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2009/07/fancydropdown.html">Demo</a></p>
<hr />
<h2>4. ColorBox &#8211; By: <a href="http://twitter.com/jacklmoore">@jacklmoore</a></h2>
<p><div id="attachment_425" class="wp-caption aligncenter" style="width: 560px"><a href="http://colorpowered.com/colorbox/"><img src="http://corymathews.com/wp-content/uploads/2009/08/ColorBox.jpg" alt="A light-weight, customizable lightbox plugin for jQuery 1.3" title="ColorBox" width="550" height="250" class="size-full wp-image-425" /></a><p class="wp-caption-text">A light-weight, customizable lightbox plugin for jQuery 1.3</p></div><br />
<a href="http://colorpowered.com/colorbox/">Plugin Page</a></p>
<p><a href="http://colorpowered.com/colorbox/core/example5/index.html">Demo</a></p>
<hr />
<h2>5. Interactive, Filterable Portfolio &#8211; By: <a href="http://twitter.com/JoelSutherland">@JoelSutherland<a/></h2>
<p><div id="attachment_427" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours"><img src="http://corymathews.com/wp-content/uploads/2009/08/FilterablePortfolio.jpg" alt="A jQuery Plugin to Create an Interactive, Filterable Portfolio" title="FilterablePortfolio" width="550" height="250" class="size-full wp-image-427" /></a><p class="wp-caption-text">A jQuery Plugin to Create an Interactive, Filterable Portfolio</p></div><br />
<a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours">Plugin Page</a></p>
<p><a href="http://www.newmediacampaigns.com/section/portfolio">Demo</a></p>
<hr />
<h2>6. Animated Menu Using jQuery</h2>
<p><div id="attachment_434" class="wp-caption aligncenter" style="width: 560px"><a href="http://jqueryglobe.com/article/animated-menu"><img src="http://corymathews.com/wp-content/uploads/2009/08/FancyMenus.jpg" alt="Nice animated menu using jQuery and CSS" title="FancyMenus" width="550" height="250" class="size-full wp-image-434" /></a><p class="wp-caption-text">Nice animated menu using jQuery and CSS</p></div><br />
<a href="http://jqueryglobe.com/article/animated-menu">Plugin Page</a></p>
<p><a href="http://jqueryglobe.com/labs/animated_menu/">Demo</a></p>
<hr />
<h2>7. jQuery Ajax delete</h2>
<p><div id="attachment_432" class="wp-caption aligncenter" style="width: 560px"><a href="http://papermashup.com/jquery-ajax-delete/"><img src="http://corymathews.com/wp-content/uploads/2009/08/DeleteComment.jpg" alt="jQuery Ajax delete" title="DeleteComment" width="550" height="250" class="size-full wp-image-432" /></a><p class="wp-caption-text">jQuery Ajax delete</p></div><br />
<a href="http://papermashup.com/jquery-ajax-delete/">Plugin Page</a></p>
<p><a href="http://papermashup.com/demos/jquery-delete/">Demo</a></p>
<hr />
<h2>8. Galleria</h2>
<p><div id="attachment_439" class="wp-caption aligncenter" style="width: 560px"><a href="http://devkick.com/lab/galleria/"><img src="http://corymathews.com/wp-content/uploads/2009/08/Galleria.jpg" alt="Galleria is a javascript image gallery" title="Galleria" width="550" height="250" class="size-full wp-image-439" /></a><p class="wp-caption-text">Galleria is a javascript image gallery</p></div><br />
<a href="http://devkick.com/lab/galleria/">Plugin Page</a></p>
<p><a href="http://devkick.com/lab/galleria/demo_01.htm#img/grass-blades.jpg">Demo</a></p>
<hr />
<h2>9. Easy Slider By: <a href="http://twitter.com/cssglobe">@cssglobe</a></h2>
<p><div id="attachment_441" class="wp-caption aligncenter" style="width: 560px"><a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider"><img src="http://corymathews.com/wp-content/uploads/2009/08/EasySlider1.jpg" alt="Easy Slider 1.7 - Numeric Navigation jQuery Slider" title="EasySlider" width="550" height="250" class="size-full wp-image-441" /></a><p class="wp-caption-text">Easy Slider 1.7 - Numeric Navigation jQuery Slider</p></div><br />
<a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider">Plugin Page</a></p>
<p><a href="http://cssglobe.com/lab/easyslider1.7/03.html">Demo</a></p>
<hr />
<h2>10. Cycle Lite</h2>
<p><div id="attachment_431" class="wp-caption aligncenter" style="width: 560px"><a href="http://malsup.com/jquery/cycle/lite/"><img src="http://corymathews.com/wp-content/uploads/2009/08/cycleLite.jpg" alt="lightweight slideshow plugin" title="cycleLite" width="550" height="250" class="size-full wp-image-431" /></a><p class="wp-caption-text">lightweight slideshow plugin</p></div><br />
<a href="http://malsup.com/jquery/cycle/lite/">Plugin Page</a></p>
<p><a href="http://malsup.com/jquery/cycle/lite/">Demo</a></p>
<hr />
<h2>11. Notify Bar By: <a href="http://twitter.com/DmitriSmirnov">@DmitriSmirnov</a></h2>
<p><div id="attachment_440" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.dmitri.me/blog/notify-bar/"><img src="http://corymathews.com/wp-content/uploads/2009/08/NotifyBar.jpg" alt="shows a notify bar (like on Twitter&#039;s webpage)" title="NotifyBar" width="550" height="250" class="size-full wp-image-440" /></a><p class="wp-caption-text">shows a notify bar (like on Twitter's webpage)</p></div><br />
<a href="http://www.dmitri.me/blog/notify-bar/">Plugin Page</a></p>
<p><a href="http://www.dmitri.me/misc/notify/">Demo</a></p>
<hr />
<h2>12. Animated Tabbed Content &#8211; By: <a href="http://twitter.com/gayadesign">@gayadesign</a></h2>
<p><div id="attachment_443" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.gayadesign.com/diy/animated-tabbed-content-with-jquery/"><img src="http://corymathews.com/wp-content/uploads/2009/08/AnimatedTabs.jpg" alt="Animated Tabbed Content" title="AnimatedTabs" width="550" height="250" class="size-full wp-image-443" /></a><p class="wp-caption-text">Animated Tabbed Content</p></div><br />
<a href="http://www.gayadesign.com/diy/animated-tabbed-content-with-jquery/">Plugin Page</a></p>
<p><a href="http://www.gayadesign.com/scripts/tabbed/">Demo</a></p>
<hr />
<p>To Stay up to date with more great jQuery Links follow <a href="http://twitter.com/jQueryLinks">@jQueryLinks</a> on twitter.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/412/12-slick-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Understanding URL Variables</title>
		<link>http://corymathews.com/168/understanding-url-variables/</link>
		<comments>http://corymathews.com/168/understanding-url-variables/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 05:53:32 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=168</guid>
		<description><![CDATA[Over the past couple weeks I realized there isn&#8217;t really much information about how dynamic web pages work. The lack of this information makes it harder for new developers to grasp these topics that are fairly simple, but may seem hard without a good example. So the next couple articles are going to cover some [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple weeks I realized there isn&#8217;t really much information about how dynamic web pages work. The lack of this information makes it harder for new developers to grasp these topics that are fairly simple, but may seem hard without a good example. So the next couple articles are going to cover some of these topics. If you have a topic you would like for me to cover be sure to let me know in the comments below.</p>
<p>On ward to <strong>Url Variables</strong>.</p>
<p><strong>Url variables</strong> is one of the first topics to learn for a new developer wanting to move from static web sites to dynamic sites. <strong>Url variables</strong>, also called <strong>query strings</strong> in some languages(asp.net), <strong>allow a variable to be passed from one page to another with very little overhead and very little code</strong>.<br />
<span id="more-168"></span><br />
We have all seen the sites, such as mine here, where they have a url such as corymathews.com/<strong>?id=12</strong> or something similar. These extra items after the ? are called url variables and I am going to explain what these are, what are they used for, and how do they work?</p>
<p><strong>What are url variables?</strong></p>
<p>Url variables allow developers to  pass multiple values from one page to another in order to display different results every time the same page is loaded. This saves the developer from having to make hundreds of pages which are exactly the same. This is mainly because doing so wouldn&#8217;t be very realistic or good for any budget.</p>
<p><strong>How do url parameters work? </strong></p>
<p>Take a look at the following link:</p>
<p>http://www.osguide.net/Software/index.php?p=2</p>
<p>We see a couple different parts. We see the domain <strong>osguide.net</strong> a directory named <strong>Software</strong> the current page <strong>index.php</strong> and then we see a <strong>?p=2.</strong> This ?p=2 is a url variable setting the variable &#8220;p&#8221; equal to 2. In this case its being used as a variable to store the current page for my pagination script on the site, but it could be for just about anything. When the page is first loaded I have programmed it page to look to see if the variable p is declared in the url bar. If it is declared then my page knows to display the corresponding page of results, in this case 2. On the other hand you must always take into account if the url parameter is not declared. In my example here if p was not in the url I would consider this page 1 and thus set p to 1.</p>
<p>A thing to note here is that this url can be rewritten as http://www.osguide.net/Software/?p=2 since the index.php is understood and not actually needed.</p>
<p>What if you want to pass multiple parameters? This can be easily accomplished, with the &amp; symbol. For instance in the previous example If I also wanted to set the variable &#8216;R&#8217; I would simple use a url like so:</p>
<p>http://www.osguide.net/Software/index.php?p=2&amp;r=3</p>
<p>This can go on and on for as long as you like. Take a look at some of the sites you go to such as gmail, they may pass quite a few different url variables, mainly depending on your browser. All you have to do is keep adding the &amp; in between every variable.</p>
<p><strong>So What are url parameters used for?</strong></p>
<p>Probably most common use for url parameters is to associate the correct information to display from a database. The way this works logically is very simple. A page is set up kind of like a template for content without any &#8220;real&#8221; content in it. Then from the url variable passed in a query is run on a database and the related page&#8217;s contents are returned from the database to be displayed on the page. This allows a developer to create one page to show the details of anything, such as this article, without having to create a different page for every article.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/168/understanding-url-variables/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SaveTheDevelopers.org</title>
		<link>http://corymathews.com/100/savethedevelopersorg/</link>
		<comments>http://corymathews.com/100/savethedevelopersorg/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 12:43:07 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=100</guid>
		<description><![CDATA[EDIT: It seems that Microsoft was purchased savethedevelopers.org so the site is no longer the same Recently I was introduced to SaveTheDevelopers.org. Their mission is simple &#8220;Save A Developer. Upgrade Your Browser.&#8221; Basically they want to speed up the transition from IE6 to a modern browser. What makes SaveTheDevelopers.org so much better than the rest [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EDIT: It seems that Microsoft was purchased savethedevelopers.org so the site is no longer the same</strong></p>
<p>Recently I was introduced to <a title="SaveTheDevelopers.org" href="http://www.savethedevelopers.org/" target="_blank">SaveTheDevelopers.org</a>. Their mission is simple</p>
<blockquote><p>&#8220;Save A Developer. Upgrade Your Browser.&#8221;</p></blockquote>
<p>Basically they want to speed up the transition from IE6 to a modern browser.</p>
<p>What makes <a title="SaveTheDevelopers.org" href="http://www.savethedevelopers.org/" target="_blank">SaveTheDevelopers.org</a> so much better than the rest is that it is much more professional looking than any other anti-IE6 &#8220;movement&#8221; site. Most anti-IE6 sites simply bash IE6 and never tell you why other browsers really are better.  <span id="more-100"></span></p>
<p>They have made it extremely simple to add their image on your site as well. You simply include one line of javascript in the header of all your pages.</p>
<pre lang="javascript"><script src="http://www.savethedevelopers.org/say.no.to.ie.6.js"></pre>
<p>You can also download the javascript and link to it on your own site if you don't wish to link to their site every time.  This javascript creates a small image that only appears to a user running IE6. The image slides down in the top right corner of your site and links back to <a title="SaveTheDevelopers.org" href="http://www.savethedevelopers.org/" target="_blank">SaveTheDevelopers.org</a>.</p>
<p><a title="SaveTheDevelopers.org" href="http://www.savethedevelopers.org/" target="_blank"><img class="aligncenter size-full wp-image-101" title="savethedevelopers" src="http://corymathews.com/wp-content/uploads/2008/07/savethedevelopers.jpg" alt="SaveTheDevelopers.org" width="348" height="72" /></a></p>
<p>I know almost every web developer, including myself, is fed up with supporting IE6. It has cost us all many, many extra hours of work. It is time to realize that it time has come and passed, so why not help speed up the transition to modern browsers by hosting SaveTheDevelopers.org's simple javascript to help people realize they need to upgrade.  Some other anti-IE6 sites that I have come across.</p>
<ul>
<li> <a title="Browsehappy.com" href="http://browsehappy.com/" target="_blank">browsehappy.com</a></li>
<li><a title="NoIE6.com" href="http://noie6.com/" target="_blank">noie6.com</a></li>
</ul>
<p>If you have a favorite or another that I have not listed share feel free to share it with us.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/100/savethedevelopersorg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera 9.5 Released!</title>
		<link>http://corymathews.com/78/opera-95-released/</link>
		<comments>http://corymathews.com/78/opera-95-released/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 12:29:33 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=78</guid>
		<description><![CDATA[Opera has finally released version 9.5 of their web browser. Personally I have been using the beta builds for quite some time and must say that Opera still is the best internet browser out there, and that this release sets that in stone. If there is only 1 new feature I could have it would, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://my.opera.com/CoryMathews/affiliate/" title="Opera 9.5"><img src="http://corymathews.com/wp-content/uploads/2008/06/opera95.jpg" alt="Opera 9.5" title="opera95" width="500" height="260" class="aligncenter size-full wp-image-79" /></a></p>
<p><a href="http://my.opera.com/CoryMathews/affiliate/" title="Opera 9.5">Opera</a> has finally <a href="http://my.opera.com/CoryMathews/affiliate/products/desktop/" title="Opera 9.5 Release">released version 9.5</a> of their web browser. Personally I have been using the beta builds for quite some time and must say that Opera still is the best internet browser out there, and that this release sets that in stone.<br />
<span id="more-78"></span><br />
If there is only 1 new feature I could have it would, without a doubt, be the new <strong>Opera Link.</strong> This feature allows you to synchronize your bookmarks, and speed dial from one computer to another. So if you use multiple computers throughout your day this will be one of your favorite features as well. All you do is login through the browser and then all your bookmarks are downloaded and placed in the browser. When you add a new bookmark it is automatically updated on all the other computers when you log into them again. </p>
<p>Another great feature is the quick find feature. Whenever you start to type in a url in the address bar opera automatically searches your browsing history, and bookmarks to display any matches as you type. This feature is fast and an excellent way to help you surf the web faster. </p>
<p>Lastly but most appearant is the new user interface. Opera&#8217;s new interface is cleaner, and much more sleek then its previous versions. </p>
<p>Opera 9.5 still has speed dial, tabbed browsing, mouse gestures, an RSS and email reader, and every other feature the other browsers have. </p>
<p>If you still are not an Opera fan or have not tried Opera for yourself, then you really should. You will be amazed at what you have been missing. </p>
<p><em><strong>Browsing the internet does not get any better then with opera 9.5</strong></em></p>
<p><a href="http://my.opera.com/CoryMathews/affiliate/products/desktop/" title="Get Opera 9.5">Get Opera 9.5 Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/78/opera-95-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linked Lists in Java Part 2</title>
		<link>http://corymathews.com/63/linked-lists-in-java-part-2/</link>
		<comments>http://corymathews.com/63/linked-lists-in-java-part-2/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 17:05:14 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=63</guid>
		<description><![CDATA[In Part One we learned the basics of using the Linked list class in java. I showed how to create, add, edit, and remove items from the list. Now I am going to show you how to use the following functions: .toString(), .equal(), .hashCode(), .isEmpty(), .subList(), .contains(), For all my examples I am using the [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://corymathews.com/index.php?p=61">Part One</a> we learned the basics of using the Linked list class in java. I showed how to create, add, edit, and remove items from the list.</p>
<p>Now I am going to show you how to use the following functions:</p>
<pre name="code" class="java">.toString(), .equal(), .hashCode(), .isEmpty(), .subList(), .contains(),</pre>
<p><span id="more-63"></span><br />
For all my examples I am using the list MyList with the contents [1, 2, 3].</p>
<p><strong>.toString() </strong></p>
<p>This function is an excellent debugging statement, or just a simple very quick way to see everything in your list. Its simple to use:</p>
<pre name="code" class="java">MyList.toString();
//or to print out the list
System.out.println(MyList.toString());</pre>
<p>This would print out:</p>
<blockquote><p><code>[1, 2, 3]</code></p></blockquote>
<p><strong>.equal()</strong></p>
<p>This method does exactly what you would think it would. It compares two lists to see if they are equal. For two lists to be equal they must have all the same items, and they must be in the same order. So in other words one must be a deep copy of the other. Here is a little example using .equal() and .toString().</p>
<pre name="code" class="java">MyList.add("1");
MyList.add("2");
MyList.add("3");
MyList2.add("1");
MyList2.add("2");
MyList2.add("3");
System.out.println(MyList.toString());
System.out.println(MyList2.toString());
System.out.println(MyList.equals(MyList2));

MyList2.remove(1);
MyList2.add("2");
System.out.println(MyList.toString());
System.out.println(MyList2.toString());
System.out.println(MyList.equals(MyList2));</pre>
<p>This would print out</p>
<blockquote><p><code>[1, 2, 3]<br />
[1, 2, 3]<br />
true<br />
[1, 2, 3]<br />
[1, 3, 2]<br />
false</code></p></blockquote>
<p><strong>.hashCode()</strong></p>
<p>.hashCode() uses an algorithm to generate a number based on the list. This can be used for encryption or anything that you need a simple reliable number to represent a list. Sun provides the algorithm for generating the number and here it is.</p>
<pre name="code" class="java">hashCode = 1;
  Iterator i = list.iterator();
  while (i.hasNext()) {
      Object obj = i.next();
      hashCode = 31*hashCode + (obj==null ? 0 : obj.hashCode());
  }</pre>
<p>You don&#8217;t actually need to know its algorithm but its always nice to see what exactly it is doing. so Now here is a short example using the hasCode(). I am using the resulting values from the .equal() section so as a reminder MyList contains [1,2,3] and MyList2 contains [1,3,2] and they are all strings.</p>
<pre name="code" class="java">System.out.println(MyList.hashCode());
System.out.println(MyList.hashCode());</pre>
<p>This would output</p>
<blockquote><p><code>78481<br />
78511</code></p></blockquote>
<p>As you can see these two lists produce different hash codes. So even though the lists contain the same strings they still produce different hash codes.</p>
<p><strong>.isEmpty()</strong></p>
<p>This is a boolean method that does exactly what it says. It return true or false depending if the list contains anything.</p>
<pre name="code" class="java">System.out.println(MyList.isEmpty());</pre>
<p>would output</p>
<blockquote><p><code>false</code></p></blockquote>
<p><strong>.subList()</strong></p>
<p>subList allows you to return a shallow copy of part of the list. So changing the values of the subList will change the values of the original list. So for example MyList contains [1,2,3] the example code:</p>
<pre name="code" class="java">System.out.println(MyList.subList(0,3));
System.out.println(MyList.subList(1,2));
System.out.println(MyList.subList(2,3));
System.out.println(MyList.subList(2,6));</pre>
<p>displays</p>
<blockquote><p><code>[1, 2, 3]<br />
[2]<br />
[3]<br />
Exception in thread "main" java.lang.IndexOutOfBoundsException: toIndex = 6<br />
at java.util.SubList.(AbstractList.java:705)<br />
at java.util.AbstractList.subList(AbstractList.java:570)<br />
at LinkedListTest.main(LinkedListTest.java:37)Since my list is only 3 items long you can see that trying to go to 6 gives and IndexOutOfBoundsException and crashes. But looking at the 3 previous calls, I can get the entire list as a sublist, kind of pointless but it can be done. I can also take just specific elements as you see in the middle 2 examples.</p>
<p>We can also combine subList and clear to imitate the method removeRange which for whatever reason I could never get to work. The code:</p>
<pre name="code" class="java">MyList.subList(0, 2).clear();
System.out.println(MyList.size());
System.out.println(MyList.toString());</pre>
<p>would change our list and output</p>
<blockquote><p><code>1<br />
[3]</code></p></blockquote>
<p><strong>.contains()</strong></p>
<p>This is a very useful method. It return a true or false depending if the item you are looking for is in the list or not. So if i was to run the code</p>
<pre name="code" class="java">System.out.println(MyList.contains("1"));
System.out.println(MyList.contains("0"));</pre>
<p>It would print out</p>
<blockquote><p><code>true<br />
false</code></p></blockquote>
<p>Thats all for now, as always here is an example source with all the explained methods being used.</p>
<pre name="code" class="java">import java.util.*;
public class LinkedListTest
{
  public static void main(String[] args)
  {
	  LinkedList MyList = new LinkedList();
	  LinkedList MyList2 = new LinkedList();

	  MyList.add("1");
	  MyList.add("2");
	  MyList.add("3");
	  MyList2.add("1");
	  MyList2.add("2");
	  MyList2.add("3");
	  System.out.println(MyList.toString());
	  System.out.println(MyList2.toString());
	  System.out.println(MyList.equals(MyList2));

	  MyList2.remove(1);
	  MyList2.add("2");
	  System.out.println(MyList.toString());
	  System.out.println(MyList2.toString());
	  System.out.println(MyList.equals(MyList2));

	  System.out.println(MyList.hashCode());
	  System.out.println(MyList2.hashCode());

	  System.out.println(MyList.isEmpty());
	  System.out.println(MyList.subList(0,3));
	  System.out.println(MyList.subList(1,2));
	  System.out.println(MyList.subList(2,3));
	  MyList.subList(0, 2).clear();
	  System.out.println(MyList.size());
	  System.out.println(MyList.toString());
	  MyList.add("2");
	  MyList.add("1");

	  System.out.println(MyList.contains("1"));
	  System.out.println(MyList.contains("0"));
  }
}</pre>
<p>If you want to see anything else done with linkedLists, or are having problems implementing any of these features feel free to ask.</pre>
<p></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/63/linked-lists-in-java-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linked Lists in Java Part 1</title>
		<link>http://corymathews.com/61/linked-lists-in-java-part-1/</link>
		<comments>http://corymathews.com/61/linked-lists-in-java-part-1/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 01:27:17 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=61</guid>
		<description><![CDATA[Recently I have been playing around with Java&#8217;s LinkedList class. This is a very usefull class that is included in java.util.LinkedList. The LinkedList Class allows you to implement a linked list (what a surprise) with a simple class declaration. I am going to explain how to create and use the class, as well as a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have been playing around with Java&#8217;s LinkedList class. This is a very usefull class that is included in java.util.LinkedList.</p>
<p>The LinkedList Class allows you to implement a linked list (what a surprise) with a simple class declaration. I am going to explain how to create and use the class, as well as a few tips I have picked up while playing around with the class.<br />
<span id="more-61"></span><br />
<strong>In Part 1 I will cover:</strong><br />
Adding information<br />
The basics of accessing it<br />
Then removing it.</p>
<p><a href="http://corymathews.com/index.php?p=63">View Part 2 Here</a></p>
<p>First things first we need to include the class.</p>
<pre name="code" class="java">import java.util.LinkedList;
//or the lazy mans way
import java.util.*;</pre>
<p>Now on to creating an instance of the class.</p>
<pre name="code" class="java">LinkedList MyList = new LinkedList();
//or more specifically define its type.
LinkedList&lt; String&gt; MyList = new LinkedList&lt; String&gt;();</pre>
<p>Note: make sure to remove the space before String in both cases. WordPress would not display the &lt; String&gt; without the space.<br />
Otherwise pretty simple, it&#8217;s just like any other class. I am going to call the list MyList.</p>
<p><strong>Adding to the List:</strong><br />
The first thing you would want to do is to add to the list. This can be done in 1 of 4 ways. The first and most basic is</p>
<pre name="code" class="java">MyList.add("1");
//or
My List.add(varName);</pre>
<p>This simply adds an item to the <strong>end</strong> of a list.<br />
We can then expand on this and declare what spot in the array we want to add to. For example if I want to add it to the front (I will show a better way in a minute).</p>
<pre name="code" class="java">MyList.add(0, "2");
//or
My List.add(0, varName);</pre>
<p>The 0 just states that we want it as the first element. But you could substitue zero for any number within the list. Note that the destination spot must be within the size of the array. For instance right now after adding 1 and 2 from our two previous examples we have a list with size of 2. We could not insert into spot 4, an IndexOutOfBoundsException would be thrown and if not caught our program would crash.</p>
<p>The next two ways to add are pretty self documented. They are the addFirst() and addLast() functions. They can be used just like the add() method except the position to add to has already been set.</p>
<pre name="code" class="java">MyList.addFirst("3");
MyList.addLast("4");</pre>
<p>There is also a function to add everything from a collection called .addAll() but I am not going to get into this because I do not have enough practice with collections to explain. You can find out more about using this method <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedList.html#addAll(int, java.util.Collection)">here</a>.</p>
<p><strong>Basics of Accessing Items</strong></p>
<p>Getting the Size:<br />
The first thing is a simple method to return the size of a list. The following would print the size of our list using the .size() method.</p>
<pre name="code" class="java">System.out.println(MyList.size());</pre>
<p>Getting the value of a specific spot.<br />
using the .get() method we can get the value of any index in our list. If the index is not in the list a IndexOutOfBoundsException is thrown. Using this method does NOT remove the item from the list itself.</p>
<pre name="code" class="java">System.out.println(MyList.get(0));
//or to store the value first
temp = MyList.get(0);
System.out.println(temp);</pre>
<p>This prints out the first item in our list. But does NOT remove it from the list.</p>
<p><em>I keep stressing that it does not remove it from the list because a couple tutorials I read when first learning the class, told me that it does remove the item. So I just want to make it clear to save you the trouble.</em></p>
<p>Just like with adding there is a getFirst() and getLast() that do exactly what they say.</p>
<p><strong>Removing an Item:</strong><br />
So now we can add items and access items but we need to be able to get rid of the items. This is where the function .remove(), .removeFirst() and .removeLast() come into play. They work just like the add, and get functions. So we could remove our 4 items from our list using:</p>
<pre name="code" class="java">MyList.removeLast();
MyList.remove(0);
MyList.removeFirst();
MyList.removeFirst();</pre>
<p>Of course the order here doesn&#8217;t matter I just wanted to show the 3 different ways to remove an item.</p>
<p>Here is a little useless example program using the LinkedList Class to see everything put together.</p>
<pre name="code" class="java">import java.util.*;public class LinkedListTest
{
public static void main(String[] args)
{
int pause;
String temp;
LinkedList MyList = new LinkedList();
MyList.add("1");
MyList.add(0, "2");
MyList.addFirst("3");
MyList.addLast("4");
System.out.println("Size: "+MyList.size());
System.out.println("Element 0: "+MyList.get(0));
temp = MyList.get(1);
System.out.println("Element 1: "+temp);
System.out.println("Size :"+MyList.size());
System.out.println("First :"+MyList.getFirst());
System.out.println("Last :"+MyList.getLast());
System.out.println("Size yet again: "+MyList.size());
MyList.removeFirst();
System.out.println("Size yet again: "+MyList.size());
MyList.removeLast();
MyList.remove(0);
MyList.removeFirst();
System.out.println("Empty Size: "+MyList.size());for(int x=0; x&lt;100; x++) {
MyList.add(""+x);
}
System.out.println("Loop Size :"+MyList.size());
for(int x=100; x&gt;0; x--) {
MyList.removeLast();
}
System.out.println("Empty Size: "+MyList.size());
}
}
</pre>
<p><a href="http://corymathews.com/index.php?p=63">View Part 2 Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/61/linked-lists-in-java-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Paging Style</title>
		<link>http://corymathews.com/56/wordpress-paging-style/</link>
		<comments>http://corymathews.com/56/wordpress-paging-style/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 07:42:53 +0000</pubDate>
		<dc:creator>CoryMathews</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://corymathews.com/?p=56</guid>
		<description><![CDATA[Recently Jens Törnell over at http://www.jenst.se/ wrote a plugin that &#8220;I made a paging navigation plugin for WordPress that will be an alternative to the “Next page” and “Previous page“. Instead it uses numbers which makes it easier for users to choose what page to go to. It also makes a tighter internal link structure [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Jens Törnell over at <a href="http://www.jenst.se/" target="_blank">http://www.jenst.se/</a> wrote a plugin that</p>
<blockquote><p>&#8220;I made a paging navigation plugin for WordPress that will be an alternative to the “Next page” and “Previous page“. Instead it uses numbers which makes it easier for users to choose what page to go to. It also makes a tighter internal link structure which makes it easier for search engines to find your posts.&#8221;</p></blockquote>
<p>He included a couple basic themes, But earlier today I re-stylized the &#8220;tiny&#8221; theme to be this dark grey color scheme. So now I am going to share this with you.<br />
<span id="more-56"></span><br />
Here is a preview of the style.</p>
<p><img src="http://www.corymathews.com/wp-content/plugins/wp-page-numbers/tiny/preview.jpg"></p>
<p>Now the <a href="http://www.corymathews.com/wp-content/plugins/wp-page-numbers/tiny/wp-page-numbers.css" target="_blank">css for the style</a>. After you set up this plugin for yourself change the &#8220;tiny&#8221; style to the css I provided.</p>
<p>To get this wordpress plugin for yourself head over to <a href="http://www.jenst.se/2008/03/29/wp-page-numbers" target="_blank">http://www.jenst.se/2008/03/29/wp-page-numbers</a> and follow his instructions.</p>
]]></content:encoded>
			<wfw:commentRss>http://corymathews.com/56/wordpress-paging-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
