<?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>Random musings &#187; Programming</title>
	<atom:link href="http://www.obaidahmed.com/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.obaidahmed.com</link>
	<description>Pakistan, Startups, Entrepreneurship, Food and more...</description>
	<lastBuildDate>Wed, 07 Jul 2010 14:35:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>

   <image>
    <title>Random musings</title>
    <url>http://1.gravatar.com/avatar/5dcdb41fe2216800f9e9d8980585c425?s=48&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536</url>
    <link>http://www.obaidahmed.com</link>
   </image>
		<item>
		<title>It&#8217;s coming.</title>
		<link>http://www.obaidahmed.com/2010/06/02/its-coming/</link>
		<comments>http://www.obaidahmed.com/2010/06/02/its-coming/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 23:08:24 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mazaydar.com]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[UI Design]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mazaydar]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=434</guid>
		<description><![CDATA[<p>... <a href="http://www.obaidahmed.com/2010/06/02/its-coming/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[
<a href='http://www.obaidahmed.com/2010/06/02/its-coming/photo2-2/' title='photo2'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/06/photo2-150x150.jpg" class="attachment-thumbnail" alt="photo2" title="photo2" /></a>
<a href='http://www.obaidahmed.com/2010/06/02/its-coming/photo3-2/' title='photo3'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/06/photo3-150x150.jpg" class="attachment-thumbnail" alt="photo3" title="photo3" /></a>
<a href='http://www.obaidahmed.com/2010/06/02/its-coming/photo1-2/' title='photo1'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/06/photo1-150x150.jpg" class="attachment-thumbnail" alt="photo1" title="photo1" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2010/06/02/its-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Countries using Champions App</title>
		<link>http://www.obaidahmed.com/2010/03/24/countries-using-champions-iphone-app/</link>
		<comments>http://www.obaidahmed.com/2010/03/24/countries-using-champions-iphone-app/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 15:04:32 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cricket]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=422</guid>
		<description><![CDATA[<p>... <a href="http://www.obaidahmed.com/2010/03/24/countries-using-champions-iphone-app/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div id="attachment_423" class="wp-caption alignleft" style="width: 636px"><a href="http://www.obaidahmed.com/wp-content/uploads/2010/03/champ-country.png"><img class="size-full wp-image-423 " title="Countries Using Champions App" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/champ-country.png" alt="" width="626" height="319" /></a><p class="wp-caption-text">Countries Using Champions App</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2010/03/24/countries-using-champions-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad</title>
		<link>http://www.obaidahmed.com/2010/03/24/ipad/</link>
		<comments>http://www.obaidahmed.com/2010/03/24/ipad/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 15:00:37 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone appstore]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=414</guid>
		<description><![CDATA[<p>I know I am late on this but I have been waiting to get a clear understanding of the device before making any comment. Now that I have access to the SDK and I have been playing around with the potential of this device (even if it is just in a... <a href="http://www.obaidahmed.com/2010/03/24/ipad/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>I know I am late on this but I have been waiting to get a clear understanding of the device before making any comment. Now that I have access to the SDK and I have been playing around with the potential of this device (even if it is just in a simulator) I truly believe that we are going to see a different thinking in terms of application development.</p>
<div id="attachment_419" class="wp-caption alignleft" style="width: 277px"><a href="http://www.obaidahmed.com/wp-content/uploads/2010/03/ipad_herosml.png"><img class="size-medium wp-image-419 " style="padding: 5px;" title="iPad" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/ipad_herosml-267x300.png" alt="Apple iPad" width="267" height="300" /></a><p class="wp-caption-text">Apple iPad</p></div>
<p>iPad isn&#8217;t the first tablet to hit the market. There were many tablet laptops in recent years. Most of them ran Windows and had a full scale OS behind them. Compared to those iPad doesn&#8217;t have a full multi-tasking behind it. Has a closed appstore. Has exactly one connector port. Zero USB connectors. Yet I still think that iPad is going to be a great device.</p>
<p>To figure out why iPad is going to be a great device, let&#8217;s think about it from a non-techy, non-developer point of view. Imagine a person who doesn&#8217;t spend 16 hours of their day in-front of a computer screen. They are the casual PC users. Most of their activities during the course of the day involve: checking email, chatting, surfing, playing games etc. For all these tasks iPad fit perfectly. Most people use their computers to work on stuff in Microsoft Word, preparing their presentation in Microsoft Powerpoint etc.</p>
<p>iPhone revolutionized the usability of smartphones. For the first time an average consumer could simply browse to a store and buy an application which automagically downloads itself, installs and ready to be used without using any cable or wires or instructions for the users on how to install it. Magical! iPhone wasn&#8217;t about the device itself. Yes multi-touch was amazing, yes the screen was good and yes it had an apple logo at the back but what really made it amazing was the <strong><em>Appstore. </em><span style="font-weight: normal;">For the first time a developer could push their work to the consumer in straightforward manner. If you have ever tried to find a decent Blackberry application and then download it and then install it you will know what I mean. It was a painful experience. With iPhone it was a pleasure. All information safe and secure, I don&#8217;t need to pull out my creditcard for the purchase, it is already there all safe and secure. </span></strong></p>
<p><strong><span style="font-weight: normal;">Now as a developer I know that there are issues with Appstore. It isn&#8217;t a perfect world out there. So yeah I don&#8217;t agree with some of the things Apple does with Appstore. At times their approval process doesn&#8217;t make any sense. But from a consumer standpoint, it is exactly what I wanted. </span></strong></p>
<p>Over the past couple of days I have been having discussions with the team on what would be a great iPad application. We have already decided to create a <a href="http://www.championsapp.com">Champions App</a> for iPad. But we wanted to see how we can leverage that big multi-touch screen to create creative applications.</p>
<p>I am excited. Very excited. This is just the beginning.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2010/03/24/ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Our first iPhone application &#8211; Champions</title>
		<link>http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/</link>
		<comments>http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 19:41:28 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[UI Design]]></category>
		<category><![CDATA[cricket]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[appstore]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=400</guid>
		<description><![CDATA[<p>The day is finally here. This morning our first internal application is out in public. Champions is a cricket application that gives you the power to get up-to-date game information quickly and easily. Our aim was to provide easy to use interface... <a href="http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>The day is finally here. This morning our first internal application is out in public. <a href="http://bit.ly/doaUku">Champions</a> is a cricket application that gives you the power to get up-to-date game information quickly and easily. Our aim was to provide easy to use interface and  a fun interactive way to see and follow your cricket.</p>
<p>So what does Champions do?</p>
<ul>
<li>Easy to read summary panels</li>
<li>Games schedule</li>
<li>Ball-by-Ball coverage</li>
<li>Full scorecard</li>
</ul>
<p>Why did we build this?</p>
<p>Frankly, there are a few cricket applications on Appstore that provide somewhat similar functionality but all of them lacked one  thing &#8211; usability. I have written a complete review of Cricinfo&#8217;s cricket application on iPhone and you can <a href="http://www.obaidahmed.com/2010/02/08/cricinfo-iphone-application-review/">read my frustration</a> there. We wanted to build an application that will make cricket easy and fun to follow. So this is our first step towards that.</p>
<p>One of the main design decision that went into this application was the &#8220;summary panels&#8221;. We wanted to allow our users to quickly look at the game summary without scrolling or tapping too much. So we decided to create &#8220;summary panels&#8221; which give you a quick summary of the game and allow you to view full scorecard or ball-by-ball coverage of the game quickly and easily.</p>
<p>This is just version 1.0, we hope to add many features in our next release.</p>
<p>Give it a try and tell us what you think. If you like the application please leave a review.</p>

<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0528/' title='IMG_0528'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0528-150x150.jpg" class="attachment-thumbnail" alt="IMG_0528" title="IMG_0528" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0525/' title='IMG_0525'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0525-150x150.png" class="attachment-thumbnail" alt="IMG_0525" title="IMG_0525" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0526/' title='IMG_0526'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0526-150x150.png" class="attachment-thumbnail" alt="IMG_0526" title="IMG_0526" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0529/' title='IMG_0529'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0529-150x150.jpg" class="attachment-thumbnail" alt="IMG_0529" title="IMG_0529" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0527/' title='IMG_0527'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0527-150x150.png" class="attachment-thumbnail" alt="IMG_0527" title="IMG_0527" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0535/' title='IMG_0535'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0535-150x150.jpg" class="attachment-thumbnail" alt="IMG_0535" title="IMG_0535" /></a>
<a href='http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/img_0524/' title='IMG_0524'><img width="150" height="150" src="http://www.obaidahmed.com/wp-content/uploads/2010/03/IMG_0524-150x150.png" class="attachment-thumbnail" alt="IMG_0524" title="IMG_0524" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2010/03/05/our-first-iphone-application-champions/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Google Wave &#8211; What Does It Mean?</title>
		<link>http://www.obaidahmed.com/2009/05/29/google-wave-what-does-it-mean/</link>
		<comments>http://www.obaidahmed.com/2009/05/29/google-wave-what-does-it-mean/#comments</comments>
		<pubDate>Fri, 29 May 2009 14:58:36 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[excited]]></category>
		<category><![CDATA[google wave]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=272</guid>
		<description><![CDATA[<p>If you are a nerd, or a technology enthusiast, then you must have heard about Google Wave. I mean literally it was all across the web, from twitter to techcrunch (aren't they both the same?) Anyways, if somehow you missed it here is a video that you... <a href="http://www.obaidahmed.com/2009/05/29/google-wave-what-does-it-mean/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>If you are a nerd, or a technology enthusiast, then you must have heard about <a href="http://wave.google.com">Google Wave</a>. I mean literally it was all across the web, from twitter to techcrunch (aren&#8217;t they both the same?) Anyways, if somehow you missed it here is a video that you must watch.</p>
<p><object width="480" height="295" data="http://www.youtube.com/v/v_UyVmITiYQ&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/v_UyVmITiYQ&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>So what is wave? why am I talking about it? While the demo itself is simply amazing and the application looks like the next generation of Gmail evolution, what excites me more than anything is behind the scene technology.</p>
<p>If you are a web developer you might remember those good old days of web, when Javascript was a &#8220;client-side validation&#8221; scripting thingy. Now with the new and upcoming HTML 5 and Javascript ECMAScript5 coming to almost all browsers, we are seeing a new powerful platform. One that can help us built really high quality web applications.</p>
<p>So what&#8217;s all that special about HTML 5?</p>
<p>To get some context around this, let me recap what we currently use. Most of the websites (pretty much all of them) are currently on HTML 4 standard &#8212; which is a decade old standard. Web has evolved therefore HTML standard needed to evolve too.</p>
<p>So HTML 5 is being developed since 2004 and so far it is still being specd out. Which means that it will change over the next year or so before it is finalized, but the guts are out there now.</p>
<p>I won&#8217;t go into a lot of details about HTML5 in this post but would like to touch upon two things that really stood out for me:</p>
<p>1. Structure</p>
<p>How many times you have defined your HTML with class/id attributes structure it with header, footer, content, sidebar etc? HTML5 fixes this issue by providing new elements for representing each of these different sections. So elements like &lt;header&gt;, &lt;nav&gt;, &lt;aside&gt;, &lt;article&gt;, &lt;footer&gt; etc.</p>
<p>Makes it better for everyone to write and read the HTML code. Search engines can target your content and designers get to leverage it as well.</p>
<p>2. Video &amp; Audio</p>
<p>We all have been embedding youtube videos for a while now. There is one in this blog post. HTML really didn&#8217;t have any way to allow embedding video and audio content easily into a website. So people had to use flash. So now in HTML5 we have an &lt;video&gt; and &lt;audio&gt; tags. Along with DOM API to manipulate and interact with the video and audio.</p>
<p>There is a lot more to the story. I will write in more details about the upcoming Javascript changes and what it means to us web developers. I am truly excited at the possibilities that it will bring to the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2009/05/29/google-wave-what-does-it-mean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World&#8217;s Best CAPTCHA</title>
		<link>http://www.obaidahmed.com/2009/05/28/worlds-best-captcha/</link>
		<comments>http://www.obaidahmed.com/2009/05/28/worlds-best-captcha/#comments</comments>
		<pubDate>Thu, 28 May 2009 16:38:59 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[UI Design]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=269</guid>
		<description><![CDATA[<p>via 90 Percent Of... <a href="http://www.obaidahmed.com/2009/05/28/worlds-best-captcha/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>via <a href="http://www.90percentofeverything.com/2008/12/17/worlds-best-captcha/">90 Percent Of Everything</a>.</p>
<p><a href="http://www.obaidahmed.com/wp-content/uploads/2009/05/worlds-best-captcha.png"><img class="alignleft size-full wp-image-270" title="worlds-best-captcha" src="http://www.obaidahmed.com/wp-content/uploads/2009/05/worlds-best-captcha.png" alt="worlds-best-captcha" width="428" height="532" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2009/05/28/worlds-best-captcha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PakTranslations.com &#8211; A small redesign</title>
		<link>http://www.obaidahmed.com/2009/05/26/paktranslationscom-a-small-redesign/</link>
		<comments>http://www.obaidahmed.com/2009/05/26/paktranslationscom-a-small-redesign/#comments</comments>
		<pubDate>Tue, 26 May 2009 14:22:34 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Inspirational]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[UI Design]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=265</guid>
		<description><![CDATA[<p>I love cool technology. Maybe it is the nerd in me that gets excited after seeing something awesome but I sure do love cool technology. One such great technology is powered by PakTranslations.com - To see how awesome the technology is you can see... <a href="http://www.obaidahmed.com/2009/05/26/paktranslationscom-a-small-redesign/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>I love cool technology. Maybe it is the nerd in me that gets excited after seeing something awesome but I sure do love cool technology.</p>
<p>One such great technology is powered by PakTranslations.com &#8211; To see how awesome the technology is you can see the urdu version of <a href="http://paktranslations.com/?www.mazaydar.com">Mazaydar.com</a>!</p>
<p><a href="http://www.obaidahmed.com/wp-content/uploads/2009/05/paktranslations2.png"><img class="alignleft size-medium wp-image-266" style="padding: 5px;" title="paktranslations" src="http://www.obaidahmed.com/wp-content/uploads/2009/05/paktranslations2-300x300.png" alt="paktranslations" width="300" height="300" /></a></p>
<p>So what&#8217;s this blog post all about? While I love their technology, one thing that bothered me was their UI. I think they can make the site and technology a great hit if can make users life easier. They already have a great way to do it but its sorta hidden.</p>
<p>So I spent about an hour or so last night, while I couldn&#8217;t sleep and came up with this small mock layout.</p>
<p>Some thoughts behind the layout:</p>
<p>1. My goal was to keep the focus on the cool technology. I certainly didn&#8217;t spend too much time on the logo, which can certainly use some work</p>
<p>2. The &#8220;Instant Translation&#8221; is a nifty feature. Users need to know that they can place <strong><em>http://www.paktranslations.com/?</em></strong> infront of any url to get it translated.</p>
<p>3. Bookmarklets are also awesome, I have been using them and they are just simply great to translate anything instantly.</p>
<p>I think the whole website is an amazing idea, a much needed innovation coming out of Pakistan. I am sure as they progress the technology will just keep getting better and better. But I also strongly believe that a good technology which isnt&#8217; accessible is not worth much. People need to be able to use the technology easily to be able to provide feedback that is needed.</p>
<p><em>Note: The design is totally opensource for PakTranslations team to adapt. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2009/05/26/paktranslationscom-a-small-redesign/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Simple CSS Based Dropdown Menu</title>
		<link>http://www.obaidahmed.com/2008/11/17/simple-css-based-dropdown-menu/</link>
		<comments>http://www.obaidahmed.com/2008/11/17/simple-css-based-dropdown-menu/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 21:48:30 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=94</guid>
		<description><![CDATA[<p>Today while working on one of my projects, I had a problem that I wanted to solve without (or little to nothing) Javascript. It was a nice Monday afternoon sorta problem to solve. So here is a quick tutorial on how to create a dropdown menu using... <a href="http://www.obaidahmed.com/2008/11/17/simple-css-based-dropdown-menu/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.obaidahmed.com/wp-content/uploads/2008/11/dropdown.jpg"><img class="alignleft size-medium wp-image-96" style="border: 0px solid black;" title="dropdown" src="http://www.obaidahmed.com/wp-content/uploads/2008/11/dropdown-300x211.jpg" alt="" width="300" height="211" /></a>Today while working on one of my projects, I had a problem that I wanted to solve without (or little to nothing) Javascript. It was a nice Monday afternoon sorta problem to solve.</p>
<p>So here is a quick tutorial on how to create a dropdown menu using nothing but CSS. I am not claiming that I am the only person to have figured this out. I am also not claiming that this is the best solution out there. This is just here for you to learn, and for you to tell me what/how can I improve on it. Its all about learning.</p>
<p>Here we go:</p>
<p><strong>Markup:</strong></p>
<blockquote><p>&lt;div id=&#8221;menubutton&#8221;&gt;<br />
&lt;ul class=&#8221;button&#8221;&gt;<br />
&lt;li class=&#8221;"&gt;<br />
&lt;h2&gt;&lt;a href=&#8221;#&#8221;&gt;Share / Bookmark&lt;/a&gt;&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li class=&#8221;first&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Email Friends&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Facebook&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Google&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Delicious&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Digg&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;last&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Stumble Upon&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;ul class=&#8221;button&#8221;&gt;<br />
&lt;li class=&#8221;"&gt;<br />
&lt;h2&gt;&lt;a href=&#8221;#&#8221;&gt;I am another button&lt;/a&gt;&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li class=&#8221;first&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Email Friends&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Facebook&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Google&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Delicious&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Digg&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;last&#8221;&gt;&lt;a href=&#8221;#&#8221;&gt;Stumble Upon&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>The structure is a bit crude (i think) but essentially provides a &#8220;menubutton&#8221; div container that will contain all of our buttons. Each button is a <strong>UL</strong> list with an <strong>h2 </strong>element with an <strong>anchor</strong> element inside it. This provides us with a simple text heading for the button. The <strong>LI </strong>also contains another <strong>UL </strong>list that will be used as a drop down menu. For the sake of simplicity and time, I have given the first and last elements in this list class of <strong>first </strong>and <strong>last</strong> respectively. This helps in styling the button. You shall see.</p>
<p><strong>The CSS:</strong></p>
<p>The CSS for this whole this is like this:</p>
<blockquote><p>#menubutton {<br />
z-index: 30;<br />
}<br />
#menubutton ul.button, ul {<br />
list-style: none;<br />
margin: 0;<br />
padding: 0;<br />
margin-right: 5px;<br />
float: left;<br />
}<br />
#menubutton a, #menubutton h2 {<br />
margin: -2px 0 0;<br />
padding: 3px;<br />
}</p>
<p>#menubutton a {<br />
font-size: 12px;<br />
text-decoration: none;<br />
color: #3c89c8;<br />
text-align: left;<br />
}<br />
#menubutton a:hover {<br />
color: #1b325f;<br />
}<br />
#menubutton li {<br />
position: relative;<br />
}<br />
#menubutton ul.button li ul {<br />
position: absolute;<br />
}<br />
#menubutton ul.button li ul li {<br />
padding: 5px 10px 5px 5px;<br />
background-color: #fff;<br />
border-left: 1px solid #e1e1e1;<br />
border-right: 1px solid #e1e1e1;<br />
}</p>
<p>#menubutton ul.button li ul li.first {<br />
border-top: 1px solid #e1e1e1;<br />
}</p>
<p>#menubutton ul.button li ul li.last {<br />
border-bottom: 1px solid #e1e1e1;<br />
padding-bottom: 5px;<br />
}</p>
<p>div#menubutton ul.button li ul {<br />
display: none;<br />
margin-top: 0px;<br />
}</p>
<p>div#menubutton ul.button li:hover h2 {<br />
border-top: 1px solid #e1e1e1;<br />
border-right: 1px solid #e1e1e1;<br />
border-left: 1px solid #e1e1e1;<br />
}</p>
<p>div#menubutton ul.button li ul li:hover {<br />
background: #eeeeee;<br />
}</p>
<p>div#menubutton ul.button li:hover ul {<br />
display: block;<br />
}</p>
<p>div#menubutton ul.button li ul li {<br />
margin: 0;<br />
font-family: Arial, Helvetica, sans-serif;;<br />
text-align: left;<br />
width: 140px;<br />
}</p>
<p>div#menubutton ul.button li span a {<br />
display: block;<br />
}</p>
<p>li.menubutton ul {<br />
width: 140px;<br />
}</p>
<p>li.menubutton h2 {<br />
padding: 5px;<br />
}</p></blockquote>
<p>Phew, that&#8217;s a lot of CSS.. <img src='http://www.obaidahmed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I am not going to go through the details of the CSS but going to touch on one little trick that is being used here that makes it interesting. The <strong>UL </strong>that represents the dropdown menu is initially hidden by &#8220;display: none&#8221; property. We setup over <strong>hover</strong> monitoring via css on the <strong>LI </strong>that contains the <strong>H2 </strong>title and set this property to &#8220;block&#8221;. Voila! This makes the effect simple and very powerfull.</p>
<p><a href="http://deensoft.com/lab/experiment/dropdown.html">Give it a try. See it in action. </a></p>
<p>As always, your comments/suggestions are always welcome. Maybe there is a better way to structure the CSS so that its easily themeable. But I didn&#8217;t spend that much time on this so wanted to keep it simple for my own proof of concept.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2008/11/17/simple-css-based-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phonalyzr &#8211; Analytics For Your Phone</title>
		<link>http://www.obaidahmed.com/2008/11/17/phonalyzr-analytics-for-your-phone/</link>
		<comments>http://www.obaidahmed.com/2008/11/17/phonalyzr-analytics-for-your-phone/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 15:20:47 +0000</pubDate>
		<dc:creator>Obaid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Startups]]></category>

		<guid isPermaLink="false">http://www.obaidahmed.com/?p=87</guid>
		<description><![CDATA[<p>If you are like me than you most proabably are worried about your "cellular minutes". My cellphone being my only phone, I get a lot of calls from friends, family, clients and unwelcomed-telemarketers. This makes me nervous since I can't keep track... <a href="http://www.obaidahmed.com/2008/11/17/phonalyzr-analytics-for-your-phone/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://martin.drashkov.com/2008/11/phonalyzr-is-out.html"><img class="alignleft size-full wp-image-88" title="Phonalyzr" src="http://www.obaidahmed.com/wp-content/uploads/2008/11/p0.gif" alt="" width="228" height="438" /></a>If you are like me than you most proabably are worried about your &#8220;cellular minutes&#8221;. My cellphone being my only phone, I get a lot of calls from friends, family, clients and unwelcomed-telemarketers. This makes me nervous since I can&#8217;t keep track of how many minutes have I used up. Recently, I got My5 from Rogers and I picked the top 5 numbers that I thought I would be calling the most. Well after my first bill came, I was shocked to see how wrong I was! </p>
<p>I really wish I had an android phone right now, Phonalyzr would save me a bundle by giving me that vital information. A very good friend of mine, <a href="http://martin.drashkov.com/2008/11/phonalyzr-is-out.html">Martin Drashkov</a>, has come up with a brilliant application for android platform. He showed me a quick demo of the application and I was simply amazed.</p>
<p>Simply put Phonalyzr is like Google Analytics for your phone. It tells you exactly how are you using your phone to talk to the rest of the world. You can monitor yourself with this application and every month tweak your phone plan to the best possible plan for the best possible price. </p>
<p>The most amazing thing is that this app is free! Awesome. Now I must get an android phone. For those of you who already have one, <a href="http://www.phonalyzr.com/">check out the application</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.obaidahmed.com/2008/11/17/phonalyzr-analytics-for-your-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
