<?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>Web-kreation &#187; All</title>
	<atom:link href="http://web-kreation.com/category/all/feed/" rel="self" type="application/rss+xml" />
	<link>http://web-kreation.com</link>
	<description>Web &#38; Graphic Design by Jeremie Tisseau, Web Design Consultant at Calleo</description>
	<lastBuildDate>Wed, 27 Feb 2013 05:25:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mobile Monday Bangkok &#8211; MoMo Event (relaunch) on the 25th of July 2011 at 7pm</title>
		<link>http://web-kreation.com/all/mobile-monday-bangkok-momo-event-relaunch-on-the-25th-of-july-2011-at-7pm/</link>
		<comments>http://web-kreation.com/all/mobile-monday-bangkok-momo-event-relaunch-on-the-25th-of-july-2011-at-7pm/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 04:30:14 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Mobile Monday]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=3406</guid>
		<description><![CDATA[Mobile Monday (MoMo) Bangkok chapter invites you to join our first ever event in Bangkok!
Mobile Monday, established in 2000, is a global community for mobile community.
Original chapter locations included Helsinki, New York, Silicon Valley, London, Sydney, Paris, Mumbai, Beijing, Singapore and Tokyo with 100 cities active now and more planning to launch in 2011.]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong>Mobile Monday (MoMo) Bangkok chapter invites you to join our first ever event in Bangkok!</strong></p>
<p>&nbsp;</p>
<blockquote>
<p><img src="http://web-kreation.com/wp-content/uploads/2011/07/momo_july_25.jpg" alt="" title="momo_july_25" width="495" height="200" class="alignnone size-full wp-image-3412" /></p>
<p>Mobile Monday, established in 2000, is a global community for mobile community.<br />
Original chapter locations included Helsinki, New York, Silicon Valley, London, Sydney, Paris, Mumbai, Beijing, Singapore and Tokyo with 100 cities active now and more planning to launch in 2011.</p>
<p>&nbsp;</p>
<p><a class="btn-medium" title="Join In on Facebook" href="http://www.facebook.com/event.php?eid=216191235068821" target="_blank"><span>Register for free</span></a></p>
<h2>Focus of Mobile Monday Bangkok is to:</h2>
<ul>
<li>Foster an open, independent and innovative platform within the mobile sector</li>
<li>Facilitate industry networking between small and large companies and individuals</li>
<li>Bridge partnership exchanges between domestic and international organizations</li>
<li>To present valuable visions, trends, studies and forecasts from the mobile marketplace</li>
<li>Provide opportunities for local members to effectively participate in global initiatives</li>
</ul>
<h2>Our Speakers</h2>
<p>There will be three presentations from global experts in three subject areas (presentations both in Thai and English).</p>
<ul>
<li><strong>BUSINESS: Developing compelling apps by BlackBerry</strong><br />
<em>Johan Kremer, Head of Alliances at Research In Motion (RIM, <a href="http://www.rim.com">www.rim.com</a> )</em></li>
<li><strong>TECHNICAL: Digital publishing and monetizing your digital content</strong><br />
<em>Dr. Polapat Udomphol, business development director of IT Works (<a href="http://www.itworks.co.th">www.itworks.co.th</a>)</em></li>
<li><strong>START-UP: What you need to know to be a successful startup</strong><br />
<em>Thomas Kjeldgaard is the cofounder of Pagemodo (<a href="http://www.pagemodo.com">www.pagemodo.com</a>)</em></li>
</ul>
<h2>Event Location:</h2>
<p>Novotel Siam Square (Siam BTS exit 4)<br />
392/44 Siam Square Soi 6<br />
Bangkok, Thailand</p></blockquote>
<p>&nbsp;</p>
<p>See more updates on <a title="our website" href="http://www.momobkk.com">our websites</a> or visit our <a title="Facebook Page" href="http://www.facebook.com/pages/MoMo-BKK-Mobile-Monday-Bangkok/143782702356398" target="_blank">Facebook page</a></p>
<div id="ugdv_jqContextMenu" style="display: none; position: absolute; z-index: 9999;"></div>
<div style="background-color: #000000; position: absolute; opacity: 0.2; z-index: 9998; display: none;"></div>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/mobile-monday-bangkok-momo-event-relaunch-on-the-25th-of-july-2011-at-7pm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Five Step Guide to Cross-cultural Web Design</title>
		<link>http://web-kreation.com/all/a-five-step-guide-to-cross-cultural-web-design/</link>
		<comments>http://web-kreation.com/all/a-five-step-guide-to-cross-cultural-web-design/#comments</comments>
		<pubDate>Fri, 14 May 2010 13:18:34 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Site Optimization]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=3120</guid>
		<description><![CDATA[One of the most exciting aspects of the Internet, particularly for business owners, is that the World Wide Web is exactly that – we can now target customers in Lahore as easily as London, Moscow as easily as Miami.]]></description>
				<content:encoded><![CDATA[<p>One of the most exciting aspects of the Internet, particularly for business owners, is that the World Wide Web is exactly that – we can now target customers in Lahore as easily as London, Moscow as easily as Miami.</p>
<p>But just because users all over the world are now linked, does not make them the same. Different cultures have distinct habits and preferences so you will need to think carefully about what each of your target markets will respond to before you begin to design your website.</p>
<p>Looking at the websites of successful companies in each country will give you some indication as to what your audience find appealing. There are also certain steps which can be taken to aid your <strong>search engine optimisation (SEO)</strong> in each region.</p>
<p>To help you out, here are a few of the aspects you should consider when localising your website:</p>
<h2>1. Domain</h2>
<p>Invest in an in-country domain name for each of your target markets. While it may be cheaper and more convenient to have one domain name which covers all of your target countries, having dedicated in-country domains helps Google to rank each site on its country-specific search engines, and will therefore boost your rankings.</p>
<h2>2. Server Location</h2>
<p>Check with your chosen web service providers that their server is actually held in your target country. Again this will help with your SEO, as search engines favour sites which are hosted in their ‘home’ country.</p>
<h2>3. Meta Keywords</h2>
<p>Ensure that you are including the best possible keywords in your copy, and if possible in your URL.</p>
<p>It isn’t enough to simply translate the keywords that you use on your English site on a word-for-word basis; different nationalities use different phrases in their searching habits, including synonyms, acronyms, colloquialisms and abbreviations, and you will need to adapt your keywords accordingly. Google’s keyword tool can help you with this.</p>
<h2>4. Design</h2>
<p>While you will want to create cohesive and consistent branding across all of your sites, the design of each site should allow for that country’s cultural preferences.<br />
Using Cascading Style Sheets (CSS) allows for table-less design and separates content from design,  meaning that you won’t have to re-design each page from scratch.</p>
<p>Elements to consider in your design include:</p>
<ul>
<li><strong>Colour</strong><br />
Colour can be very culturally significant, with the same colour having vastly different connotations around the world. For example red, in the West, signifies danger, while in China it suggests celebration and in India, purity. Take some time to investigate what your colour scheme may mean to your consumers. A green or blue background with white or black text tends to be the most universally accepted.</li>
<li><strong>Imagery</strong><br />
Adjust your images for each site, and ensure that you are culturally aware. For example, a Western travel website may show holidaymakers in bikinis, but this could be considered inappropriate and even offensive in more conservative Eastern cultures.</li>
<li><strong>Navigation</strong><br />
Not all languages read from left to right – Arabic for instance, the world’s fifth most influential language, reads from right to left. Choosing a horizontal navigation bar instead of a vertical one will help to combat this issue.</li>
<li><strong>Font </strong><br />
It is important to use a common font, so that the text is displayed correctly on most screens. Sans serif fonts such as Arial or Verdana are easy on the eye.</li>
<li><strong>Use Unicode</strong><br />
Unicode UTF-8 is a flexible character encoding tool which is compatible with over 90 written languages. Using this will make it easier to switch between languages.<br />
Bear in mind that different character sets mean changing line heights and widths. Also, certain languages use more characters to express the same ideas, for example German words tend to be longer than English words. So be sure to factor this into your page design.</li>
<li><strong>Avoid Flash </strong><br />
The text embedded in Flash is not easily read by engine bots, which will impede your SEO progress. Also, not all countries have high speed Internet access so a Flash site may take too much time to load.</li>
</ul>
<h2>5. Content</h2>
<p>The fundamental point here is to make sure that your content is translated correctly. To gain the trust of your potential customers, you will need to ensure that the nuances of the local language and culture are observed.</p>
<p>Tempting though it may be to use an automatic translation program, there is really no substitute for using a professional translator working in their native tongue. Text converted by a machine translation tool rarely reads naturally, and you will run the risk of confusing, or even offending, your target audience.</p>
<p>With these points in mind, the world is your oyster, and your website will be sure to attract new customers across the cosmos.</p>
<p><small class="grey"><strong>Credits:</strong> Vector tech map by <a href="http://www.vecteezy.com/vf/465-Vector-tech-map" title="illustration">Chadlonius</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/a-five-step-guide-to-cross-cultural-web-design/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Book Review: &#8220;Magento: Beginner&#8217;s Guide&#8221;</title>
		<link>http://web-kreation.com/all/book-review-magento-beginners-guide/</link>
		<comments>http://web-kreation.com/all/book-review-magento-beginners-guide/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 06:36:21 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[CMS & E-commerce platforms]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=2159</guid>
		<description><![CDATA[This step-by-step beginner's guide takes the pain out of using the world's best open source e-commerce solution. It guides you through installing the software, configuring your store, populating your store with products, accepting payments, maintaining relationships with your customers, and fulfilling orders.]]></description>
				<content:encoded><![CDATA[<p>A while ago, publishers Jasmine Trevedi sent me a free copy of the eBook &#8220;<a title="Magento: Beginner's Guide" href="http://www.packtpub.com/magento-beginners-guide?utm_source=web-kreation.com&amp;utm_medium=bookrev&amp;utm_content=blog&amp;utm_campaign=mdb_000764" target="_blank">Magento: Beginner&#8217;s Guide</a>&#8221; for review.<br />
<span id="more-2159"></span></p>
<p>This step-by-step beginner&#8217;s guide takes the pain out of using the world&#8217;s best open source e-commerce solution. It guides you through installing the software, configuring your store, populating your store with products, accepting payments, maintaining relationships with your customers, and fulfilling orders.</p>
<p>As your online store grows, you can be sure that this robust e-commerce system will handle your needs. However, getting started with Magento can be difficult without the right guidance. This book provides that guidance in the form of a step-by-step approach to build a simple and effective online store. As you follow along with the guided lessons, you will see how an online coffee store is created from the ground up.</p>
<h2>The Cover</h2>
<p><a href="http://www.packtpub.com/magento-beginners-guide"><img class="size-full wp-image-2162 alignnone" title="Book Review &quot;Magento: Beginner's Guide&quot;" src="http://web-kreation.com/wp-content/uploads/2010/02/magento_beginners_guide_book.jpg" alt="" width="240" height="305" /></a></p>
<h2>Book Description</h2>
<ul>
<li>Step-by-step guide to building your own online store</li>
<li>Focuses on the key features of Magento that you must know to get your store up and running</li>
<li>Customize the store&#8217;s appearance to make it uniquely yours</li>
<li>Clearly illustrated with screenshots and a working example</li>
</ul>
<h2>Free sample for my readers</h2>
<p>The publisher sent me a sample chapter (.PDF format) on “Categories and Attributes” that will teach you how to add products to their online Magento store. You can view or download it <a title="Chapter No. 3 &quot;Categories and Attributes&quot;" href="http://www.packtpub.com/files/magento-sample-chapter-3-categories-and-attributes.pdf" target="_blank">here</a>.</p>
<h2>Where to buy?</h2>
<p>You can buy or read more about at <a title="Buy &quot;Magento: Beginner's Guide&quot;" href="http://www.packtpub.com/magento-beginners-guide">PACKT Publishing</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/book-review-magento-beginners-guide/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Designing Apps for iPhone, iPad, Android, Palm Pre &#8211; Ressources</title>
		<link>http://web-kreation.com/all/designing-apps-for-iphone-ipad-android-palm-pre-ressources/</link>
		<comments>http://web-kreation.com/all/designing-apps-for-iphone-ipad-android-palm-pre-ressources/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 10:24:33 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[iPda]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Palm pre]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Smartphones]]></category>
		<category><![CDATA[Tablets]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=2101</guid>
		<description><![CDATA[As the need to design applications for smartphones and tablets is becoming more and more important, I have put together a list of GUI ressources (PSD, Fireworks) for the iPhone, Android, Palm Pre and iPad  [...]]]></description>
				<content:encoded><![CDATA[<p>As the need to design applications for smartphones and tablets is becoming more and more important, I have put together a list of GUI ressources (PSD, Fireworks) for the iPhone, Android, Palm Pre and iPad along with the Human Interface Guidelines for each device to help designers pitch and develop polished concepts. </p>
<p>I hope you will find this list useful. Please, if you think this list is incomplete, add your link in the comments.</p>
<h2>iPhone GUI:</h2>
<ul>
<li class="clearfix"><a title="iPhone GUI PSD 3.0" href="http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/" target="_blank">iPhone GUI PSD 3.0<br />
</a> <span class="grey">(Photoshop CS4)</span></p>
<p><a href="http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/"><img class="alignleft size-full wp-image-2104" title="iphonegui_3_0" src="http://web-kreation.com/wp-content/uploads/2010/02/iphonegui_3_0.jpg" alt="" width="540" /></a></li>
<li class="clearfix"><a title="Fireworks toolkit for creating iPhone UI mockups" href="http://blog.metaspark.com/2009/02/fireworks-toolkit-for-creating-iphone-ui-mockups/" target="_blank">Fireworks toolkit for creating iPhone UI mockups<br />
</a> <span class="grey">(Fireworks CS3 and CS4)</span></p>
<p><a href="http://blog.metaspark.com/2009/02/fireworks-toolkit-for-creating-iphone-ui-mockups/"><img class="alignleft size-full wp-image-2105" title="iphone_mockup_toolkit_small" src="http://web-kreation.com/wp-content/uploads/2010/02/iphone_mockup_toolkit_small.png" alt="" width="470" height="359" /></a></li>
<li class="clearfix"><a title="FreshBooks iPhone Application GUI" href="http://developers.freshbooks.com/blog/view/freshbooks_iphone_application_gui/" target="_blank">FreshBooks iPhone Application GUI<br />
</a> <span class="grey">(Photoshop)</span></p>
<p><a href="http://developers.freshbooks.com/blog/view/freshbooks_iphone_application_gui/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/iphoneguiv1.jpg" alt="" title="iphoneguiv1" width="527" height="307" class="alignnone size-full wp-image-2114" /></a></li>
<li class="clearfix"><a title="320480 - iPHone Interface PSD file" href="http://www.320480.com/" target="_blank">320480 &#8211; iPHone Interface PSD file<br />
</a> <span class="grey">(Photoshop)</span></p>
<p><a href="http://www.320480.com/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/iphone_interface_PSD.jpg" alt="" title="iphone_interface_PSD" width="540" height="269" class="alignnone size-full wp-image-2119" /></a></li>
<li class="clearfix"><a title="Designing the User Interface of Your iPhone Application" href="http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/PartII/PartII.html#//apple_ref/doc/uid/TP40006556-CH9-SW1" target="_blank">Designing the User Interface of Your iPhone Application<br />
</a> <span class="grey">(Official documentation: iPhone Human Interface Guidelines)</span></p>
<p><a href="http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/PartII/PartII.html#//apple_ref/doc/uid/TP40006556-CH9-SW1"><img src="http://web-kreation.com/wp-content/uploads/2010/02/iphone_UI_guidelines.jpg" alt="" title="iphone_UI_guidelines" width="540" height="479" class="alignnone size-full wp-image-2129" /></a></li>
</ul>
<h2>Android GUI:</h2>
<ul>
<li class="clearfix"><a title="Google Android GUI PSD v. 1.0" href="http://www.matcheck.cz/androidguipsd/" target="_blank">Android GUI PSD v. 1.0 (for Android 1.5)<br />
</a> <span class="grey">(Photoshop)</span></p>
<p><a href="http://www.matcheck.cz/androidguipsd/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/android_gui.jpg" alt="" title="android_gui" width="540" height="331" class="alignnone size-full wp-image-2122" /></a>
</li>
<li class="clearfix"><a title="Android User Interface Guidelines" href="http://chrisbrummel.com/google-android-gui-psd" target="_blank">Google Android GUI PSD</a><br />
<span class="grey">(Photoshop)</span></p>
<p><a href="http://chrisbrummel.com/google-android-gui-psd"><img src="http://web-kreation.com/wp-content/uploads/2010/02/Android_GUI_PSD.jpg" alt="" title="Android_GUI_PSD" width="540" height="271" class="alignnone size-full wp-image-2127" /></a>
</li>
<li class="clearfix"><a title="Android User Interface Guidelines" href="http://developer.android.com/guide/practices/ui_guidelines/index.html" target="_blank">Android User Interface Guidelines<br />
</a> <span class="grey">(Official documentation)</span></p>
<p><a href="http://developer.android.com/guide/practices/ui_guidelines/index.html"><img src="http://web-kreation.com/wp-content/uploads/2010/02/android_icons.png" alt="" title="android_icons" width="540" class="alignnone size-full wp-image-2124" /></a>
</li>
<li class="clearfix"><a title="DroidDraw Beta" href="http://www.droiddraw.org/" target="_blank">DroidDraw Beta</a><br />
<span class="grey">(User Interface (UI) designer/editor for programming the Android Cell Phone Platform)</span></p>
<p><a href="http://www.droiddraw.org/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/droiddraw.jpg" alt="" title="droiddraw" width="540" height="299" class="alignnone size-full wp-image-2132" /></a>
</li>
</ul>
<h2>Palm Pre GUI:</h2>
<ul>
<li class="clearfix"><a title="Palm Pre GUI PSD" href="http://www.teehanlax.com/blog/2009/07/08/palm-pre-gui-psd/" target="_blank">Palm Pre GUI PSD<br />
</a> <span class="grey">(Photoshop CS4)</span></p>
<p><a href="http://www.teehanlax.com/blog/2009/07/08/palm-pre-gui-psd/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/palmprepsd.jpg" alt="" title="palmprepsd" width="540" class="alignleft size-full wp-image-2111" /></a>
</li>
<li class="clearfix"><a title="Palm Pre User Interface Guidelines" href="http://developer.palm.com/index.php?option=com_content&#038;view=article&#038;id=1606&#038;Itemid=29" target="_blank">Palm Pre User Interface Guidelines<br />
</a> <span class="grey">(Official documentation)</span></p>
<p><a href="http://developer.palm.com/index.php?option=com_content&#038;view=article&#038;id=1606&#038;Itemid=29"><img src="http://web-kreation.com/wp-content/uploads/2010/02/SceneAnatomy.png" alt="" title="SceneAnatomy" width="540" class="alignnone size-full wp-image-2138" /></a>
</li>
</ul>
<h2>iPad GUI:</h2>
<ul>
<li class="clearfix"><a title="iPad GUI PSD" href="http://www.teehanlax.com/blog/2010/02/01/ipad-gui-psd/" target="_blank">iPad GUI PSD<br />
</a> <span class="grey">(Photoshop CS4)</span></p>
<p><a href="http://www.teehanlax.com/blog/2010/02/01/ipad-gui-psd/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/ipad_GUI_PSD1.jpg" alt="" title="ipad_GUI_PSD1" width="540" class="alignnone size-full wp-image-2140" /></a>
</li>
<li class="clearfix"><a title="ipad vector GUI elements: tabs buttons menus icons" href="http://iconlibrary.iconshock.com/icons/ipad-vector-gui-elements-tabs-buttons-menus-icons/" target="_blank">ipad vector GUI elements: tabs buttons menus icons<br />
</a> <span class="grey">(Illustrator, Photoshop &#8211; Found on <a href="http://net.tutsplus.com/freebies/others/massive-ipad-vector-gui-elements/?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed:+nettuts+(NETTUTS)">Nettuts</a>)</span></p>
<p><a href="http://iconlibrary.iconshock.com/icons/ipad-vector-gui-elements-tabs-buttons-menus-icons/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/ss.jpg" alt="" title="ipad vector GUI elements: tabs buttons menus icons" width="540" class="alignnone size-full wp-image-3160" /></a>
</li>
<li class="clearfix"><a title="iPad Human Interface Guidelines" href="http://www.apple.com/ipad/sdk/" target="_blank">iPad Human Interface Guidelines<br />
</a> <span class="grey">(Documentation: Design an incredible user interface and user experience for your iPad application by following the iPad Human Interface Guidelines. )</span></p>
<p><a href="http://www.apple.com/ipad/sdk/"><img src="http://web-kreation.com/wp-content/uploads/2010/02/ipad_guidelines.jpg" alt="" title="ipad_guidelines" width="540" height="181" class="alignnone size-full wp-image-2155" /></a>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/designing-apps-for-iphone-ipad-android-palm-pre-ressources/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create Code Snippets in Aptana to Improve Productivity</title>
		<link>http://web-kreation.com/all/create-code-snippets-in-aptana-to-improve-productivity/</link>
		<comments>http://web-kreation.com/all/create-code-snippets-in-aptana-to-improve-productivity/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 11:07:53 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1993</guid>
		<description><![CDATA["<em>Code Snippets feature in aptana lets you quickly insert small pieces of code into your HTML, CSS, JavaScript, and XML files. Snippets can save you time and hassle of typing out bits of code that you frequently use by adding them into your files by simply double-clicking the name of the Snippet.</em>"]]></description>
				<content:encoded><![CDATA[<p>If you have been writing the same bits of code over again to develop Web sites or applications, this article is for you. Today, I will show you how to add or use existing snippets in Aptana 1.5. As the Aptana Team says, &#8220;<em>The code Snippets feature in aptana lets you quickly insert small pieces of code into your HTML, CSS, JavaScript, and XML files. Snippets can save you time and hassle of typing out bits of code that you frequently use by adding them into your files by simply double-clicking the name of the Snippet.</em>&#8221;</p>
<h2>Let&#8217;s get started</h2>
<p>For this tutorial, I will assume you are familiar with Aptana and have installed it on your Computer. If not, you can download it for free <a href="http://www.aptana.org/studio/download" title="Download Aptana" target="_blank" rel="nofollow">here</a>. As we speak, version is 1.5.</p>
<p>Launch Aptana Studio and open the Projects and Snippets Views (<em>Window > Show View</em>).<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/10/aptana-panels-projects-snippets1.jpg" alt="aptana-panels-projects-snippets" title="aptana-panels-projects-snippets" width="600" class="aligncenter size-full wp-image-2009" /></p>
<h2>How to Use Code Snippets in your projects</h2>
<p>You might not be aware of it but everytime you click on a button in your toolbar you are actually using a code snippet:<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/10/aptana-toolbar.jpg" alt="aptana-toolbar" title="aptana-toolbar" width="600" height="58" class="aligncenter size-full wp-image-2002" /></p>
<p>Alternatively, you can just expand a folder in the Snippets view and double click a snippet or right click and &#8220;Apply snippet&#8221; to quickly insert a piece of code into your HTML, CSS, JavaScript, PHP, XML&#8230; files.</p>
<h2>Edit an existing Snippet</h2>
<p>If you want to edit a Snipppet, expand a folder in the Snippets View (e.g. HTML, CSS&#8230;), right-click on the snippet you want to edit and select &#8220;Edit Snippet&#8221;. </p>
<h2>Add a new snippet (step by step tutorial)</h2>
<p>For this tutorial, we are going to create a new HTML snippet to Wrap text with <code>&lt;a&gt;</code> and prompt users to type link url and title. Our snippet will generate this code: <code>&lt;a href="http://domain.com" title="Your Title Here" target="_blank" rel="nofollow"&gt;selected text here&lt;/a&gt;</code>.</p>
<ul>
<li>To add a new Snippet, you must create a new folder named <strong>snippets</strong> in any top-level folder of your Project View. You only need to do this the first time you create a snippet.</li>
<li>In your snippets folder, create a blank HTML file and give it a name (e.g. wrap-with-a-options.html).
<p>&nbsp;</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/10/aptana-new-file.jpg" alt="aptana-new-file" title="aptana-new-file" width="560" height="400" class="aligncenter size-full wp-image-2012" />
<p>&nbsp;</p>
</li>
<li>In Snippets View, expand <strong>Snippet Templates</strong> and select &#8220;HTML Snippet Template&#8221;. It will open a dialog box and prompt you to enter the name of your Snippet (e.g. &#8220;Wrap with &lt;a&gt; (Options)&#8221;):
<p>&nbsp;</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/10/aptana-snippets-templates.jpg" alt="aptana-snippets-templates" title="aptana-snippets-templates" width="560" height="326" class="aligncenter size-full wp-image-2021" /></p>
<p>&nbsp;</p>
<p>Aptana will generate the following code for you on top of your HTML file:<br />
</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1993code1'); return false;">View Code</a> HTM4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19931"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p1993code1"><pre class="htm4strict" style="font-family:monospace;">&lt;!--
	category: HTML
	name: Wrap with &lt;a&gt; (Options)
	toolTip: Wrap with &lt;a&gt; (Options)
--&gt;</pre></td></tr></table></div>

</li>
<li>Next, add your code snippet:<br />
</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1993code2'); return false;">View Code</a> HTM4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19932"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p1993code2"><pre class="htm4strict" style="font-family:monospace;">&lt;!--
	category: HTML
	name: Wrap with &lt;a&gt; (Options)
	toolTip: Wrap with &lt;a&gt; (Options)
--&gt;
&lt;a href=&quot;&quot; title=&quot;&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;</pre></td></tr></table></div>

</li>
<li>Now, we need create some variables to prompt users to enter url and title for the link they want to generate. We will use <code>prompt(var_name): promptText</code> where <em>var_name</em> is the name of the variable and <em>promptText</em> is the text that you want the Snippet to prompt the user with. Here how it goes:<br />
</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1993code3'); return false;">View Code</a> HTM4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19933"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p1993code3"><pre class="htm4strict" style="font-family:monospace;">&lt;!--
	category: HTML
	name: Wrap with &lt;a&gt; (Options)
	toolTip: Wrap with &lt;a&gt; (Options)
	prompt(url): Enter URL
	prompt(title): Enter Title
--&gt;
&lt;a href=&quot;${url}&quot; title=&quot;${title}&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;</pre></td></tr></table></div>

</li>
<li>We will go one step further and wrap our code around ${selection}. This will let you select the text you want to link:<br />
</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1993code4'); return false;">View Code</a> HTM4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19934"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p1993code4"><pre class="htm4strict" style="font-family:monospace;">&lt;!--
	category: HTML
	name: Wrap with &lt;a&gt; (Options)
	toolTip: Wrap with &lt;a&gt; (Options)
	prompt(url): Enter URL
	prompt(title): Enter Title
--&gt;
&lt;a href=&quot;${url}&quot; title=&quot;${title}&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;${selection}&lt;/a&gt;</pre></td></tr></table></div>

</li>
<li>Save your file. This snippet is ready to use and should now be filed in the Snippets View under <strong>HTML</strong>. To use it, place your cursor somewhere in a HTML file or select the text you want to link, and click twice on your snippet to insert it.</li>
</ul>
<h2>Add Snippet to toolbar (optional)</h2>
<p>Following our previous example, we are now going to add our snippet to the toolbar:<br />
</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1993code5'); return false;">View Code</a> HTM4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19935"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code" id="p1993code5"><pre class="htm4strict" style="font-family:monospace;">&lt;!--
	category: HTML
	name: Wrap with &lt;a&gt; (Options)
	toolTip: Wrap with &lt;a&gt; (Options)
	prompt(url): Enter URL
	prompt(title): Enter Title
&nbsp;
	toolbar: true
	icon: com.aptana.ide.snippets/icons/link.png
	language: text/html
--&gt;
&lt;a href=&quot;${url}&quot; title=&quot;${title}&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;${selection}&lt;/a&gt;</pre></td></tr></table></div>

<p><strong>toolbar</strong> : if set to &#8220;true&#8221;, show snippet in toolbar<br />
<strong>icon</strong> : relative path to icon toolbar item. (default path: com.aptana.ide.snippets/icons/)<br />
<strong>language </strong> : MIME type of content to wich this item is related. Options: text/html, text/css, text/javascript&#8230;</p>
<p>Unfortunately, there seems to be no easy way to add your own set of icons. This has been reported in a <a href="http://support.aptana.com/asap/browse/STU-1120">ticket</a> and we just have to hope someone will work on this. However, all is not lost. Icons are stored in a JAR archive: <em>C:\Program Files\Aptana\Aptana Studio 1.5\plugins\com.aptana.ide.snippets_1.5.0.24896.jar\icons</em> in Windows (please note path to this folder might be slightly different for you). Copy your icons to this folder and change the name of your icon in the code above and it will appear in toolbar (you will have to restart Aptana first). </p>
<h2>The End Result</h2>
<p>In the screenshot below, you can see the new icon in the toolbar on the right. Select the text you want to link, click on the button and you will be prompted to enter the url and title for this link:</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/10/aptana-wrap-with-a-end-result.jpg" alt="aptana-wrap-with-a-end-result" title="aptana-wrap-with-a-end-result" width="600" height="337" class="aligncenter size-full wp-image-2039" /></p>
<h2>Last word</h2>
<p>I hope you enjoyed this tutorial. Do not hesitate to share your snippets with us in the comments. </p>
<p>Smashing Magazine put together a great list of code snippets repositories. Check their article: <a href="http://www.smashingmagazine.com/2009/07/21/45-excellent-code-snippet-resources-and-repositories/" title="45+ Excellent Code Snippet Resources and Repositories" target="_blank" rel="nofollow">45+ Excellent Code Snippet Resources and Repositories</a></p>
<p><strong>And you? What software or application do you use to store your snippets?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/create-code-snippets-in-aptana-to-improve-productivity/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sponsor list with CSS Sprites and Mootools 1.2</title>
		<link>http://web-kreation.com/all/sponsor-list-with-css-sprites-and-mootools-1-2/</link>
		<comments>http://web-kreation.com/all/sponsor-list-with-css-sprites-and-mootools-1-2/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 11:44:59 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[csss]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1942</guid>
		<description><![CDATA[Today, we are going to see how to create a sponsor list with CSS Sprites and Mootools 1.2 as seen on <a href="http://jquery.com" title="jquery" rel="nofollow>jQuery.com</a> or <a href="http://www.jamiewhincup.com.au/" title="jQuery - ajax site" rel="nofollow" target="_blank">JamieWhinCup</a>. Before we start, have a look for yourself: <a href="http://web-kreation.com/demos/sponsor_list_with_mootools_1.2/" title="sponsor list with CSS sprites and Mootools 1.2">view demo &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Today, we are going to see how to create a sponsor list with CSS Sprites and Mootools 1.2 as seen on <a title="jquery" rel="nofollow&gt;jQuery.com&lt;/a&gt; or &lt;a href=" href="http://jquery.com" target="_blank">JamieWhinCup</a>:</p>
<p><a title="sponsor list with Flash" rel="nofollow" href="http://www.jamiewhincup.com.au/" target="_blank"><img class="aligncenter size-full wp-image-1944" title="sponsor list sample with Flash" src="http://web-kreation.com/wp-content/uploads/2009/09/sponsor-list-sample.jpg" alt="sponsor-list-sample" width="480"  /></a></p>
<h2>Preview / Download</h2>
<p><a title="sponsor list with CSS sprites and Mootools 1.2" href="http://web-kreation.com/demos/sponsor_list_with_mootools_1.2/"><img class="aligncenter size-full wp-image-1948" title="sponsor list with CSS sprites and jQuery" src="http://web-kreation.com/wp-content/uploads/2009/09/sponsor-list-demo.jpg" alt="sponsor list with CSS sprites and Mootools 1.2" width="600" height="85" /></a></p>
<div class="clearfix"><a class="btn-big view" title="sponsor list with CSS sprites and Mootools 1.2" href="http://web-kreation.com/demos/sponsor_list_with_mootools_1.2/"><span>view demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p class="grey">This menu is released under a <a title="Creative Commons Attribution-Share Alike 2.0 License" rel="nofollow" href="http://creativecommons.org/licenses/by-sa/2.0/fr/" target="_blank">Creative Commons Attribution-Share Alike 2.0 License</a>. Feel free to do whatever you’d like with this menu or template, just please give credit where credit is do.</p>
<h2>Step 1: The HTML</h2>
<p>HTML code is pretty simple:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1942code6'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19426"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code" id="p1942code6"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsors&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>Our Sponsors:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>
&nbsp;
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;mootools&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;drupal&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;technorati&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;miro&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;mozilla&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nbc&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;twitter&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
    <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wordpress&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Web-Kreation&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.con/index.php/blog&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></pre></td></tr></table></div>

<p>The same result could be done with an unordered list but I didn&#8217;t see the necessity to add extra tags to my document.</p>
<h2>Step 2: CSS Sprites</h2>
<p>A sprite is basically multiple graphics combined into one single file. To display a single image from the master image, one would use the background-position property in CSS, defining the exact position of the image to be displayed.</p>
<p>Google makes good use of CSS sprites on their <a title="google" rel="nofollow" href="http://google.com">search page</a>:</p>
<p><img class="alignleft size-full wp-image-1783" title="nav_logo6" src="http://web-kreation.com/wp-content/uploads/2009/08/nav_logo6.png" alt="nav_logo6" width="150" height="106" /></p>
<p>The main advantages of using sprites are:</p>
<ul>
<li>Fewer images for the browser to download, which means less http requests.</li>
<li>Total images size is generally smaller.</li>
<li>Rollover image appears instanlty on mouseover.</li>
</ul>
<p>For this example, we are going to create a color version and a grayscale version and merge them into one file as you can see below:</p>
<p><img class="alignleft" src="http://web-kreation.com/demos/sponsor_list_with_mootools_1.2/images/nbc.jpg" alt="css sprites" /></p>
<div class="clearfix"></div>
<p>Include the CSS code below in the head of your html document or in an external style sheet:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1942code7'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19427"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code" id="p1942code7"><pre class="css" style="font-family:monospace;">&lt;!--
<span style="color: #cc00cc;">#sponsors</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">940px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#eee</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sponsors</span> span <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sponsors</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.mootools</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/mootools.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">85px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.drupal</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/drupal.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">74px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.technorati</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/Technorati.Jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">107px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.jquery</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/jquery.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">63px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.miro</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/miro.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">23px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.mozilla</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/mozilla.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">63px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.nbc</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/nbc.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.twitter</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/twitter.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">87px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.wordpress</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/wordpress.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/*mouseover*/</span>
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.mootools</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.drupal</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.technorati</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.jquery</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.miro</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.mozilla</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.nbc</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.twitter</span><span style="color: #00AA00;">,</span> 
	a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.wordpress</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-20px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/* reveal color version */</span>
--<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p>In the initial state, we only want to see the grayscale version. In order to do that, we set the background-position property to &#8220;0 0&#8243; in our CSS. On mouseover, we change background-position to &#8220;0 -20px&#8221; to reveal the color version.</p>
<p><em>(If you want to learn more about sprites, check this excellent article from Smashing Magazine: <a title="The Mystery Of CSS Sprites: Techniques, Tools And Tutorials" rel="nofollow" href="http://www.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/" target="_blank">The Mystery Of CSS Sprites: Techniques, Tools And Tutorials</a>)</em></p>
<h2>Step 3: the Javascript (js/colorize.js)</h2>
<p>I have commented the JS. It should be self-explanatory but if you have any question, ask in the comments below.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1942code8'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19428"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code" id="p1942code8"><pre class="javascript" style="font-family:monospace;">window.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'domready'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> sponsors <span style="color: #339933;">=</span> $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#sponsors a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">0.5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Set opacity to 0.5 for grayscale image</span>
&nbsp;
	sponsors.<span style="color: #660066;">set</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span><span style="color: #CC0000;">200</span><span style="color: #339933;">,</span> wait<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">//On mouseenter</span>
		<span style="color: #3366CC;">'mouseenter'</span><span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'background-position'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'0 -20px'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Reveal color image</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//set opacity to 1</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>		
&nbsp;
		<span style="color: #006600; font-style: italic;">//on mouseleave</span>
		<span style="color: #3366CC;">'mouseleave'</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">setStyle</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">500</span><span style="color: #339933;">,</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'background-position'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'0 0'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//set back initial background-position for grayscale image</span>
			<span style="color: #003366; font-weight: bold;">var</span> tween <span style="color: #339933;">=</span>  <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			tween.<span style="color: #660066;">start</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">500</span><span style="color: #339933;">,</span> tween<span style="color: #339933;">,</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0.5</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//set back initial opacity</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h2>Step 4: Make it happen!</h2>
<p>Finally, add links to the Mootools 1.2 and colorize.js in the head of your html document:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1942code9'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19429"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p1942code9"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/mootools-1.2.1-core-yc.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:0--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/colorize.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:1--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></td></tr></table></div>

<p>Test your page in a browser and you will be all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/sponsor-list-with-css-sprites-and-mootools-1-2/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Hidden jQuery Drop Down Menu for Minimalist Design</title>
		<link>http://web-kreation.com/all/hidden-jquery-drop-down-menu-for-minimalist-design/</link>
		<comments>http://web-kreation.com/all/hidden-jquery-drop-down-menu-for-minimalist-design/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 10:46:06 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Menus]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1895</guid>
		<description><![CDATA[A while ago, I started to sketch a few menus in my notebook. I wanted a menu that would be minimalist – almost invisible – but still accessible, some kind of button or maybe a link that would open the menu.]]></description>
				<content:encoded><![CDATA[<p>When I work for my clients, I always try to figure out the best way to organize content and hide elements that doesn&#8217;t require immediate action to clean up the page a little bit while making sure to give the best user experience.</p>
<p>A while ago, I started to sketch a few menus in my notebook. I wanted a menu that would be minimalist &#8211; almost invisible &#8211; but still accessible, some kind of button or maybe a link that would open the menu. I started to think where would be the best place to put it. In the upper left corner? The right one? Next to the logo? And why not the logo or title itself?! That&#8217;s it. Users are most likely to hover the logo or header, right? That made the most sense. </p>
<p>That was now time to roll my sleeves up and see how to implement this. After a few hours and some headaches, I came up with a nice <a href="http://web-kreation.com/demos/hidden-jquery-menu/" title="hidden jQuery Drop Down Menu">hidden jQuery Drop Down Menu</a>. </p>
<p>Here&#8217;s how it works. When user put his cursor over the header, the script hides the logo/title and reveals the navigation along with a search bar (not functional in this demo). When user leaves the menu, navigation fades out after 3 seconds and logo/title comes back.</p>
<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" href="http://web-kreation.com/demos/hidden-jquery-menu/" title="hidden jQuery Drop Down Menu"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>This menu is released under a <a href="http://creativecommons.org/licenses/by-sa/2.0/fr/"  rel="nofollow" target="_blank" title="Creative Commons Attribution-Share Alike 2.0 License">Creative Commons Attribution-Share Alike 2.0 License</a>. Feel free to do whatever you&#8217;d like with this menu or template, just please give credit where credit is do.</p>
<h2>Screenshots</h2>
<p><strong>Navigation &#8211; initial state:</strong><br />
<img src="http://web-kreation.com/wp-content/uploads/2009/09/hidden-menu-disabled.jpg" alt="Hidden jQuery menu for minimalist desgin" title="Hidden jQuery menu for minimalist design" width="600" height="327" class="aligncenter size-full wp-image-1899" /></p>
<p><strong>Navigation &#8211; on mouseenter:</strong><br />
<img src="http://web-kreation.com/wp-content/uploads/2009/09/hidden-menu-enabled.jpg" alt="Hidden jQuery menu for minimalist desgin" title="Hidden jQuery menu for minimalist desgin" width="600" height="327" class="aligncenter size-full wp-image-1900" /></p>
<h2>Step 1: HTML</h2>
<p>We need to create two containers inside our header: &#8220;nav-disabled&#8221; and &#8220;nav-enabled&#8221;. By default, &#8220;nav-enabled&#8221; is hidden. This will be the container for our navigation.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1895code10'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p189510"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p1895code10"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Our demo Starts Here --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span> colla<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;-&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-disabled&quot;</span>&gt;</span>
		[LOGO OR TITLE HERE]
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-enabled&quot;</span>&gt;</span>
		[YOUR NAVIGATION HERE]
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- /END DEMO --&gt;</span></pre></td></tr></table></div>

<p>Add your logo. For this example, we are only going to use plain text but feel free to replace it by anything you want.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1895code11'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p189511"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code" id="p1895code11"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Our demo Starts Here --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-disabled&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span>Hidden jQuery Drop Down Menu - Hover Me!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span><span style="color: #ddbb00;">&amp;uarr;</span> MENU<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-enabled&quot;</span>&gt;</span>
		[YOUR NAVIGATION HERE]
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- /END DEMO --&gt;</span></pre></td></tr></table></div>

<p>Finally, create an unordered list for your top navigation. Then simply nest another unordered list for your sub-navigation. My jQuery script only allows for a two level navigation which I think should be enough in most cases.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1895code12'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p189512"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
</pre></td><td class="code" id="p1895code12"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Our demo Starts Here --&gt;</span>
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-disabled&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span>Hidden jQuery Drop Down Menu - Hover Me!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/h1.html"><span style="color: #000000; font-weight: bold;">h1</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span><span style="color: #ddbb00;">&amp;uarr;</span> MENU<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav-enabled&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>Navigation <span style="color: #ddbb00;">&amp;rarr;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Services<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
				<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;dropdown&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><span style="color: #ddbb00;">&amp;darr;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Nemo enim ipsam<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Voluptas<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Aspernatur<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Nemo enim ipsam<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Voluptas<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Aspernatur<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/category/portfolio&quot;</span>&gt;</span>Portfolio<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/blog&quot;</span>&gt;</span>Blog<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/about&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
				<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;dropdown&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><span style="color: #ddbb00;">&amp;darr;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Nemo enim ipsam<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Voluptas<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
					<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/services&quot;</span>&gt;</span>Aspernatur<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/contact&quot;</span>&gt;</span>Contact<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://web-kreation.com/index.php/articles/hidden-jquery-drop-down-menu-for-minimalist-design&quot;</span>&gt;</span>Go Back to Article <span style="color: #ddbb00;">&amp;raquo;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span>Pretty cool this menu, huh? You could replace the title by your own logo, an image... anything you want really. This menu will fade out after 3 seconds. Seach bar is not functional. This is just a demo.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/small.html"><span style="color: #000000; font-weight: bold;">small</span></a>&gt;</span>
		<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;get&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search-input&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
			<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search-submit&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;SEARCH&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!-- /END DEMO --&gt;</span></pre></td></tr></table></div>

<p>That&#8217;s it for the HTML.</p>
<h2>Step 2: CSS (minimalist-menu.css)</h2>
<p>Next, style your header and navigation with CSS.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1895code13'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p189513"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
</pre></td><td class="code" id="p1895code13"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">40px</span> <span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Georgia<span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> small <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.8em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.nav-disabled</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.nav-enabled</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">70px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Fixed height to make sure navigation doesn't flick on mouseleave - set it to anything you want */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.nav-disabled</span> h1 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'../images/ui-menu-disable.png'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">6px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">26px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">21px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#709A71</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.5em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E6E6E6</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#F3F3F3</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'../images/ui-menu.png'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">5px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>	
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	-khtml-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>	
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E6E6E6</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>  
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Subnav */</span>
ul<span style="color: #6666ff;">.nav</span> li<span style="color: #6666ff;">.btn</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/subnav_btn.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* add arrows next links when subnav exists */</span> 
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li<span style="color: #6666ff;">.btn</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span> ul<span style="color: #6666ff;">.nav</span> li<span style="color: #6666ff;">.hover</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #933;">-35px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li ul<span style="color: #6666ff;">.dropdown</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#F3F3F3</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E6E6E6</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#BBB</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#BBB</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li ul<span style="color: #6666ff;">.dropdown</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E6E6E6</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">139px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #6666ff;">.nav</span> li ul<span style="color: #6666ff;">.dropdown</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span>!important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
html ul<span style="color: #6666ff;">.nav</span> li ul<span style="color: #6666ff;">.dropdown</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* Search Form */</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#search</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'../images/search.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">240px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.search-input</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.search-submit</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.search-input</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">170px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#header</span> <span style="color: #6666ff;">.search-submit</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">56px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.85em</span> Georgia<span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<h2>Step 3: JS (minimalist-menu.js)</h2>
<p>This menu requires jQuery 1.3.2 and <a title="jquery.event.hover.js" href="http://threedubmedia.com" rel="nofollow" target="_blank">jquery.event.hover.js</a> from <a title="Three Dub Media" href="http://threedubmedia.com" rel="nofollow" target="_blank">Three Dub Media</a>.</p>
<p>Below is the code that will do all the magic:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1895code14'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p189514"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
</pre></td><td class="code" id="p1895code14"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// ##################################</span>
<span style="color: #006600; font-style: italic;">//Variables</span>
<span style="color: #006600; font-style: italic;">// YOU CAN EDIT BELOW</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> navFadeOutDelay <span style="color: #339933;">=</span> <span style="color: #CC0000;">3000</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Set delay for drop down to slide down (in ms)</span>
<span style="color: #003366; font-weight: bold;">var</span> slideDownDelay <span style="color: #339933;">=</span> <span style="color: #CC0000;">200</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Set delay for drop down to slide down (in ms)</span>
&nbsp;
&nbsp;
<span style="color: #006600; font-style: italic;">// DO NOT EDIT BELOW THIS LINE</span>
<span style="color: #006600; font-style: italic;">// ##################################</span>
&nbsp;
&nbsp;
&nbsp;
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// Plugin: Delay</span>
	<span style="color: #006600; font-style: italic;">// http://tech.apt.no/2009/04/01/delay-in-jquery/</span>
	<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		jQuery.<span style="color: #660066;">fn</span>.<span style="color: #660066;">delay</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>millis<span style="color: #339933;">,</span>callBack<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #003366; font-weight: bold;">var</span> object <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$.<span style="color: #660066;">extend</span><span style="color: #009900;">&#40;</span>object<span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>callBack<span style="color: #339933;">:</span>callBack<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">return</span> window.<span style="color: #660066;">setTimeout</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				object.<span style="color: #660066;">callBack</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000066; font-weight: bold;">return</span> object<span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> millis<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #006600; font-style: italic;">// Navigation:</span>
	<span style="color: #006600; font-style: italic;">// requires jquery.event.hover-1.0 plugin : http://blog.threedubmedia.com/2008/08/eventspecialhover.html 	</span>
	<span style="color: #003366; font-weight: bold;">var</span> nav <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>count<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#header .nav-enabled&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//hide navigation on page load. </span>
	$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#header'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hover'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// On mouseenter, hide title and show navigation</span>
	        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#header .nav-disabled&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#header .nav-enabled&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			nav.<span style="color: #660066;">count</span> <span style="color: #339933;">+=</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hoverend'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// On mouseleave, fade out navigation and show title</span>
			<span style="color: #003366; font-weight: bold;">var</span> tmp <span style="color: #339933;">=</span> nav.<span style="color: #660066;">count</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#header .nav-enabled&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span>navFadeOutDelay<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// Delay: wait X ms before navigation FadeOut                </span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>tmp <span style="color: #339933;">==</span> nav.<span style="color: #660066;">count</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// prevent delay from firing if user hovers navigation before the end of delay</span>
			        $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">//Callback					</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#header .nav-disabled&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
                <span style="color: #009900;">&#125;</span>				
		    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #006600; font-style: italic;">// Drop Down Navigation</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.dropdown&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;btn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// hide sub-navigation on page load and adds class to li in topnav</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.nav li.btn&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
		$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.dropdown&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideDown</span><span style="color: #009900;">&#40;</span>slideDownDelay<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Slide subnav down on mouseenter</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.dropdown&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideUp</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Slide subnav up on mouseleave</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" href="http://web-kreation.com/demos/hidden-jquery-menu/" title="hidden jQuery Drop Down Menu"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<h2>Conclusion</h2>
<p>The menu is really simple and should be easy to customize as it only makes use of CSS (no images except for the menu icon). I have added rounded corners to the demo with CSS3. However, this is only supported by Firefox, Chrome and Safari. If your site needs to be CSS compliant, I recommend you remove the CSS code from line 50 to 53 (in CSS code above).</p>
<p>This menu has been tested in IE6+, FF3.5, Opera 10, Safari 4, Chrome 2 in Windows XP only. If you find a bug or have a suggestion, concern, feedback&#8230; leave your comments below and I will make my best to answer you.</p>
<p>The template used for this demo was inspired from my <a title="pignews" rel="nofollow" target="_blank" href="http://dev.wpsynergy.org/themes-in-development/pignews-magazine-theme/">Pignews theme</a> (coming soon!). Use this template as you wish but just please give me credits. </p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/hidden-jquery-drop-down-menu-for-minimalist-design/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>WPSynergy.org &#8211; Opensource WordPress Themes</title>
		<link>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/</link>
		<comments>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 11:59:42 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1831</guid>
		<description><![CDATA[Remember my post "<a href="http://web-kreation.com/index.php/articles/annoucement-the-gorilla-project-coming-soon/">Annoucement: The Gorilla Project – Coming Soon!</a>"? Almost three months past and I didn't give any news on this blog since then. An important work load and some health problems kept me away from this project until recently. ]]></description>
				<content:encoded><![CDATA[<p>Remember my post &#8220;<a href="http://web-kreation.com/index.php/articles/annoucement-the-gorilla-project-coming-soon/">Annoucement: The Gorilla Project – Coming Soon!</a>&#8220;? Almost three months past and I didn&#8217;t give any news (at all) on this blog since then. An important work load and some health problems kept me away from this project until recently. </p>
<p><img class="aligncenter" src="http://web-kreation.com/wp-content/uploads/2009/08/ptf_synergy_thb.jpg" alt="WPSynergy.org - Opensource WordPress Themes" width=560 height=200 /></p>
<p>If you are new to this blog, <strong>the Gorilla Project is an opensource project</strong> created by <a href="http://mou.me.uk/" rel="nofollow">Chris</a> and myself <em>to overcome common issues encountered by a single WordPress theme designer. Our goal is to build a large community of WordPress designers and developers to collaborate together to build FREE Premium WordPress themes, maintain and upgrade the themes to the latest WordPress version, fix bugs, make the themes cross browser and cross OS platform compatible,offer support to users (forum), write tutorials, create a theme framework to speed up themes development, write an extensive documentation (Wiki) for WordPress developers willing to create a theme for the Gorilla Project.</em></p>
<h2>&#8220;WPSynergy&#8221; in place of &#8220;The Gorilla Project&#8221;</h2>
<p>First of all, after we discovered <a href="http://gorillathemes.com/" rel="nofollow" title="Premium WordPress Themes">someone else</a> was using a similar name for his Premium WordPress themes site, we renamed &#8220;The Gorilla Project&#8221; to &#8220;WPSynergy&#8221; &#8211; even though <a href="http://ma.tt/" rel="nofollow" title="Wordpress Matt mullenweg">Matt Mullenweg</a> told us not to on <a href="http://groups.google.com/group/wpsynergy/msg/d930699ea8b23ecc" rel="nofollow" title="Wordpress Matt mullenweg">our Google groups</a>. The new name was proposed by Jeffro from <a href="http://www.wptavern.com/matt-takes-notice-of-gorilla-project">WordPress Tavern</a> with the following definition:</p>
<blockquote><p><strong>Synergy:</strong> The enhanced result of two or more people, groups or<br />
organizations working together. In other words, one and one equals<br />
three! It comes from the Greek &#8220;synergia,&#8221; which means joint work and<br />
cooperative action. The word is used quite often to mean that<br />
combining forces produces a better product. </p></blockquote>
<p>This was clearly in line with our project so we decided to go for it.</p>
<h2>Logo</h2>
<p>Logo design followed a long process and after many concepts and feedbacks on Conceptshare, a few votes from the WordPress community and a few other modifications, we finally got our final logo (below). I hope you like  it.</p>
<p><a href="http://dev.wpsynergy.org/logo/"><img src="http://web-kreation.com/wp-content/uploads/2009/08/logoSynergyPNG_BG-300x224.png" alt="logoSynergyPNG_BG" title="logoSynergyPNG_BG" width="300" height="224" class="alignnone size-medium wp-image-1834" /></a></p>
<p>Logo, as all of our free themes, is released under a GPL2 license. Illustrator source file can be downloaded <a href="http://dev.wpsynergy.org/logo/" rel="nofollow">here</a>. As usual, feel free to download it, modify it and upload the new version if you don&#8217;t like the one you see here. </p>
<h2>SVN, Trac, dev site, mailing list</h2>
<p>To be more productive while developing our opensource wordpress themes, we created an infrastructure on Chris&#8217; server:</p>
<ul>
<li><a href="http://dev.wpsynergy.org/" rel="nofollow">http://dev.wpsynergy.org/</a>: <strong>P2 WordPress theme</strong> for any discussion related to development. If you want to Join our team start by creating an account there.</li>
<li><a href="http://bugs.wpsynergy.org/" rel="nofollow">http://bugs.wpsynergy.org/</a>: <strong>Trac</strong> to keep track of our themes and report bugs</li>
<li><a href="http://svn.wpsynergy.org/" rel="nofollow">http://svn.wpsynergy.org/</a>: <strong>SVN</strong> for our themes repository</li>
<li><a href="http://groups.google.com/group/wpsynergy" rel="nofollow">http://groups.google.com/group/wpsynergy</a>: our mailing list on Google Groups.<br /><small class="grey">(Register if you want to be part of this mailing list)</small></li>
</ul>
<p>On my server &#8211; which will host the <a href="http://wpsynergy.org" title="WPSynergy - Opensource WordPress themes">themes, demos and forum</a> &#8211; we installed WordPress MU for the <a href="http://wpsynergy.org/demos/">theme demos</a> and BBpress as our <a href="http://wpsynergy.org/support/">support forum</a>. </p>
<h2>Our themes</h2>
<p>We are actively working on <a href="http://dev.wpsynergy.org/themes-in-development/pignews-magazine-theme/" rel="nofollow" title="Pignews - Free WordPress theme">PigNews</a>. You can follow the progress <a href="http://dev.wpsynergy.org/demos/pignews/" rel="nofollow" title="Pignews - Free WordPress theme">here</a> (please, note we didn&#8217;t fix IE6&#8242;s bugs yet). However, mostly because of a lack of time and a low involvement from the WordPress community, we are striving to finish the theme. We hope more designers and developers will join our effort after we released a few themes and complete the official site at <a href="http://wpsynergy.org" title="WPSynergy - Opensource WordPress Themes">http://wpsynergy.org</a>. </p>
<p><em>Pignews color schemes:</em></p>
<p><a href="http://www.flickr.com/photos/98478097@N00/3764957135/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3594/3764957135_a03d673598.jpg" title="Pignews Warm dark" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3458030235/in/photostream/"><img alt="" src="http://dev.wpsynergy.org/wp/wp-content/uploads/2009/05/3458030235_ab29654025_b.jpg" title="Pignews Green" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765753056/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3465/3765753056_be428125fc.jpg" title="Pignews Green" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765754226/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3597/3765754226_b67343db1b.jpg" title="Pignews Purple" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765753770/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3564/3765753770_f9dce17dbb.jpg" title="Pignews Facebook Colors" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3764959605/in/set-72157617074795732/"><img alt="" src="http://farm3.static.flickr.com/2458/3764959605_5ec7aae943.jpg" title="Pignews Soft Brown" class="alignleft" width="120" /></a><a href="http://www.flickr.com/photos/98478097@N00/3765755458/in/set-72157617074795732/"><img alt="" src="http://farm4.static.flickr.com/3500/3765755458_025218ffe7.jpg" title="Pignews Teal" class="alignleft" width="120" /></a><br />
<br clear="all"><br />
If you want to help us develop Pignews, grab the files from the <a href="http://svn.wpsynergy.org/themes/pignews/trunk/" rel="nofollow" title="SVN">SVN trunk</a>. (If you are new to SVN, start by downloading <a href="http://tortoisesvn.net/" title="Tortoise SVN" rel="nofollow">Tortoise</a>.) <small class="grey">(To make a SVN update or commit, you will have to request a password from Chris to access SVN. His email is <em>chris[a-t]wpsynergy {d-o-t}org</em>.)</small></p>
<h2>Other themes to be part of WPSynergy</h2>
<ul>
<li><a href="http://dev.wpsynergy.org/themes-in-development/oneroom-3-columns-theme/">OneRoom</a></li>
<li><a href="http://dev.wpsynergy.org/themes-in-development/synjob-job-board-theme/">Synjob</a></li>
</ul>
<h2>How can you help us?</h2>
<p>Once again, we are asking for help from the WordPress community. If you are a designer or developer, there&#8217;s many way to be involved in this project. As a <strong>designer</strong>, we need you to create stunning themes, design mascots, logos, icons&#8230; As a <strong>developer</strong>, we need you to enhance our themes with options page, add AJAX effects, configure servers, develop our Options theme Framework&#8230; and we need <strong>everyone</strong> to spread the word (on twitter, Facebook, on your blog&#8230;) to move this project forward and take it to the next level. </p>
<p>Thanks to everyone for supporting us and a special thanks to <a href="http://ma.tt/" rel="nofollow" title="Wordpress Matt mullenweg">Matt Mullenweg</a> for his support since the beginning of this project. We really appreciate.</p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/wpsynergy-org-opensource-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s Make The Web Faster (by Google)</title>
		<link>http://web-kreation.com/all/lets-make-the-web-faster-by-google/</link>
		<comments>http://web-kreation.com/all/lets-make-the-web-faster-by-google/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 06:54:21 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1779</guid>
		<description><![CDATA[Maybe you remember <a href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html" title="Let's Make The Web Faster" rel="nofollow">this post</a> and <a href="http://www.youtube.com/watch?v=IWWBnJEsUtU" title="Let's Make The Web Faster" rel="nofollow">this video</a> from Google when they announced earlier this year on their official blog their plan to make the web faster. Well, they actually created a <a href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html" title="Let's Make The Web Faster" rel="nofollow">wiki page</a> [...]]]></description>
				<content:encoded><![CDATA[<p>Maybe you remember <a href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html" title="Let's Make The Web Faster" rel="nofollow">this post</a> and <a href="http://www.youtube.com/watch?v=IWWBnJEsUtU" title="Let's Make The Web Faster" rel="nofollow">this video</a> from Google when they announced earlier this year on their official blog their plan to make the web faster. </p>
<p>They created a <a href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html" title="Let's Make The Web Faster" rel="nofollow">wiki page</a> hosted on <a href="http://code.google.com" title="Google Code" rel="nofollow">Google Code site</a> to give us a series of tutorials to improve website performance:</p>
<p><a href="http://code.google.com/speed/articles/"><img src="http://web-kreation.com/wp-content/uploads/2009/08/make-web-faster.jpg" alt="Google Code: Let&#039;s make the web faster" title="Google Code: Let&#039;s make the web faster" width="600" height="457" class="aligncenter size-full wp-image-1781" /></a></p>
<h2>What about their code?</h2>
<p>I wanted to check if Google put into practice what they teach us on that page so I opened their <a href="http://www.google.co.th/search?hl=en&#038;q=test&#038;btnG=Google+Search&#038;meta=&#038;aq=f&#038;oq=" rel="nofollow">search page</a> and examined it with Firebug. </p>
<p>Is their code optimized for a better website performance? Yes, definitely!</p>
<p><strong>HTML, CSS, JS</strong></p>
<p>Their Javascript, CSS and html code is compressed to fit on one single line only, no external style sheet. </p>
<p>They use short CSS tags such as &#8220;ssb&#8221;, &#8220;tbd&#8221;, &#8220;cnt&#8221;&#8230; to make their code lighter <small class="grey">(this is only a sample of  their code)</small>:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1779code15'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p177915"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code" id="p1779code15"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span>
 <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a> done<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;done&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span>
 <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gsr&quot;</span>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/textarea.html"><span style="color: #000000; font-weight: bold;">textarea</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;csi&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none;&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ssb&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tbd&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;med&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;cnt&quot;</span><span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a> <span style="color: #000066;">clear</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">table</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;std&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wml&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;xjsd&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
  <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;xjsi&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></pre></td></tr></table></div>

<p><b>Images:</b></p>
<p>They use only one image instead of a few small images:</p>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/08/nav_logo6.png" alt="nav_logo6" title="nav_logo6" width="150" height="106" class="alignnone size-full wp-image-1783" /></p>
<p>&#8230; and just change background position for each css class:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1779code16'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p177916"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
</pre></td><td class="code" id="p1779code16"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.w10</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w11</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w20</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w21</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w24</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.wci</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.wpb</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w4</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w40</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w41</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w44</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w50</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w51</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w54</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w0</span> <span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w1</span> <span style="color: #6666ff;">.w5</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span>/images/nav_logo6.png<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w10</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w11</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w20</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w21</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w24</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w10</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-42px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w11</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-134px</span> <span style="color: #933;">-27px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">default</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w20</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-57px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w21</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-27px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w24</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-134px</span> <span style="color: #933;">-44px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">default</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.wci</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w4</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w40</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w41</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w44</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w50</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w51</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w54</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w0</span> <span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w1</span> <span style="color: #6666ff;">.w5</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w14</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w44</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w54</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.wci</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-119px</span> <span style="color: #933;">-87px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.wpb</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-91px</span> <span style="color: #933;">-74px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">13px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">13px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w4</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w40</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w41</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w44</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-42px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w50</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w0</span> <span style="color: #6666ff;">.w5</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.w54</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-57px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.w51</span><span style="color: #00AA00;">,</span> li<span style="color: #6666ff;">.w1</span> <span style="color: #6666ff;">.w5</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-104px</span> <span style="color: #933;">-27px</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.wcd</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">max-width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42em</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>This is a technic I use often but I never thought to convert all my images in just one big image. </p>
<h2>Last Word</h2>
<p>Knowing that Google counts some of the best engineers on the web, makes use of the latest web standards and technologies (HTML5, CSS3, AJAX&#8230;) and is maybe one of the most innovative company on the web, I think it is definitely worth and good practice to follow their tips and take time to view their source code. There&#8217;s a lot to learn in there for anyone eager to learn.</p>
<p><strong>Link:</strong> <a href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html" title="Googke Code: Let's Make The Web Faster" rel="nofollow">Let&#8217;s Make The Web Faster</a><br />
<strong>Firefox Plugin:</strong> <a href="http://code.google.com/speed/page-speed/" title="Googke Code: Let's Make The Web Faster" rel="nofollow">Page Speed</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/lets-make-the-web-faster-by-google/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Annoucement: The Gorilla Project WPSynergy Project, Open Source WordPress Themes</title>
		<link>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/</link>
		<comments>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 02:39:56 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1669</guid>
		<description><![CDATA[[...] Here comes <a title="The Gorilla Project - Free Premium Wordpress themes" href="http://wpgorilla.org"><strong>The Gorilla Project</strong></a>, an opensource project created by <a href="http://mou.me.uk/">Chris</a> and I to overcome these common issues. Our goal is to build a large community of WordPress designers and developers to [...]]]></description>
				<content:encoded><![CDATA[<p>One of the most impressive things about the WordPress platform is its community. It literally counts thousands of people, each one contributing in their own way: free WordPress themes, plugins, tutorials and so on.</p>
<p>While it is really great to have so many people contributing to it,  there&#8217;s some limitations when it comes to free WordPress themes created by individuals:</p>
<ul>
<li>They have real difficulties to keep their themes up to date with the latest WordPress releases.</li>
<li>Their themes are not always cross browsers and cross platforms.</li>
<li>Their support is limited.</li>
<li>They usually don&#8217;t have all the skills needed to make a Premium Theme.</li>
<li>After a while, they might completely cease to maintain their themes because of lack of time or boredom.</li>
<li>As themes are updated by authors, upgrading will usually mean losing any custom styles you&#8217;ve added.</li>
<li>Many themes are offered as &#8220;one size fits all&#8221;, and can only be customized with knowledge of HTML/CSS.</li>
</ul>
<p>Here comes the <del datetime="2010-04-05T08:48:53+00:00">Gorilla Project</del> <a title="The WPSynergy Project" href="http://wpsynergy.org"><strong>WPSynergy Project</strong></a>, an opensource project created by <a href="http://mou.me.uk/">Chris</a> and I to overcome these common issues. Our goal is to build a large community of WordPress designers and developers to:</p>
<ul>
<li>Collaborate together to build <strong>FREE</strong> Premium WordPress themes. Some companies (<a rel="nofollow" href="http://www.woothemes.com/">Woothemes</a>, <a rel="nofollow" href="http://ithemes.com/">ithemes</a>&#8230;) offer excellent premium WordPress themes but you have to pay for it!<br />
<span class="grey">(&#8220;<em>A premium theme refers to themes that have more quality in terms of design, or maybe layouts (magazine, grid, showcase, etc) that differs them from the majority free themes. It&#8217;s also fair to label them as themes that allows you to do more customization, or even displays content in a different formats</em>&#8221; &#8211; <a title="16 Free Premium WordPress Themes That Don’t Suck " rel="nofollow" href="http://www.hongkiat.com/blog/16-free-premium-wordpress-themes-that-dont-suck/">Hongkiat</a>)</span></li>
<li>Maintain and upgrade the themes to support the latest versions of WordPress.</li>
<li>Fix bugs.</li>
<li>Make the themes cross browser and cross OS platform.</li>
<li>Offer support to users (forum).</li>
<li>Write tutorials.</li>
<li>Create a theme framework to speed up themes development.</li>
<li>Write an extensive documentation (Wiki) for WordPress developers willing to create a theme for the <del>Gorilla</del> WPSynergy Project.</li>
</ul>
<h2>We need your help!</h2>
<p>The <del>gorilla project</del> <strong>WPSynergy Project</strong> is going to be a huge and exciting project but we need your help to make it successful. Here&#8217;s how you can contribute:</p>
<ul>
<li><strong>Designers</strong>, we need your talents to design stunning themes, icons, mascots in Photoshop, Fireworks or any other image editor. We have a number of theme designs planned, but it would be nice to have an extra hand in the future.</li>
<li><strong>Front end developers</strong>, we need you to code the theme in valid (X)HTML/CSS.</li>
<li><strong>Back end developers</strong>, right now, Chris is looking for PHP developers to help develop the <del>&#8220;<em>Gorilla Theme Options Framework</em>&#8221; (GTOF)</del> <em>SYNTOF (WPSynergy Theme Options Framework)</em> which we will be uses as the main framework for our themes. But we are also looking for contributers to other back end development projects &#8211; options pages, widgets, plugins&#8230;you name it!</li>
<li><strong>Blog Owners</strong>, a section at <del>wpgorilla.org</del> wpsynergy.org will be created for you to report bugs, suggest improvements and new ideas&#8230;</li>
<li><strong>Readers</strong> (yes, you too can help!), we need you to spread the word! Tweet it! Digg it! Stumble it! Talk about it on your blog. Help us grow this new community and make this project a reality and you will soon be able to download premium WordPress themes <strong>for free!</strong></li>
</ul>
<h2>Ready to help?</h2>
<p>If you are ready to help, you can contact us at <del>joinus {a t} wpgorilla {d o t} o r g</del> <strong>joinus {a t} wpsynergy {d o t} o r g</strong> <del>or head to <a href="https://launchpad.net/~wpgorilla">Launchpad</a> our DEV site and pick a project</del>. We are just starting out so you are not going to find much there at the moment but you can be the first one to propose a new project or you can help us develop <del>the &#8220;<em>Gorilla Theme Options Framework</em>&#8221; (GTOF)</del> <strong>SYNTOF</strong> till completion &#8211; anyone interested in finding out more can email <del>chris {at} wpgorilla {dot} org</del> <strong>chris {at} wpsynergy {dot} org</strong> for more information.</p>
<p><del>If you need help with Launchpad, read <a title="Launchpad - Help" rel="nofollow" href="https://help.launchpad.net/">this »</a></del></p>
<p><a title="Pignews on Flickr" rel="nofollow" href="http://www.flickr.com/groups/wpgorilla/">Pignews theme</a> &#8211; our first theme to be part of this project &#8211; is going to be on hold until we finish <del>Gorilla Theme Options Framework (GTOF)</del> SYNTOF but in the meantime you can <a title="Pignews on Flickr" rel="nofollow" href="http://www.flickr.com/groups/wpgorilla/">review</a> the concepts on Flickr and give us your feedback.</p>
<p>All the themes created by the <del>Gorilla</del> WPSynergy community will be  hosted at <del>www.wpgorilla.org</del> <a title="WPSynergy Project - WordPress themes" href="http://www.wpsynergy.org">www.wpsynergy.org</a>. The site is under construction at the moment (see screenshot below). If you want to help me with the development of this site, contact me at <del>jeremie {a-t} wpgorilla {d-o-t} org</del><strong> jeremie {a-t} wpsynergy {d-o-t} org</strong>. The fastest we build this site and the fastest we will be able to release free premium themes there.<br />
<a title="The Gorilla Project - Free Premium WordPress themes" href="http://wpsynergy.org"><img class="aligncenter size-full wp-image-1714" src="http://web-kreation.com/wp-content/uploads/2009/04/wpgorilla-site-screenshot.jpg" alt="wpgorilla-site-screenshot" width="579" height="780" /></a></p>
<h2>Benefits of this project</h2>
<p>If you run a WordPress blog, the benefits are quite obvious: you will be able to download <strong>free</strong> Premium WordPress themes and plugins developed and maintained by a large community of WordPress developers.</p>
<p>If you are a designer or developer (or both!), you will be able to work with various professionals, make contacts, learn new ways to build a WordPress theme and hopefully make WordPress a better CMS. We plan to create a page on <del>WPGorilla.org</del> WPSynergy.org to list our most active team members with a bio and a link to their site.</p>
<p>In the end, everyone will benefit from this project&#8230; so don&#8217;t forget to spread the word!</p>
<h2>Links</h2>
<p><del>Official Site: <a href="http://wpgorilla.org/">http://wpgorilla.org/</a></del></p>
<p><del>Projects:<a href="https://launchpad.net/~wpgorilla">https://launchpad.net/~wpgorilla</a></del></p>
<p><del>Theme Concepts: <a href="https://launchpad.net/~wpgorilla">http://www.flickr.com/groups/wpgorilla/</a></del></p>
<p><del>Google Group: <a href="http://groups.google.com/group/wpgorilla">http://groups.google.com/group/wpgorilla</a></del></p>
<p><strong>UPDATE:</strong></p>
<p>Official Site: <a href="http://wpsynergy.org/">http://wpsynergy.org/</a></p>
<p>SVN:<a href="http://svn.wpsynergy.org">SVN</a></p>
<p>TRAC: <a href="http://bugs.wpsynergy.org">Bugs</a></p>
<p>Discussions: <a href="http://dev.wpsynergy.org">Dev Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/annoucement-the-gorilla-project-coming-soon/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Freebies: 2 Awesome Twitter Icons</title>
		<link>http://web-kreation.com/all/freebies-2-awesome-twitter-icons/</link>
		<comments>http://web-kreation.com/all/freebies-2-awesome-twitter-icons/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:59:49 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1649</guid>
		<description><![CDATA[I am always looking for some free twitter icons to use on personal or business projects. While there's some really gorgeous icons out there (the <a href="http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/" rel="nofollow" title="Free twitter icon set">Cute Twitter Icon Set</a> is a great example), there's also a whole bunch of shitty icons.]]></description>
				<content:encoded><![CDATA[<p>I am always looking for some free twitter icons to use on personal or business projects. While there&#8217;s some really gorgeous icons out there (the <a title="Free twitter icon set" rel="nofollow" href="http://www.smashingmagazine.com/2009/01/23/friday-freebies-flavours-icon-set-and-cute-tweeters-icon-set/">Cute Twitter Icon Set</a> is a great example), there&#8217;s also a whole bunch of shitty icons.</p>
<p>Then, a few weeks ago, when one of my client asked me if I could design some Twitter illustrations for one of his project, I thought it would be nice to design a couple of Twitter icons to give away on my blog. I started to sketch out a few ideas and finalized them in Illustrator. Here&#8217;s the end result:</p>
<p><img class="alignnone size-full wp-image-1650" title="twitter_icon_set" src="http://web-kreation.com/wp-content/uploads/2009/04/twitter_icon_set.jpg" alt="twitter_icon_set" width="537" height="256" /></p>
<h2>Download</h2>
<p>The zip contains two transparent PNG icons available in resolutions of 128×128 pixels, 256×256 and 512×512:</p>
<div class="clearfix">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>Alternatively, you can download the source files if you need to modify text or colors. The sources are in AI files (Adobe Illustrator CS3), PSD files and EPS files:</p>
<div class="clearfix">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>You can freely use them for both your private and commercial projects, including templates and themes. A link back or some credits would be nice but not mandatory.</p>
<h2>Conclusion</h2>
<p>That&#8217;s my small contribution to the Twitter community. Leave me a note in the comments if you like them or <strong><a title="Follow Me on Twitter!" rel="nofollow" href="http://twitter.com/jeeremie">Follow Me!</a></strong> I have a couple of other sketches waiting in my notebook so I might create more icons in the future if you really like them.  <img src='http://web-kreation.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2>Update:</h2>
<p>You can preview the icons on my Flickr account if you want to see how they look when size is reduced:<br />
<a title="twitter_icons_512px-256px-128px by jeeremie, on Flickr" href="http://www.flickr.com/photos/98478097@N00/3449052337/"><img src="http://farm4.static.flickr.com/3600/3449052337_6ba7401ccf.jpg" alt="twitter_icons_512px-256px-128px" width="100" /></a></p>
<p class="note"><a href="http://www.studio0611.de/">Andreas Papula</a> made a green version of one of the icon above (PSD file). To download this icon, use this direct link: <a href="http://www.studio0611.de/misc/break_the_egg_green.psd.zip">http://www.studio0611.de/misc/break_the_egg_green.psd.zip</a><br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/break_the_egg_green.jpg" alt="" title="break_the_egg_green" width="137" height="180" class="alignnone size-full wp-image-3223" /></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/freebies-2-awesome-twitter-icons/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Implement a Nice &amp; Clean jQuery Sliding Panel in WordPress 2.7+</title>
		<link>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/</link>
		<comments>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 12:08:51 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1590</guid>
		<description><![CDATA[About one week ago, I introduced the <a href="http://web-kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built-with-jquery/" title="Nice &#038; Clean Sliding Login Panel built with jQuery">Nice &#038; Clean Sliding Login Panel built with jQuery</a> which was a redesigned of my popular <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">Mootools sliding panel</a>. Today, we will see how to implement it in <strong>Wordpress 2.7+</strong>. Please note I am not going to cover any previous version of Wordpress in this tutorial. ]]></description>
				<content:encoded><![CDATA[<p>About one week ago, I introduced the <a href="http://web-kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built-with-jquery/" title="Nice &#038; Clean Sliding Login Panel built with jQuery">Nice &#038; Clean Sliding Login Panel built with jQuery</a> which was a redesigned of my popular <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/" title="Show/hide a nice Login Panel using Mootools 1.2">Mootools sliding panel</a>. Today, we will see how to implement it in <strong>WordPress 2.7+</strong>. Please note I am not going to cover any previous version of WordPress in this tutorial. </p>
<p>Before I give you the code, let me briefly explain you what we want to achieve. </p>
<p>If user didn&#8217;t log in or register yet, we will show the login and register forms in the sliding panel with a short Welcome Message:<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-login.jpg" alt="sliding-panel-login" title="sliding-panel-login" width="600" height="204" class="aligncenter size-full wp-image-1595" /></p>
<p>Once user is logged in, we will change panel content to show a dashboard menu with a short &#8220;Welcome Back&#8221; message. This is what our code will look like:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code17'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p159017"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code" id="p1590code17"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span> Panel <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toppanel&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$user_identity</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user_ID</span><span style="color: #339933;">;</span>	
	<span style="color: #666666; font-style: italic;">// If user is logged in or registered, show dashboard links in panel</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_user_logged_in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Dashboard menu will come here <span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #666666; font-style: italic;">// Else if user is not logged in, show login and register forms</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>	
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Login and Register forms will come here <span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span><a href="http://www.php.net/end"><span style="color: #990000;">END</span></a> panel <span style="color: #339933;">--&gt;</span></pre></td></tr></table></div>

<p>Simple, isn&#8217;t it?</p>
<p>WordPress, since version 2.0, introduced <a href="http://codex.wordpress.org/Roles_and_Capabilities" rel="nofollow" title="Wordpress Roles and Capabilities">user roles and capabilities</a>. To take advantage of this, we are going to use the <em>current_user_can()</em> function to control what links users can or cannot see depending on the role attributed to them. This is done like this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code18'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p159018"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1590code18"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;!--</span> Content placed here will only be seen by ADMINS of the site<span style="color: #339933;">!</span> <span style="color: #339933;">--&gt;</span>		
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>&#8220;level_10&#8243; is the highest level in WordPress and gives user full control and access to the site. This level is reserved to the owner of the site and admins. You can read more about user roles <a href="http://codex.wordpress.org/Roles_and_Capabilities" rel="nofollow" title="Wordpress Roles and Capabilities">here &raquo;</a></p>
<p>Below is a screenshot of the panel display for admins (&#8216;level_10&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-admin.jpg" alt="sliding-panel-admin" title="sliding-panel-admin" width="600" height="204" class="aligncenter size-full wp-image-1592" /></p>
<p>Below is a screenshot of the panel display for authors (&#8216;level_2&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-author.jpg" alt="sliding-panel-author" title="sliding-panel-author" width="600" height="204" class="aligncenter size-full wp-image-1601" /></p>
<p>Below is a screenshot of the panel display for subscibers (&#8216;level_0&#8242;):<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-subscriber.jpg" alt="sliding-panel-subscriber" title="sliding-panel-subscriber" width="600" height="204" class="aligncenter size-full wp-image-1593" /></p>
<p>The last screenshot looks really empty because Subscribers have only a limited access to the dashboard. You can try to fill the panel with some extra content for subscribers and contributors if you don&#8217;t want your panel to look so empty. It is up to you.</p>
<h2>STEP 1: The HTML code</h2>
<p>(<strong>Note:</strong> For the sake of this tutorial, I am going to implement the script into the default WordPress 2.7 theme (wp-content/themes/default).) </p>
<p>Open header.php in your text editor or log in to your dashboard and navigate to <em>Appearance > Editor</em> and select this file. Find the code below and delete it:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code19'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p159019"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1590code19"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Replace it by this:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code20'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p159020"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
</pre></td><td class="code" id="p1590code20"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
  	<span style="color: #339933;">&lt;!--</span> PNG FIX <span style="color: #b1b100;">for</span> IE6 <span style="color: #339933;">--&gt;</span>
  	<span style="color: #339933;">&lt;!--</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//24ways.org/2007/supersleight-transparent-png-in-ie6 --&gt;</span>
	<span style="color: #339933;">&lt;!--</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">if</span> lte IE <span style="color: #cc66cc;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/pngfix/supersleight-min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span><span style="color: #b1b100;">endif</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">--&gt;</span>
&nbsp;
    <span style="color: #339933;">&lt;!--</span> jQuery <span style="color: #339933;">-</span> the core <span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/jquery-1.3.2.min.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;!--</span> Sliding effect <span style="color: #339933;">--&gt;</span>
	<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('template_url'); ?&gt;/js/slide.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span> Panel <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toppanel&quot;</span><span style="color: #339933;">&gt;</span> 
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$user_identity</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user_ID</span><span style="color: #339933;">;</span>	
	<span style="color: #666666; font-style: italic;">// If user is logged in or registered, show dashboard links in panel</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_user_logged_in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;panel&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content clearfix&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left border&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Welcome back <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$user_identity</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Headline<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>Lorem ipsum dolor sit amet<span style="color: #339933;">,</span> consectetur adipisicing elit<span style="color: #339933;">,</span> sed <span style="color: #b1b100;">do</span> eiusmod tempor incididunt ut labore et dolore magna aliqua<span style="color: #339933;">.&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Dashboard<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/index.php&quot;</span><span style="color: #339933;">&gt;</span>Go to Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>My Account<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/index.php&quot;</span><span style="color: #339933;">&gt;</span>Global Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/profile.php&quot;</span><span style="color: #339933;">&gt;</span>Edit My Profile<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
						<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-comments.php&quot;</span><span style="color: #339933;">&gt;</span>Comments<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	        		<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_logout_url(get_permalink()); ?&gt;&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nofollow&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Log out'); ?&gt;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Log out'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>	
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Appearance<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/themes.php&quot;</span><span style="color: #339933;">&gt;</span>Themes<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/widgets.php&quot;</span><span style="color: #339933;">&gt;</span>Widgets<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/theme-editor.php&quot;</span><span style="color: #339933;">&gt;</span>Theme Editor<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_2'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Posts<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/post-new.php&quot;</span><span style="color: #339933;">&gt;</span>New Post<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit.php&quot;</span><span style="color: #339933;">&gt;</span>Edit Posts<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-tags.php&quot;</span><span style="color: #339933;">&gt;</span>Tags<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/categories.php&quot;</span><span style="color: #339933;">&gt;</span>Categories<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Plugins<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugins.php&quot;</span><span style="color: #339933;">&gt;</span>Plugins<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugin-install.php&quot;</span><span style="color: #339933;">&gt;</span>Install a Plugin<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/plugin-editor.php&quot;</span><span style="color: #339933;">&gt;</span>Plugin Editor<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_2'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Pages<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>		
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/post-new.php&quot;</span><span style="color: #339933;">&gt;</span>New Page<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/edit-pages.php&quot;</span><span style="color: #339933;">&gt;</span>Edit Pages<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Library<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>					
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/upload.php&quot;</span><span style="color: #339933;">&gt;</span>Library<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/media-new.php&quot;</span><span style="color: #339933;">&gt;</span>Add New<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_3'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>		
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Users<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/users.php&quot;</span><span style="color: #339933;">&gt;</span>Author <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> Users<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/user-new.php&quot;</span><span style="color: #339933;">&gt;</span>Add New<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
				<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'level_10'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left narrow&quot;</span><span style="color: #339933;">&gt;</span>			
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Settings<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>				
				<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>						
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-general.php&quot;</span><span style="color: #339933;">&gt;</span>General<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-writing.php&quot;</span><span style="color: #339933;">&gt;</span>Writing<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-reading.php&quot;</span><span style="color: #339933;">&gt;</span>Reading<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-discussion.php&quot;</span><span style="color: #339933;">&gt;</span>Discussion<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-media.php&quot;</span><span style="color: #339933;">&gt;</span>Media<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-privacy.php&quot;</span><span style="color: #339933;">&gt;</span>Privacy<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-permalink.php&quot;</span><span style="color: #339933;">&gt;</span>Permalinks<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-admin/options-misc.php&quot;</span><span style="color: #339933;">&gt;</span>Miscellaneous<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span>login <span style="color: #339933;">--&gt;</span>	
&nbsp;
    <span style="color: #339933;">&lt;!--</span> The tab on top <span style="color: #339933;">--&gt;</span>	
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;login&quot;</span><span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;!--</span> Logout <span style="color: #339933;">--&gt;</span>
	        <span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_logout_url(get_permalink()); ?&gt;&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nofollow&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Log out'); ?&gt;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Log out'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sep&quot;</span><span style="color: #339933;">&gt;|&lt;/</span>li<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toggle&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Show Dashboard<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;display: none;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Close Panel<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>	
			<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;right&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span> 
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span> top <span style="color: #339933;">--&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #666666; font-style: italic;">// Else if user is not logged in, show login and register forms</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>	
<span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;panel&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content clearfix&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left border&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Welcome to Web<span style="color: #339933;">-</span>Kreation<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Sliding login panel Demo with jQuery<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>		
				<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span><span style="color: #339933;">&gt;</span>You can put anything you want in this sliding panel<span style="color: #339933;">:</span> videos<span style="color: #339933;">,</span> audio<span style="color: #339933;">,</span> images<span style="color: #339933;">,</span> forms<span style="color: #339933;">...</span> The only limit is your imagination<span style="color: #339933;">!&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>h2<span style="color: #339933;">&gt;</span>Download<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span><span style="color: #339933;">&gt;</span>To download this script go back to <span style="color: #339933;">&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://web-kreation.com/index.php/articles/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Download&quot;</span><span style="color: #339933;">&gt;</span>article <span style="color: #339933;">&amp;</span>raquo<span style="color: #339933;">;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;!--</span> Login Form <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>form <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clearfix&quot;</span> action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-login.php&quot;</span> method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span><span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Member Login<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span><span style="color: #339933;">&gt;</span>Username<span style="color: #339933;">:&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;log&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo wp_specialchars(stripslashes(<span style="color: #006699; font-weight: bold;">$user_login</span>), 1) ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;23&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span><span style="color: #339933;">&gt;</span>Password<span style="color: #339933;">:&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;password&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pwd&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;23&quot;</span> <span style="color: #339933;">/&gt;</span>
	            	<span style="color: #339933;">&lt;</span>label<span style="color: #339933;">&gt;&lt;</span>input name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;rememberme&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;rememberme&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;checkbox&quot;</span> checked<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;checked&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;forever&quot;</span> <span style="color: #339933;">/&gt;</span> Remember me<span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
        			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear&quot;</span><span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Login&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bt_login&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;hidden&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;redirect_to&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo <span style="color: #006699; font-weight: bold;">$_SERVER</span>['REQUEST_URI']; ?&gt;&quot;</span><span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;lost-pwd&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php bloginfo('url') ?&gt;/wp-login.php?action=lostpassword&quot;</span><span style="color: #339933;">&gt;</span>Lost your password?<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
			<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left right&quot;</span><span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'users_can_register'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
				<span style="color: #339933;">&lt;!--</span> Register Form <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>form name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;registerform&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;registerform&quot;</span> action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo site_url('wp-login.php?action=register', 'login_post') ?&gt;&quot;</span> method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span><span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Not a member yet? Sign Up<span style="color: #339933;">!&lt;/</span>h1<span style="color: #339933;">&gt;</span>	
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Username'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_login&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;input&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo attribute_escape(stripslashes(<span style="color: #006699; font-weight: bold;">$user_login</span>)); ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;20&quot;</span> tabindex<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #339933;">&lt;</span>label <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;grey&quot;</span> <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'E-mail'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;field&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;user_email&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;input&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php echo attribute_escape(stripslashes(<span style="color: #006699; font-weight: bold;">$user_email</span>)); ?&gt;&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;25&quot;</span> tabindex<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;20&quot;</span> <span style="color: #339933;">/&gt;</span>
					<span style="color: #000000; font-weight: bold;">&lt;?php</span> do_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_form'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
					<span style="color: #339933;">&lt;</span>label id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;reg_passmail&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?</span>php _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'A password will be e-mailed to you.'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;</span>
					<span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;wp-submit&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;wp-submit&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php _e('Register'); ?&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bt_register&quot;</span> <span style="color: #339933;">/&gt;</span>
				<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
				<span style="color: #339933;">&lt;</span>h1<span style="color: #339933;">&gt;</span>Registration is closed<span style="color: #339933;">&lt;/</span>h1<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>Sorry<span style="color: #339933;">,</span> you are not allowed to register by yourself on this site<span style="color: #339933;">!&lt;/</span>p<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>You must either be invited by one of our team member or request an invitation by email at <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>info <span style="color: #009900;">&#123;</span>at<span style="color: #009900;">&#125;</span> yoursite <span style="color: #009900;">&#123;</span>dot<span style="color: #009900;">&#125;</span> com<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;.&lt;/</span>p<span style="color: #339933;">&gt;</span>
&nbsp;
				<span style="color: #339933;">&lt;!--</span> Admin<span style="color: #339933;">,</span> delete text below later when you are done with configuring this panel <span style="color: #339933;">--&gt;</span>
				<span style="color: #339933;">&lt;</span>p style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;border-top:1px solid #333;border-bottom:1px solid #333;padding:10px 0;margin-top:10px;color:white&quot;</span><span style="color: #339933;">&gt;&lt;</span>em<span style="color: #339933;">&gt;</span>Note<span style="color: #339933;">:</span> <span style="color: #b1b100;">If</span> you are the admin and want to display the register form here<span style="color: #339933;">,</span> <a href="http://www.php.net/log"><span style="color: #990000;">log</span></a> in to your dashboard<span style="color: #339933;">,</span> and go to <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>Settings<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;</span>b<span style="color: #339933;">&gt;</span>General<span style="color: #339933;">&lt;/</span>b<span style="color: #339933;">&gt;</span> and click <span style="color: #0000ff;">&quot;Anyone can register&quot;</span><span style="color: #339933;">.&lt;/</span>em<span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>			
			<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span>login <span style="color: #339933;">--&gt;</span>	
&nbsp;
    <span style="color: #339933;">&lt;!--</span> The tab on top <span style="color: #339933;">--&gt;</span>	
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;login&quot;</span><span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;!--</span> Login <span style="color: #339933;">/</span> Register <span style="color: #339933;">--&gt;</span>
			<span style="color: #339933;">&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;toggle&quot;</span><span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;open&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Log In <span style="color: #339933;">|</span> Register<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
				<span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;display: none;&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;close&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span><span style="color: #339933;">&gt;</span>Close Panel<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>			
			<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
	    	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;right&quot;</span><span style="color: #339933;">&gt;&amp;</span>nbsp<span style="color: #339933;">;&lt;/</span>li<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span> 
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span> <span style="color: #339933;">/</span> top <span style="color: #339933;">--&gt;</span>			
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>	
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;!--</span><a href="http://www.php.net/end"><span style="color: #990000;">END</span></a> panel <span style="color: #339933;">--&gt;</span></pre></td></tr></table></div>

<h2>STEP 2: Copy the CSS in style.css</h2>
<p>Expand the code below, copy it and save it at the bottom of your theme stylesheet (e.g. wp-content/themes/default/style.css):</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1590code21'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p159021"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
</pre></td><td class="code" id="p1590code21"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* sliding panel */</span>
<span style="color: #cc00cc;">#toppanel</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>   <span style="color: #808080; font-style: italic;">/*Panel will overlap  content */</span>
    <span style="color: #808080; font-style: italic;">/*position: relative;*/</span>   <span style="color: #808080; font-style: italic;">/*Panel will &quot;push&quot; the content down */</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">130%</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* font-size set to 130% for the default Kubrick Wordpress theme */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999999</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#272727</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> h1 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.6em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> h2<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> p <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#15ADFF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> a-lost-pwd <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> ul <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.6em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">960px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.85em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> .<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">25px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">min-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">220px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> .<span style="color: #000000; font-weight: bold;">border</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> <span style="color: #6666ff;">.narrow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">120px</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> form <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> label <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#1A1A1A</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#414141</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #3333ff;">:focus</span><span style="color: #6666ff;">.field</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#545454</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* BUTTONS */</span>
<span style="color: #808080; font-style: italic;">/* Login and Register buttons */</span>
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input.bt_login<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_register</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">24px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">74px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_login.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> .<span style="color: #000000; font-weight: bold;">content</span> input<span style="color: #6666ff;">.bt_register</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">94px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_register.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#panel</span> <span style="color: #6666ff;">.lost-pwd</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.95em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Panel Tab/button */</span>
<span style="color: #6666ff;">.tab</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_b.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">80%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li.<span style="color: #000000; font-weight: bold;">left</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_l.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li.<span style="color: #000000; font-weight: bold;">right</span> <span style="color: #00AA00;">&#123;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_r.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li <span style="color: #00AA00;">&#123;</span>
 	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">42px</span><span style="color: #00AA00;">;</span>
  	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/tab_m.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#15ADFF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> ul<span style="color: #6666ff;">.login</span> li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> <span style="color: #6666ff;">.sep</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#414141</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.open</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span> !important<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.open</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_open.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_close.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.open</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_open.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #933;">-19px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.tab</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.close</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bt_close.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #933;">-19px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Note:</strong> I have set font-size to 130% for <em>#toppanel</em> because the panel font was too small in the Default theme. If you use this code with another theme and font is too big, modify this value or just delete &#8220;font-size: 130%;&#8221;.</p>
<h2>STEP 3: Add the Javascript files &amp; Images to your theme.</h2>
<p>Click <a href="http://web-kreation.com/?dl_id=22">here</a> to download the sliding panel from my previous article. When prompted save Sliding_login_panel_jquery.zip on your desktop. Uncompress the file (with <a href="http://www.7-zip.org/" rel="nofollow">7zip</a> for example) and copy the &#8220;js&#8221; folder (all of it) into wp-content/themes/default/. Copy all the images from the zip file and save them in wp-content/themes/default/images/. </p>
<p>By now, if you saved the files to the right folders and added the HTML and CSS code to the right files, the panel should slide as expected. To test your sliding panel, you can create different users in <em>Users > Add New</em> and select a different role for each. Then sign in with the different accounts you just created to see how the panel behaves.</p>
<p>Let&#8217;s now take care of the register form.</p>
<h2>STEP 4 (Optional): Register form</h2>
<p>If you want the register form to appear in your panel, you will need to follow one last step. Go to <em>Settings > General</em> and check &#8220;Anyone can register&#8221;. If you don&#8217;t check this box, this is what you will see:<br />
<img src="http://web-kreation.com/wp-content/uploads/2009/04/sliding-panel-register-disable.jpg" alt="sliding-panel-register-disable" title="sliding-panel-register-disable" width="600" height="204" class="aligncenter size-full wp-image-1611" /></p>
<p>When you succesfully register or get an error you will be redirected to <em>http://yoursite.com/wp-login.php?action=register</em>. I would have prefered to handle errors and messages directly from the sliding panel but that was not possible without adding a lot of code to it. </p>
<p>I was surprised to see there was so little documentation about adding a register form to the front page. I found a few plugins but nothing really interesting. </p>
<p>If you know something interesting about it, let me know.</p>
<h2>Not Working. Help!</h2>
<p>You followed all the steps above but it didn&#8217;t work. Don&#8217;t worry! I have bundled this jQuery Sliding Panel with the default theme. Just download it below and install it as you would normally do for any theme:</p>
<div class="clearfix">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>If it still doesn&#8217;t work, make sure jQuery doesn&#8217;t conflict with another AJAX library (Mootools, Prototype&#8230;). </p>
<h2>Conclusion</h2>
<p>I tried to make this tutorial as simple as I could for you to implement this script into your WordPress theme. However, depending on the theme you use, you might run into a problem. If so, ask your questions below and I will try to help you.</p>
<h2>Update: Plugins for WordPress, Drupal, Joomla, Tutorials&#8230;</h2>
<div class="note">It seems this sliding panel has inspired many people. Some of them even have created some plugins for WordPress, Drupal&#8230;:</p>
<ul class="clearfix">
<li class="clearfix"><a href="http://justintadlock.com/archives/2009/06/25/sliding-panel-wordpress-plugin">Sliding Panel: WordPress Plugin</a> by Justin Tadlock.</li>
<li class="clearfix"><a href="http://wordpress.org/extend/plugins/superslider-login/">SuperSlider-Login</a> by Twincascos.</li>
<li class="clearfix"><a title="Making A Cool Login System With PHP, MySQL &amp; jQuery" href="http://tutorialzine.com/2009/10/cool-login-system-php-jquery/" target="_blank">Making A Cool Login System With PHP, MySQL &amp; jQuery</a> by Tutorialzine.com.</li>
<li class="clearfix"><a href="http://www.danielnorton.com/slpjq">SlipJaq &#8211; A Drupal module for a sliding login panel</a> by Daniel Norton</li>
<li class="clearfix"><a href="https://github.com/Aevis/Sliding-Login-Panel">Aevis / Sliding-Login-Panel</a> a Joomla plugin by Aevis</li>
</ul>
<p>Enjoy!</p></div>
<p><em>(<strong>Note:</strong> If you created a plugin based on this script for another CMS, feel free to contact me or leave a comment below and I will add it to this list).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/implement-a-nice-clean-jquery-sliding-panel-in-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>192</slash:comments>
		</item>
		<item>
		<title>Nice &amp; Clean Sliding Login Panel built with jQuery</title>
		<link>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/</link>
		<comments>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 06:27:48 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[AJAX / Javascript]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1549</guid>
		<description><![CDATA[Remember my <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/">Sliding Login Panel build with Mootools 1.2</a>? Well, I thought it could have been improved both for design and functionnalities and <a href="http://web-kreation.com/demos/Sliding_login_panel_jquery/" title="Nice &#038; Clean Sliding Login Panel with jQuery">so I did!</a> but with jQuery this time. ]]></description>
				<content:encoded><![CDATA[<p>Remember my <a href="http://web-kreation.com/index.php/tutorials/nice-login-and-signup-panel-using-mootools-12/">Sliding Login Panel with Mootools 1.2</a>? Well, I thought it could have been improved both for design and functionnalities and <a title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/">so I did!</a> but with jQuery this time.</p>
<p><a title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><img class="aligncenter size-full wp-image-1551" title="sliding-login-panel-jquery" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery.jpg" alt="sliding-login-panel-jquery" width="600" height="250" /></a></p>
<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>This script is distributed under the <a href="http://www.gnu.org/licenses/gpl-3.0.html" target="_blank">GNU General Public License version 3</a>.</p>
<p>The sliding panel works like a charm in IE6, IE7, Firefox, Safari, Opera and Chrome. I didn&#8217;t test it in IE8 yet. Let me know if it does.</p>
<p class="error">Please note the Login and Register forms in this demo <strong>will not work &#8220;out of the box&#8221;</strong> without a user login system pre-installed on your site (e.g. PHP/MySQL user login system)!</p>
<h2>What&#8217;s new in this version?</h2>
<ul>
<li>Panel has been redesigned to be &#8220;slicker&#8221;.</li>
<li>Panel overlaps content instead of &#8220;pushing&#8221; it.</li>
<li>Images are transparent&#8230; and work in IE6! (Thanks to <strong>24Ways</strong> for their <a title="Transparent PNGs in Internet Explorer 6" rel="nofollow" href="http://24ways.org/2007/supersleight-transparent-png-in-ie6" target="blank">IE PNG Fix</a>.) This means, you can change the background color of the body as you wish or even set a background image.</li>
<li>Login button that slides the panel down changes from &#8220;Log In | Register&#8221; to &#8220;Close Panel&#8221; on click and I have added some nice rollover images:</li>
</ul>
<p>Login button when panel in closed state:<br />
<img class="aligncenter size-full wp-image-1553" title="sliding-login-panel-jquery-closed-state" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery-closed-state.jpg" alt="sliding-login-panel-jquery-closed-state" width="600" height="50" /><br />
Close button when panel in opened state:<br />
<img class="aligncenter size-full wp-image-1554" title="sliding-login-panel-jquery-opened-state" src="http://web-kreation.com/wp-content/uploads/2009/03/sliding-login-panel-jquery-opened-state.jpg" alt="sliding-login-panel-jquery-opened-state" width="600" height="50" /></p>
<p>Toggle effect (<em>.toggle()</em> in the javascript code below) behaves differently in jQuery than in Mootools and makes it dead simple to switch the login and close buttons on click. Here&#8217;s how I proceded:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code22'); return false;">View Code</a> HTML4STRICT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p154922"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p1549code22"><pre class="html4strict" style="font-family:monospace;">	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;toggle&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;open&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;open&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Log In | Register<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span>
	<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;close&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;close&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display: none;&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Close Panel<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span></pre></td></tr></table></div>

<p>&#8230; and the javascript to expand/collapse panel and switch the buttons on click:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code23'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p154923"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code" id="p1549code23"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// Expand Panel</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#open&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div#panel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideDown</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
&nbsp;
	<span style="color: #006600; font-style: italic;">// Collapse Panel</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#close&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div#panel&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slideUp</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
	<span style="color: #006600; font-style: italic;">// Switch buttons from &quot;Log In | Register&quot; to &quot;Close Panel&quot; on click</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#toggle a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#toggle a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggle</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Check the <a title="Effects/toggle jQuery" rel="nofollow" href="http://docs.jquery.com/Effects/toggle" target="_blank">jQuery documentation</a> for usage.</p>
<h2>Known Bugs</h2>
<ul>
<li>Rollover effect for the login button doesn&#8217;t work in IE6 because of <strong>24Ways&#8217;</strong> script. Knowing alpha transparency works perfectly in this browser I think we can disregard that minor bug.</li>
</ul>
<h2>Preview/Download</h2>
<div class="clearfix"><a class="btn-big view" title="Nice &amp; Clean Sliding Login Panel with jQuery" href="http://web-kreation.com/demos/Sliding_login_panel_jquery/"><span>View Demo</span></a>Note: There is a file embedded within this post, please visit this post to download the file.</div>
<h2 id="PushContentDown">How to have the panel &#8220;push&#8221; the content down?</h2>
<p>Many people ask me how to have the panel &#8220;push&#8221; the content down instead of overlapping it so I thought I would answer it here instead of answering each comment individually. This is actually extremely easy to do so. All you have to do is open slide.css (<em>Appearance>Editor</em>) and find:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1549code24'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p154924"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p1549code24"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* sliding panel */</span>
<span style="color: #cc00cc;">#toppanel</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">999</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Change <code>position:absolute;</code> for <code>position:relative;</code>. That&#8217;s it!</p>
<h2>Update: Plugins for WordPress, Drupal, Joomla, Tutorials&#8230;</h2>
<div class="note">It seems this sliding panel has inspired many people. Some of them even have created some plugins for WordPress, Drupal&#8230;:</p>
<ul class="clearfix">
<li class="clearfix"><a href="http://justintadlock.com/archives/2009/06/25/sliding-panel-wordpress-plugin">Sliding Panel: WordPress Plugin</a> by Justin Tadlock.</li>
<li class="clearfix"><a href="http://wordpress.org/extend/plugins/superslider-login/">SuperSlider-Login</a> by Twincascos.</li>
<li class="clearfix"><a title="Making A Cool Login System With PHP, MySQL &amp; jQuery" href="http://tutorialzine.com/2009/10/cool-login-system-php-jquery/" target="_blank">Making A Cool Login System With PHP, MySQL &amp; jQuery</a> by Tutorialzine.com.</li>
<li class="clearfix"><a href="http://www.danielnorton.com/slpjq">SlipJaq &#8211; A Drupal module for a sliding login panel</a> by Daniel Norton</li>
<li class="clearfix"><a href="https://github.com/Aevis/Sliding-Login-Panel">Aevis / Sliding-Login-Panel</a> a Joomla plugin by Aevis</li>
</ul>
<p>Enjoy!</p></div>
<p><em>(<strong>Note:</strong> If you created a plugin based on this script for another CMS, feel free to contact me or leave a comment below and I will add it to this list).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/nice-clean-sliding-login-panel-built-with-jquery/feed/</wfw:commentRss>
		<slash:comments>631</slash:comments>
		</item>
		<item>
		<title>E-TextEditor &#8211; The power of TextMate on Windows</title>
		<link>http://web-kreation.com/all/e-texteditor-the-power-of-textmate-on-windows/</link>
		<comments>http://web-kreation.com/all/e-texteditor-the-power-of-textmate-on-windows/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:58:58 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[e texteditor]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[text editor]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1521</guid>
		<description><![CDATA[n my search for a new text editor, <a href="http://twitter.com/Prezrok/status/1349696802">Prezrok</a>, a Twitter user, recommended me to have a look at <a href="http://www.e-texteditor.com/index.html" target="_blank" rel="nofollow" title="E-TextEditor - Text Editor - The power of TextMate on Windows">E-TextEditor</a>. After I watched their Screencast on their home page, my first impression was "Wow! That's it".]]></description>
				<content:encoded><![CDATA[<p>In my search for a new text editor, <a href="http://twitter.com/Prezrok/status/1349696802">Prezrok</a>, a Twitter user, recommended me to have a look at <a href="http://www.e-texteditor.com/index.html" target="_blank" rel="nofollow" title="E-TextEditor - Text Editor - The power of TextMate on Windows">E-TextEditor</a>. After I watched their Screencast on their home page, my first impression was &#8220;Wow! That&#8217;s it&#8221;. That&#8217;s the text editor I have been looking for so long for Windows. </p>
<p><a href="http://www.e-texteditor.com/index.html" target="_blank" rel="nofollow" title="E-TextEditor - Text Editor - The power of TextMate on Windows"><img src="http://web-kreation.com/wp-content/uploads/2009/03/e-texteditor.jpg" alt="E-TextEditor - Text Editor - The power of TextMate on Windows" title="e-texteditor" width="600" class="aligncenter size-full wp-image-1523" /></a></p>
<p>I have tried all the text and WYSIWYG editors you can think of for Windows: Dreamweaver, PSPad, Blueflish, NVU, Webuilder, Notepad++, Amaya, Aptana&#8230; but none really met my expectations of what a text editor should be. Don&#8217;t get me wrong. Some of them are really good editors&#8230; just not what I was looking for.</p>
<blockquote><p>&#8220;E is a new text editor for Windows, with powerful editing features and quite a few unique abilities. It makes manipulating text fast and easy, and lets you focus on your writing by automating all the manual work. You can extend it in any language, and by supporting TextMate bundles, it allows you to tap into a huge and active community&#8221;</p></blockquote>
<p>I tried it for a full day and bought a license the next morning. For only $34.95, it is worth the expense.</p>
<h2>Screenshot:</h2>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/03/e-texteditor_editor.jpg" alt="e-texteditor - Change the theme" title="e-texteditor - Change the theme" width="600" height="240" class="aligncenter size-full wp-image-1530" /></p>
<p>If you know this text editor, share your thoughts in the comments or let us know what software you use for your day-to-day developement work.</p>
<p>Link: <a href="http://www.e-texteditor.com/index.html" target="_blank" rel="nofollow" title="E-TextEditor - Text Editor - The power of TextMate on Windows">E-TextEditor website &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/e-texteditor-the-power-of-textmate-on-windows/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Ooops! Sorry&#8230; Na, nothing! It never happened. Just a dream.</title>
		<link>http://web-kreation.com/all/ooops-sorry-na-nothing-it-never-happened-just-a-dream/</link>
		<comments>http://web-kreation.com/all/ooops-sorry-na-nothing-it-never-happened-just-a-dream/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 04:09:59 +0000</pubDate>
		<dc:creator>Jeeremie</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://web-kreation.com/?p=1452</guid>
		<description><![CDATA[You might have noticed my site was not working very well during the last two days. My domain name had been suspended by my host company after a severe server load. It resulted the Popularity Contest plugin was responsible for this and screwed up the database. I had to delete [...]]]></description>
				<content:encoded><![CDATA[<p>You might have noticed my site was not working very well during the last two days. My domain name had been suspended by my host company after a severe server load and I had to delete that database in order for my them to reactivate my domain name. It resulted the Popularity Contest plugin was responsible for this and screwed up the database. It is quite a long story but&#8230; many hours/downloads/uploads/tests/upgrades later, I could finally restore a database from my backups. It took quite a while and I am really sorry for that. </p>
<p><img src="http://web-kreation.com/wp-content/uploads/2009/02/untitled-1.jpg" alt="site suspended" title="site suspended" width="400" height="214" class="aligncenter size-full wp-image-1462"  /></p>
<p>I ran into a lot of issues while exporting and importing in to phpMyAdmin. The database was large and phpMyAdmin was importing only half of it (timeout???) even though it said &#8220;Your SQL query has been executed successfully&#8221;. I retried it a few (dozen of) times. I exported it as Zip, GZip, split the sql file into 4,6,8&#8230; smaller files. Nothing worked. </p>
<p>And at 7:16pm&#8230; <strong>Hallelujah! it works! </strong></p>
<p>You can&#8217;t imagine what I was feeling at this very moment. It was like&#8230; I don&#8217;t know&#8230; like finding some water after 15 days in the desert, maybe!? </p>
<p>So, here it is, all posts restored, just a few comments lost (no more than 5 I think), and I have upgraded to WordPress 2.7.1 while I was at it.</p>
<p>What happened in the last two days taught me a few important things:</p>
<ul>
<li>1- Upgrade WordPress and plugins to the latest release if possible</li>
<li>2- Repair/optimize database every once in a while with phpMyAdmin</li>
<li>3- The phpMyAdmin import/export Functionalities suck!</li>
<li>4- Don&#8217;t count too much on your host company to support you when you are in a deep shit!</li>
</ul>
<p>Anyway, I am still wondering what went wrong with the Popularity Contest plugin. Did anyone had a similar problem? </p>
<p>P.S.: I received a message on Twitter saying &#8220;&#8230; and pls backup!&#8221; Well, I backup on a current basis. Actually, once a week or so or after any big site update. I can&#8217;t be held responsible when a backup get corrupted. It just happens! That&#8217;s why it is really important to always have a few backups. Mines are stored on my server and on two external hard drives. </p>
]]></content:encoded>
			<wfw:commentRss>http://web-kreation.com/all/ooops-sorry-na-nothing-it-never-happened-just-a-dream/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
