<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Catch My Fame</title>
	
	<link>http://www.catchmyfame.com</link>
	<description>A web designoper's journal</description>
	<lastBuildDate>Thu, 02 Sep 2010 14:09:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CatchMyFame" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="catchmyfame" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Best. Gif. Ever.</title>
		<link>http://www.catchmyfame.com/2010/09/02/best-gif-ever/</link>
		<comments>http://www.catchmyfame.com/2010/09/02/best-gif-ever/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 14:09:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=670</guid>
		<description />
			<content:encoded><![CDATA[<p><a href="http://www.catchmyfame.com/wp-content/uploads/2010/09/monkey-goat.gif" rel="thumbnail"><img class="alignnone size-full wp-image-671" title="monkey-goat" src="http://www.catchmyfame.com/wp-content/uploads/2010/09/monkey-goat.gif" alt="" width="500" height="375" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/2PP0_BV3i36k1i7xLRyF0UoRSZs/0/da"><img src="http://feedads.g.doubleclick.net/~a/2PP0_BV3i36k1i7xLRyF0UoRSZs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2PP0_BV3i36k1i7xLRyF0UoRSZs/1/da"><img src="http://feedads.g.doubleclick.net/~a/2PP0_BV3i36k1i7xLRyF0UoRSZs/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/09/02/best-gif-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Farewell Digg</title>
		<link>http://www.catchmyfame.com/2010/09/01/farewell-digg/</link>
		<comments>http://www.catchmyfame.com/2010/09/01/farewell-digg/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 00:34:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=662</guid>
		<description><![CDATA[About a week ago Digg.com unveiled its latest redesign (&#8220;version 4.0&#8220;) along with some changes in the way the site works. I first noticed this when I went to check Digg&#8217;s mobile website and saw that it looked like something was broken. Little did I know that the entire site had changed, and as many [...]]]></description>
			<content:encoded><![CDATA[<p>About a week ago Digg.com unveiled its latest redesign (&#8220;<a href="http://about.digg.com/blog/digg-version-4">version 4.0</a>&#8220;) along with some changes in the way the site works. I first noticed this when I went to check Digg&#8217;s mobile website and saw that it looked like something was broken. Little did I know that the entire site had changed, and as many people feel, changed was for the worse.</p>
<p>If you&#8217;ve never heard of Digg, what Digg originally was was a tech-oriented news aggregation site. Users submitted links to tech stories and stories got dugg up or buried based on their popularity, with the most popular stories making it to Digg&#8217;s homepage. In the beginning, Digg only had 14 categories: apple, deals, design, gaming, hardware, links, linux/unix, mods, movies, music, robots, security, software, and technology. It was a great place to learn about and spread news of cool tech stuff. Almost anyone with a link to an interesting story (including me) could get it promoted to the front page. Over the years Digg slowly evolved into more of a social news aggregation site that covered topics other than technology (<a href="#new_categories">see below</a>) and along with it&#8217;s growth in popularity came abuses to the system. Users found ways to game the system, and advertisers used it as a way to promote their products and services. For the most part, we, the users, of Digg, were able to tolerate the various abuses that crept in. That is up until now.<span id="more-662"></span></p>
<p><a href="http://www.catchmyfame.com/wp-content/uploads/2010/09/digg.gif" rel="thumbnail"><img class="alignnone size-full wp-image-665 right" title="digg" src="http://www.catchmyfame.com/wp-content/uploads/2010/09/digg.gif" alt="" width="500" height="245" /></a>With the latest release of Digg 4, the site has again changed, however its user base is not happy. In fact, between the site being down frequently with the new release and the Digg system being plagued by submission from it&#8217;s main competitor reddit.com, it&#8217;s become almost unusable. Popular stories have no relevance as anything is being promoted by a large group of disgruntled members. It&#8217;s not possible to set your Digg homepage to a specific category as you could in the past, upcoming stories are gone (they were gone but have been brought back) and the concept of following other Digg users is now a core part of the new site. As one<a href="http://digg.com/news/technology/digg_4_goes_live_ish_to_the_public/20100826000025:ffd5fc7e164841e5a4b8048dd847b61b#20100826065457:9d0eccdabf754d0b84e6b67f3c9a0b1b"> Digg member</a> put it:</p>
<p class="style1" style="padding-left: 30px;">&#8220;worst. facebook clone. ever.</p>
<p style="padding-left: 30px;">i couldn&#8217;t care less about &#8220;my news&#8221; or &#8220;my friends bla&#8221;. i came to digg.com to see the digg community&#8217;s news. i don&#8217;t want to subscribe to anything. i&#8217;ve been visiting digg.com for the last years at least three or four times a day and always found interesting new stories without having to do all that crap. now, the digg.com frontpage is an emtpy, big mess. i have to klick on &#8220;top news&#8221; to actually see anything. after clicking on a story, i have to click another time to actually see any comments. that&#8217;s at least three clicks more than i needed before. and it sucks. the old digg.com was simple, unique, it was self-explenatory. now i can&#8217;t even find the upcoming stories and i feel like i&#8217;m on a strange facebook-twitter hybrid. however, i hate twitter and i don&#8217;t need more than one facebook.</p>
<p style="padding-left: 30px;">meh.&#8221;</p>
<p>In 2005, Digg&#8217;s motto was &#8220;What&#8217;s Digg? Digg is a technology news website that employs non-hierarchical editorial control. With digg, users submit stories for review, but rather than allowing an editor to decide which stories go on the homepage, the users do&#8221;</p>
<p>In 2006 this changed to &#8220;Digg is all about user powered content. Everything is submitted and voted on by the digg community. Share, discover, bookmark, and promote stuff that&#8217;s important to you!&#8221;</p>
<p>Fast forward to today and now the first thing on Digg&#8217;s about page is &#8220;Better performing ads. Ads on Digg enable you to seamlessly integrate your content and engage everyday users and taste makers as they discover and curate content online.&#8221; How times have changed.</p>
<p>Digg seems to have lost its way and the spark of what made it cool in the first place. It&#8217;s been drawn into the social networking pool where not everyone enjoys swimming. Digg is now about following people and having them follow you. I may be in the minority here but I truly could care less about following other people. Why should I believe that someone I don&#8217;t know who may digg items I like will continue to do so? Why should I care? What originally made Digg great was that it allowed the masses to vote on cool tech news and the most popular ones were easy to find. Now the content is controlled by a small group of fanatical users and the rest of us are now forced to wade through the mire to find something that is of actual interest. Digg&#8217;s power users have made it virtually impossible for the average Joe to get a story to the front page, despite Digg&#8217;s claims of adjusting their system to help stop this behavior. In other words, where Digg was once a great tool to find interesting news, it has now become the same cesspool that it tried to help its users avoid.</p>
<p><a name="new_categories"></a>Oh and those basic original news14 categories? Well as of early 2010, they had evolved into:</p>
<ul>
<li> Technology
<ul>
<li> Apple</li>
<li> Design</li>
<li> Gadgets</li>
<li> Hardware</li>
<li> Industry News</li>
<li> Linux/Unix</li>
<li> Microsoft</li>
<li> Mods</li>
<li> Programming</li>
<li> Security</li>
<li> Software</li>
</ul>
</li>
<li>World &amp; Business
<ul>
<li>Business &amp; Finance</li>
<li>World News</li>
<li>Political News</li>
<li>Political Opinion</li>
</ul>
</li>
<li>Science
<ul>
<li>Environment</li>
<li>General Sciences</li>
<li>Space</li>
</ul>
</li>
<li>Gaming
<ul>
<li>Industry News</li>
<li>PC Games</li>
<li>Playable Web Games</li>
<li>Nintendo</li>
<li>PlayStation</li>
<li>Xbox</li>
</ul>
</li>
<li>Lifestyle
<ul>
<li>Arts &amp; Culture</li>
<li>Autos</li>
<li>Educational</li>
<li>Food &amp; Drink</li>
<li>Health</li>
<li>Travel &amp; Places</li>
</ul>
</li>
<li>Entertainment
<ul>
<li>Celebrity</li>
<li>Movies</li>
<li>Music</li>
<li>Television</li>
<li>Comics &amp; Animation</li>
</ul>
</li>
<li>Sports
<ul>
<li>Baseball</li>
<li>Basketball</li>
<li>Extreme</li>
<li>Football &#8211; US/Canada</li>
<li>Golf</li>
<li>Hockey</li>
<li>Motorsport</li>
<li>Olympics</li>
<li>Soccer</li>
<li>Tennis</li>
<li>Other Sports</li>
</ul>
</li>
<li>Offbeat
<ul>
<li>Comedy</li>
<li>Odd Stuff</li>
<li>People</li>
<li>Pets &amp; Animals</li>
</ul>
</li>
</ul>
<p>And just about a day ago, just after Digg 4.0 rolled out, Digg founder Kevin Rose has announced that he is stepping down as CEO.</p>
<p>On a side note, I just got an email from Digg with the subject, &#8220;We&#8217;ve Created A Monster &#8211; The New Digg Is Here&#8221;.  How true.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/lvjMxEmBPXf_qV66Spb5oi86mT8/0/da"><img src="http://feedads.g.doubleclick.net/~a/lvjMxEmBPXf_qV66Spb5oi86mT8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lvjMxEmBPXf_qV66Spb5oi86mT8/1/da"><img src="http://feedads.g.doubleclick.net/~a/lvjMxEmBPXf_qV66Spb5oi86mT8/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/09/01/farewell-digg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery hide() vs. fadeOut() vs. animate()</title>
		<link>http://www.catchmyfame.com/2010/08/31/jquery-hide-vs-fadeout-vs-animate/</link>
		<comments>http://www.catchmyfame.com/2010/08/31/jquery-hide-vs-fadeout-vs-animate/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 14:48:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=659</guid>
		<description><![CDATA[If you’ve ever used jQuery to fade out an element, you’ve probably discovered that there are a few ways to accomplish the effect. You could use hide(), fadeOut(), or animate() to change an element’s opacity. But what are the differences between these methods and are there any gotchas? Both hide() and fadeOut() work similarly in [...]]]></description>
			<content:encoded><![CDATA[<p>If you’ve ever used jQuery to fade out an element, you’ve probably discovered that there are a few ways to accomplish the effect. You could use hide(), fadeOut(), or animate() to change an element’s opacity. But what are the differences between these methods and are there any gotchas?</p>
<p>Both hide() and fadeOut() work similarly in that they gradually change an element’s opacity  to zero, and then change the display style property to none (hide() also change the height and width). However, while using animate() to change the opacity will look like it accomplishes the same result, it doesn’t change the display style property to none like hide() and fadeOut() do. Therein lies the gotcha. If you use hide() or fadeOut() to make an element disappear, you can’t use animate() to change the opacity and make the element visible again. Since hide() and fadeOut() also set the display style property to none, animate() can’t do its job because hide() and fadeOut() have effectively hidden the element, causing it to remain invisible.</p>
<p>This has tripped me up from time to time; especially when I’m trying to keep an element hidden and then animate a few properties simultaneously as I fade it back in. So while hide() and fadeOut() are quite capably on their own, and show() and fadeIn() work well to make elements visible again, stick with using animate to hide or fade out an element when you want to fade it in later as well as animate other properties at the same time.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/J_pVmVv30qBzIh-dSsLvtVk9GO4/0/da"><img src="http://feedads.g.doubleclick.net/~a/J_pVmVv30qBzIh-dSsLvtVk9GO4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/J_pVmVv30qBzIh-dSsLvtVk9GO4/1/da"><img src="http://feedads.g.doubleclick.net/~a/J_pVmVv30qBzIh-dSsLvtVk9GO4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/08/31/jquery-hide-vs-fadeout-vs-animate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adjustable Columns with jQuery</title>
		<link>http://www.catchmyfame.com/2010/08/12/adjustable-columns-with-jquery/</link>
		<comments>http://www.catchmyfame.com/2010/08/12/adjustable-columns-with-jquery/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 17:10:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=649</guid>
		<description><![CDATA[View the demo here I’m currently working on a project that uses jQuery throughout the user interface to improve the user’s experience. In one section of the application there are three divs laid out next to each other horizontally as if they were three columns. The leftmost div contains a series of items to select [...]]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.catchmyfame.com/jquery/adjustable_columns_with_jquery.html" target="_blank">View the demo here</a></h2>
<p>I’m currently working on a project that uses jQuery throughout the user interface to improve the user’s experience. In one section of the application there are three divs laid out next to each other horizontally as if they were three columns. The leftmost div contains a series of items to select from via check boxes. When you pick one (or more) items, the middle div is populated by a jQuery Ajax query and displays a list where the content is based on what was selected in the first (leftmost) group. Finally, you can click on an item in the middle div which will then bring up detailed information in the rightmost div.</p>
<p><img class="alignnone size-full wp-image-651" title="columns1" src="http://www.catchmyfame.com/wp-content/uploads/2010/08/columns1.png" alt="" width="430" height="175" /></p>
<p>Normally this wouldn’t be a problem, but in this case the issue is that the width of the columns needed to be dynamic. If we had made the column widths fixed, then whenever the data in any of the columns was wider than the containing div, a horizontal scrollbar would’ve popped up. While this wasn’t a showstopper, it’s wasn’t visually appealing. You might be thinking that using a table would be a good solution except for the fact that resizing table cells isn’t much easier than resizing multiple divs, plus we’re not displaying true tabular data. Another possible answer could lie in using frames, except for the fact that frames disappear in HTML5 and I haven’t used frames in over 10 years.<span id="more-649"></span></p>
<p>So back to our divs. To find a solution I realized that not only would I need the three main div containers, but I would also need two more divs to act as column separators. These two new divs should give me something to grab and drag since dragging the left, middle, and right container divs themselves wouldn’t look right.  OK, so now we have five divs laid out horizontally. Three for content and two to act as drag handles.</p>
<p><img class="alignnone size-full wp-image-652" title="columns2" src="http://www.catchmyfame.com/wp-content/uploads/2010/08/columns2.png" alt="" width="430" height="175" /></p>
<p>So we have our layout but the real brain work still needed to be done. How can I manage all the divs so that only the two &#8220;handles&#8221; were draggable AND the three content divs would respond to the movement of either handle? By using jQuery I could make the two handles draggable – that was easy. The problem now was how to get the content divs to react to the handles being moved. After <em>many</em> failed experiments, I determined how to properly arrange the divs so that dragging the handles not only properly resized the container divs, but the handle divs were prevented from overlapping each other.</p>
<p>During some of my initial experiments I would drag the handles and the neighboring content divs would be resized, but they ended up pushing my handles while they were being dragged making them move much farther than they should have. After positioning the handle divs absolutely that solved the ghost movements, but introduced another problem. With the handles positioned absolutely, they had been removed from the flow of the document so I couldn’t rely on their dimensions and other CSS attributes to “push” the other content divs. Now I had to calculate their position and use that information to resize the other div’s width. When dragging the left handle we would change the width of the left and center content divs. When dragging the right handle we would change the width of the center and right content divs. There wasn’t any need to change the left position, margin, or padding for any of the elements and this was a big relief.</p>
<p>Not to go into too much technical detail, but jQuery’s draggable interaction has a containment option which allows you to restrict the movement of draggable elements. This would be critical to prevent the handles from being dragged too far. The problem is that you either pass it an element, like the parent of a draggable element, the body of the page, or give it a set of coordinates. The problem with the coordinate system is that it’s relative to the document, not an element. Had we been able to specify the coordinates relative to an element rather than the document, this would’ve been much easier.  Since we had to use coordinates relative to the document we had to make our calculations relative to the document as well, which caused a conflict with webkit browsers when we wanted to center our columns. The problem with webkit browsers is that they don’t calculate the jQuery offset() function properly when you center something by using margin: 0 auto and you have a whole slew of “how am I ever gonna get this one to work?” problems to solve. Once I figure out that by solving the webkit centering issue I wouldn’t have to worry about the offset() issue it was smooth sailing.</p>
<p>Another issue involved the content divs themselves. Floating them didn’t work and absolute positioning didn’t either.  I began to dig into the CSS display property. Did you know that the display property can be:  block, inline-block, inline-table, list-item, run-in, table, table-caption, table-cell, table-column, table-column-group, table-footer-group, table-header-group, table-row, or table-row-group? Neither did I. As it turns out, inline-table did the trick. (Note: I later found out that inline-block also works just fine.)</p>
<p>The W3C says that the inline-table property is “a rectangular block that participates in an inline formatting context”. This basically means that you can have a block with a width, height, margins, etc. but it’s treated as an inline element instead of the usual block element. Hmmm. So far so good. Add that, width, and a little vertical-align:top to all the container divs and we’re looking good. The handle divs get positioned absolutely and get their left position set initially based on the container divs to their left (i.e. the first handle has a left position equal to the width of the first container div and the second handle has a left position equal to the width of the first two container divs plus the width of the first handle. That’s all the CSS you need, the rest is jQuery.</p>
<p>Since we can’t center the big div that contains everything and do our dragging because webkit browsers can’t calculate the correct jQuery offset, we center it manually (note that this isn’t necessary if you’re not going to center the whole shebang). Then we have to figure out the horizontal limits of our drag handles. We don’t want to have people dragging the left handle over the right handle and vice versa, plus we should also give the content divs a minimum width so that the content doesn’t become unreadable. Finally we calculate the containment area for each draggable handle once the opposite handle is finished being dragged. Phew.</p>
<p>Finally, this code is pretty compact and works in all browsers including IE8. It doesn’t work in IE7 or IE6 and that’s just fine with me. It also degrades well for those with JavaScript disabled. Check out the demo and feel free to play with the code. If you come up with a more elegant solution or use this in a project of your own feel free to share it.</p>
<h2><a href="http://www.catchmyfame.com/jquery/adjustable_columns_with_jquery.html" target="_blank">View the demo here</a></h2>

<p><a href="http://feedads.g.doubleclick.net/~a/9fNI90UKY4O0NlykwocmDOCh8BQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/9fNI90UKY4O0NlykwocmDOCh8BQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9fNI90UKY4O0NlykwocmDOCh8BQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/9fNI90UKY4O0NlykwocmDOCh8BQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/08/12/adjustable-columns-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Have You Been?</title>
		<link>http://www.catchmyfame.com/2010/07/22/where-have-you-been/</link>
		<comments>http://www.catchmyfame.com/2010/07/22/where-have-you-been/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 14:21:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=640</guid>
		<description><![CDATA[So I&#8217;ve been busy working on a few projects but I thought I&#8217;d talk about a few things that interested me lately. First off wallpaper. I love interesting wallpaper for my computer. Paying for it is our of the question. Actually I used to be a paying member of Webshots since they had a good [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been busy working on a few projects but I thought I&#8217;d talk about a few things that interested me lately.</p>
<p>First off wallpaper. I love interesting wallpaper for my computer. Paying for it is our of the question. Actually I used to be a paying member of Webshots since they had a good variety of high res stuff, but since that time I&#8217;ve found a few sites with a great selection. And they are:</p>
<ul>
<li><a href="http://ngm.nationalgeographic.com/wallpaper/download" target="_blank">National Geographic</a> &#8211; National Geographic has been around a long time and one reason is due to their stunning photography. Head over to their site to find loads of high resolution, free images for your pleasure.</li>
<li><a href="http://interfacelift.com/wallpaper_beta/downloads/date/any/" target="_blank">InterfaceLift</a> &#8211; With thousands of high resolution images in a wide variety of sizes, InterfaceLift can keep you busy for hours downloading wallpaper.</li>
<li><a href="http://blogs.msdn.com/b/mswanson/archive/2005/11/10/wallpaper.aspx" target="_blank">Mike Swanson</a> &#8211; Back in 2005 Mike (a Microsoft employee) began posting his own high resolution, mostly macro shots of just about anything. Most are worthy of being framed and hung on your wall. 150 and counting.</li>
</ul>
<p>Apple. Despite problems, Apple seems to be coated in Teflon™ and resistant to anything negative. The new iPhone has major issues (even though I want one I won&#8217;t buy one due to AT&amp;T sucking hard) yet sales are stellar. Hell even <a href="http://bits.blogs.nytimes.com/2010/07/21/a-joke-iphone-sticker-turns-into-a-business/?partner=rss&amp;emc=rss" target="_blank">businesses have been born</a> due to their problems. The iPad has yet to become the magical device Steve Jobs would love you to believe it is and sales are stellar. Looking back a little further does anyone remember the <a href="http://www.apple.com/macbookair/design.html" target="_blank">MacBook Air</a>? Beautiful to look at, ridiculous to use. How does a company with so many issues continue to go unscathed? Anyway, getting back to cell phones in general, is it just me or does anyone else think that there are just too damn many models of phone to choose from? And doesn&#8217;t it feel like new phones come out and then disappear from the market faster than ever? I can&#8217;t keep up anymore. You&#8217;ve got the iPhone, Droid variants, HTC, BlackBerry, LG, Samsung, Motorola, Nokia,  and on and on and on. And let&#8217;s not forget Microsoft&#8217;s recent foray into the cell market with the only-on-the-market-for-seven-weeks Kin fail.</p>
<p>Switching gears. I&#8217;ve slowed down my jQuery development a bit and gotten back into more PHP work lately. Until recently, my main server was still running PHP 4 (yes really) however about a week ago it finally got the bump to PHP 5 (yeah, yeah I know, welcome to 2004). What I found funny about making the change from JavaScript work back to PHP was how similar the languages are, as well as the little quirks that make them quite different. The biggest face palm I had was regarding variable scope. In JavaScript, variables outside of functions are scoped globally by default. In PHP that&#8217;s not the case. This little difference caused me to lose far more time debugging than I care to share. That aside, I still love PHP and think that it&#8217;s the best language to use when developing for the web.</p>
<p>And finally, my favorite image this week:</p>
<p><img class="alignnone" title="comic sans" src="http://i.imgur.com/t3aKN.jpg" alt="" width="336" height="448" /></p>

<p><a href="http://feedads.g.doubleclick.net/~a/P6GeaVDX6MpQPlBRpxRcq28a0Ho/0/da"><img src="http://feedads.g.doubleclick.net/~a/P6GeaVDX6MpQPlBRpxRcq28a0Ho/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/P6GeaVDX6MpQPlBRpxRcq28a0Ho/1/da"><img src="http://feedads.g.doubleclick.net/~a/P6GeaVDX6MpQPlBRpxRcq28a0Ho/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/07/22/where-have-you-been/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Msnbc.com’s Weird Redesign</title>
		<link>http://www.catchmyfame.com/2010/06/30/msnbc-com%e2%80%99s-weird-redesign/</link>
		<comments>http://www.catchmyfame.com/2010/06/30/msnbc-com%e2%80%99s-weird-redesign/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 01:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=631</guid>
		<description><![CDATA[If you’re a regular visitor to msnbc.com you may or may not have noticed the recent changes to their website. At first it appears as if there were only minor cosmetic changes to the header of the page but upon closer inspection you’ll notice something else – a ridiculous choice of content placement. The first [...]]]></description>
			<content:encoded><![CDATA[<p>If you’re a regular visitor to msnbc.com you may or may not have noticed the recent changes to their website. At first it appears as if there were only minor cosmetic changes to the header of the page but upon closer inspection you’ll notice something else – a ridiculous choice of content placement.</p>
<p>The first time you visit the page you see what appears to be a normal home page</p>
<p><a href="http://www.catchmyfame.com/wp-content/uploads/2010/06/msnbc1.jpg" rel="thumbnail"><img class="alignnone size-medium wp-image-632" title="msnbc1" src="http://www.catchmyfame.com/wp-content/uploads/2010/06/msnbc1-300x138.jpg" alt="" width="300" height="138" /></a></p>
<p>Notice that the vertical scroll isn&#8217;t at the top of the page? It’s almost imperceptible and in fact, I didn’t notice it for a week. Why does this happen? Scroll up the page and you’ll see that msnbc.com now has a large chunk of content sitting up above what appears to be the normal top of the page. It wasn’t until I saw a link where some of the old navigation used to be that said “Where’s my navigation? We’ve moved it to the top” that I noticed this big change.</p>
<p><a href="http://www.catchmyfame.com/wp-content/uploads/2010/06/msnbc2.jpg" rel="thumbnail"><img class="alignnone size-medium wp-image-634" title="msnbc2" src="http://www.catchmyfame.com/wp-content/uploads/2010/06/msnbc2-300x203.jpg" alt="" width="300" height="203" /></a></p>
<p>So I have to ask why would you redesign a page and place a large chunk of important content up above where the visitor will see when a page loads so that they have to scroll up to see it? This just seems completely counter intuitive to web navigation. Visit a news site and then scroll up to read the headlines? That&#8217;s like opening the New York Times and then finding that the top stores section was folded down behind the front page.</p>
<p>Msnbc.com explains this change by saying “We&#8217;ve moved the news menu to the top of story pages and made it easier to see what&#8217;s happening across the site. When you first get to a story, you&#8217;ll see sections and shows displayed across the top of the page. Below is the name of the section you&#8217;re in and a search box. Scroll up to see top headlines, slideshows, video and hot topics. Roll over a section name to see more from that section and click on a section name to go there.” Scroll. Roll. Click. Are they serious? Is it just me?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Dc-m6XKVQ5p5pJUYQjxkOFD_NV8/0/da"><img src="http://feedads.g.doubleclick.net/~a/Dc-m6XKVQ5p5pJUYQjxkOFD_NV8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Dc-m6XKVQ5p5pJUYQjxkOFD_NV8/1/da"><img src="http://feedads.g.doubleclick.net/~a/Dc-m6XKVQ5p5pJUYQjxkOFD_NV8/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/06/30/msnbc-com%e2%80%99s-weird-redesign/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Infinite Carousel Updated (2.0.2)</title>
		<link>http://www.catchmyfame.com/2010/06/12/jquery-infinite-carousel-updated-2-0-2/</link>
		<comments>http://www.catchmyfame.com/2010/06/12/jquery-infinite-carousel-updated-2-0-2/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 14:08:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=621</guid>
		<description><![CDATA[Thanks to Sergio for finding a bug in the carousel where a certain sequence of clicks resulted in the play button being disabled, I&#8217;m happy to release version 2.0.2 which corrects the issue. Click here for the latest version or see our jQuery plugins page.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Sergio for finding a bug in the carousel where a certain sequence of clicks resulted in the play button being disabled, I&#8217;m happy to release version 2.0.2 which corrects the issue. Click <a href="/jquery/jquery.infinitecarousel2.zip">here</a> for the latest version or see our <a href="http://www.catchmyfame.com/catchmyfame-jquery-plugins/">jQuery plugins page</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rx6e0GLXEp8X-59oXCvprL4Y1DM/0/da"><img src="http://feedads.g.doubleclick.net/~a/rx6e0GLXEp8X-59oXCvprL4Y1DM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rx6e0GLXEp8X-59oXCvprL4Y1DM/1/da"><img src="http://feedads.g.doubleclick.net/~a/rx6e0GLXEp8X-59oXCvprL4Y1DM/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/06/12/jquery-infinite-carousel-updated-2-0-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>I Love Google Chrome But It’s Not My Default Browser</title>
		<link>http://www.catchmyfame.com/2010/05/27/i-love-google-chrome-but-its-not-my-default-browser/</link>
		<comments>http://www.catchmyfame.com/2010/05/27/i-love-google-chrome-but-its-not-my-default-browser/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:22:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=618</guid>
		<description><![CDATA[Google released version 5 of Chrome this week which they claim is faster then ever. It also comes with a bunch of other updates like syncing bookmarks and preferences, incognito mode for extensions, and more HTML5 support to name a few. It&#8217;s lean, it&#8217;s mean and it works great. So why isn&#8217;t it my default [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone right" title="Google Chrome" src="http://www.google.com/intl/en/images/logos/chrome_logo.gif" alt="Google Chrome" width="198" height="40" />Google released version 5 of Chrome this week which they claim is <a href="http://www.youtube.com/watch?v=nCgQDjiotG0&amp;hd=1" target="_blank">faster</a> then ever. It also comes with a bunch of other updates like syncing bookmarks and preferences, incognito mode for extensions, and more HTML5 support to name a few. It&#8217;s lean, it&#8217;s mean and it works great. So why isn&#8217;t it my default browser? Glad you asked. In no particular order&#8230;</p>
<ul>
<li>No print preview. While this seems like a no-brainer, apparently Google decided it wasn&#8217;t needed. No public release of Chrome has had a print preview, although I hear version six is supposed to have it (fingers crossed).</li>
<li>No Google toolbar. Really Google? You make the toolbar  and you make a browser, yet you don&#8217;t make the toolbar for the browser you make? I love your toolbar and its the only one I use.</li>
<li>No sidebar for favorites or history.</li>
<li>No way to quickly see an image&#8217;s properties. OK, this is a small one but to see an images dimensions or file size you have to either download the image or view it through the element inspector. Too much hassle for such a simple feature.</li>
</ul>
<p>There may be extensions that solve my issues but I don&#8217;t want to use extensions for things that should be a part of the browser. I&#8217;m sure I missed a few features that other would like to see built into Chrome, so what is Chrome missing for you?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rHB2g9q15DF-Fquu_lQ-dHb-ckQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/rHB2g9q15DF-Fquu_lQ-dHb-ckQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rHB2g9q15DF-Fquu_lQ-dHb-ckQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/rHB2g9q15DF-Fquu_lQ-dHb-ckQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/05/27/i-love-google-chrome-but-its-not-my-default-browser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Smart Phone is a Moron and Pac Man</title>
		<link>http://www.catchmyfame.com/2010/05/21/my-smart-phone-is-a-moron-and-pac-man/</link>
		<comments>http://www.catchmyfame.com/2010/05/21/my-smart-phone-is-a-moron-and-pac-man/#comments</comments>
		<pubDate>Sat, 22 May 2010 01:37:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=613</guid>
		<description><![CDATA[Why is it that my stupid &#8220;smart&#8221; phone doesn&#8217;t have the brains to dial my own area code when I &#8216;m outside Verizon&#8217;s coverage circle? I work in an office that somehow lies about 100 yards outside Verizon&#8217;s coverage, and whenever I try to call a number in my contacts list that I didn&#8217;t enter [...]]]></description>
			<content:encoded><![CDATA[<p>Why is it that my stupid &#8220;smart&#8221; phone doesn&#8217;t have the brains to dial my own area code when I &#8216;m outside Verizon&#8217;s coverage circle? I work in an office that somehow lies about 100 yards outside Verizon&#8217;s coverage, and whenever I try to call a number in my contacts list that I didn&#8217;t enter an area code for because it&#8217;s the same as the one I live in, my phone replies with a recorded message about dialing a one followed by blah blah blah? Shouldn&#8217;t phones now have the ability to know where they are, know that they&#8217;re not in a covered area, and then append the area code to any number that doesn&#8217;t have on in my contacts? I mean really, it&#8217;s only 2010, what should it take to get this right? I hate my phone and I hate cell phone companies. every time I run up against this obstacle first I curse, then I hang up, then I redial. This has gone on for longer than I can remember.</p>
<p>Moving on, today is the 30th anniversary of Pac-Man. Shit I feel old. I grew up on Pac-Man. Google acknowledged this by adding a sweet Pac-Man game to their generic home page so check out google.com (don&#8217;t use the personalized version) for an awesome JavaScript version of the game. Here&#8217;s a tip, hit &#8220;insert coin&#8221; twice to add ms. pac-man to the game and have two players clear the board.</p>
<p>Oh and in case you missed it, Google unveiled a sweet step forward in the web fonts arena with a simple way to use non-standard fonts in your site. Check out http://code.google.com/webfonts for the full run down and some examples. If you ask me, while this is cool and could be quite helpful, I still think that this whole web fonts thing is still too open ended. There are far too may way to try and get fonts to render properly in most browsers and all these solutions and workarounds just fee like they&#8217;re skirting the real issue which is being able to use any font on the web. The font foundries fear that they&#8217;ll lose money from designers and developers using fonts on sites and visitors being able to download them and then publish their own magazines with them without paying for them. The whole thing just feels kludgy and unnatural and that includes Google&#8217;s solution.  There&#8217;s got to be a better way.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3WlamxQctgs6bdPQilyCJDERzQk/0/da"><img src="http://feedads.g.doubleclick.net/~a/3WlamxQctgs6bdPQilyCJDERzQk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3WlamxQctgs6bdPQilyCJDERzQk/1/da"><img src="http://feedads.g.doubleclick.net/~a/3WlamxQctgs6bdPQilyCJDERzQk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/05/21/my-smart-phone-is-a-moron-and-pac-man/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping a Good Div Down</title>
		<link>http://www.catchmyfame.com/2010/05/20/keeping-a-good-div-down/</link>
		<comments>http://www.catchmyfame.com/2010/05/20/keeping-a-good-div-down/#comments</comments>
		<pubDate>Thu, 20 May 2010 13:54:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.catchmyfame.com/?p=605</guid>
		<description><![CDATA[Sometime I’ll see an effect on a website and think nothing of it until I see it implemented on a few other sites in a similar way. Apparently my brain notices these things but it just doesn’t care the first time. It takes it a few viewings for it to wake up and actually take [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime I’ll see an effect on a website and think nothing of it until I see it implemented on a few other sites in a similar way. Apparently my brain notices these things but it just doesn’t care the first time. It takes it a few viewings for it to wake up and actually take action. This was the case recently when I visited Slashdot. When you scroll down a comments page, a comments control bar will scroll up with the rest of the content until it hits the top of the page. When it does, instead of disappearing up off the top of the page with the rest of the content, it sticks to the top of the viewport while the rest of the page scrolls under it. I realized that I had also seen this effect on Google code and Stackoverflow, albeit in slightly different ways. There are potentially unlimited uses for this effect so I threw some jQuery code (not a plugin) together for this. Why not a plugin? Because it’s essentially two lines of code.</p>
<pre>var stickerTop = parseInt($('#sticker').offset().top);
$(window).scroll(function()
{
    $("#sticker").css((parseInt($(window).scrollTop())+parseInt($("#sticker").css('margin-top')) &gt; stickerTop) ? {position:'fixed',top:'0px'} : {position:'relative'});
});</pre>
<p>This snippet of code assumes that the block you want to make stick to the top of the browser window has the ID of “sticker”, but you can change it to whatever you like (and it doesn&#8217;t need to be a div). You could also expand the condition that checks the position of the window and the &#8220;stuck&#8221; element and apply a variety of other effects as well.</p>
<p>Here are a couple of basic demos. The <strong><a href="http://catchmyfame.com/misc/scroll-n-stick.html" target="_blank">first</a></strong> is just a bare bones example and the <strong><a href="http://catchmyfame.com/misc/scroll-n-stick2.html" target="_blank">other</a></strong> uses a template from styleshout and applies the effect to the sidebar on the left. In my tests it works great in Chrome, Firefox, Opera, and IE.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/j0NaSvU-PfUpPIyusc9_E6xEz3E/0/da"><img src="http://feedads.g.doubleclick.net/~a/j0NaSvU-PfUpPIyusc9_E6xEz3E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/j0NaSvU-PfUpPIyusc9_E6xEz3E/1/da"><img src="http://feedads.g.doubleclick.net/~a/j0NaSvU-PfUpPIyusc9_E6xEz3E/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.catchmyfame.com/2010/05/20/keeping-a-good-div-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.692 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-08 01:26:39 -->
