<?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>AjaxMasters Blog</title> <atom:link href="http://blog.ajaxmasters.com/feed/" rel="self" type="application/rss+xml" /><link>http://blog.ajaxmasters.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Thu, 24 Jun 2010 11:55:25 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>IE9 vs Chrome 6</title><link>http://blog.ajaxmasters.com/ie9-vs-chrome-6/</link> <comments>http://blog.ajaxmasters.com/ie9-vs-chrome-6/#comments</comments> <pubDate>Thu, 24 Jun 2010 11:54:14 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[hardware acceleration]]></category> <category><![CDATA[IE9]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=392</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/ie9-vs-chrome-6/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/06/ie9-170x170.jpg" class="alignleft tfe wp-post-image" alt="" title="ie9" /></a>My mind was getting really dizzy after i have read that IE9 might get pretty well in the browsers battle. Well here is a test of course it&#8217;s not really fair because IE9 uses hardware acceleration and none of the other browsers have it yet. Chrome 6 is in beta but still doesn&#8217;t have it, it will be there when it will get released. Also this is the case for [...]]]></description> <content:encoded><![CDATA[<p>My mind was getting really dizzy after i have read that IE9 might get pretty well in the browsers battle. Well here is a test of course it&#8217;s not really fair because IE9 uses hardware acceleration and none of the other browsers have it yet. Chrome 6 is in beta but still doesn&#8217;t have it, it will be there when it will get released. Also this is the case for Safari and Firefox.</p><p> So here is the video with the test side by side, get amazed!</p><p><object
width="600" height="385"><param
name="movie" value="http://www.youtube.com/v/Xveh8EN6rd0&#038;color1=0x234900&#038;color2=0x4e9e00&#038;hl=en_GB&#038;feature=player_embedded&#038;fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowScriptAccess" value="always"></param><embed
src="http://www.youtube.com/v/Xveh8EN6rd0&#038;color1=0x234900&#038;color2=0x4e9e00&#038;hl=en_GB&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="600" height="385"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/ie9-vs-chrome-6/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Font Directory</title><link>http://blog.ajaxmasters.com/google-font-directory/</link> <comments>http://blog.ajaxmasters.com/google-font-directory/#comments</comments> <pubDate>Wed, 19 May 2010 23:37:17 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[Trends]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[css]]></category> <category><![CDATA[directory]]></category> <category><![CDATA[fonts]]></category> <category><![CDATA[google]]></category> <category><![CDATA[layout]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=381</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/google-font-directory/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/05/font_directory_logo_beta-170x170.png" class="alignleft tfe wp-post-image" alt="" title="Google Font Directory" /></a>I just watched a video from nettuts where they show the new Google Font Directory and how easy it is to use it. I just had to share this with you guys.
Here is the videoAnd the links to the font directory: Google Font Directory and a tutorial on getting started: tutorial
]]></description> <content:encoded><![CDATA[<p>I just watched a video from <a
href="http://net.tutsplus.com/" target="_blank">nettuts</a> where they show the new <a
href="http://code.google.com/webfonts" target="_blank">Google Font Directory</a> and how easy it is to use it. I just had to share this with you guys.</p><p>Here is the video<br/><br
/> <object
width="600" height="385"><param
name="movie" value="http://www.youtube.com/v/ivhgb0urkFA&#038;hl=en_US&#038;fs=1&#038;"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/ivhgb0urkFA&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="385"></embed></object></p><p>And the links to the font directory: <a
href="http://code.google.com/webfonts" target="_blank">Google Font Directory</a> and a tutorial on getting started: <a
href="http://code.google.com/apis/webfonts/docs/getting_started.html" target="_blank">tutorial</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/google-font-directory/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Feedback Forum Open-Source</title><link>http://blog.ajaxmasters.com/feedback-forum-open-source/</link> <comments>http://blog.ajaxmasters.com/feedback-forum-open-source/#comments</comments> <pubDate>Fri, 07 May 2010 21:35:30 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[feedback]]></category> <category><![CDATA[fork]]></category> <category><![CDATA[forum]]></category> <category><![CDATA[github]]></category> <category><![CDATA[open]]></category> <category><![CDATA[php]]></category> <category><![CDATA[simple]]></category> <category><![CDATA[source]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=368</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/feedback-forum-open-source/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/05/logo-170x170.png" class="alignleft tfe wp-post-image" alt="" title="logo" /></a>Hy there! I was working on this forum for one of our websites. But since we are not advancing very well with them i decided that it would be good to give this as open source to the internetz ;). So this is a simple version of the ones that are popular on the internet. Also I want to know if you are interested in it! If you are then [...]]]></description> <content:encoded><![CDATA[<p>Hy there! I was working on this forum for one of our websites. But since we are not advancing very well with them i decided that it would be good to give this as open source to the internetz ;). So this is a simple version of the ones that are popular on the internet. Also I want to know if you are interested in it! If you are then i might get more versions out of it and with your help maybe we can make it better.</p><p>It&#8217;s on <a
href="http://github.com/Chocksy/feedbacker" target="_blank">github</a> you can fork it there or <a
href="http://github.com/Chocksy/feedbacker/zipball/master" target="_blank">download it</a>!</p><div
id="attachment_371" class="wp-caption aligncenter" style="width: 130px"><a
href="http://github.com/Chocksy/feedbacker"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/05/github.png" alt="Fork on github!" title="Fork on github!" width="120" height="60" class="size-full wp-image-371" /></a><p
class="wp-caption-text">Fork on github!</p></div><p><a
align="center" href="http://ajaxmasters.com/development/feedback-forum/" target="_blank"><br
/><h2>DEMO</h2><p></a></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/feedback-forum-open-source/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Photoshop CS5 Content-Aware Fill</title><link>http://blog.ajaxmasters.com/photoshop-cs5-content-aware-fill/</link> <comments>http://blog.ajaxmasters.com/photoshop-cs5-content-aware-fill/#comments</comments> <pubDate>Thu, 25 Mar 2010 09:32:43 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[Trends]]></category> <category><![CDATA[content aware]]></category> <category><![CDATA[cs5]]></category> <category><![CDATA[photoshop]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=356</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/photoshop-cs5-content-aware-fill/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/gomedia-blog-post-Photoshop-sneak-peek-header-170x170.jpg" class="alignleft tfe wp-post-image" alt="" title="gomedia-blog-post-Photoshop-sneak-peek-header" /></a>This is something really nice that will be available in Photoshop CS5.
Take a look:]]></description> <content:encoded><![CDATA[<p>This is something really nice that will be available in Photoshop CS5.</p><p>Take a look:</p><p><object
width="600" height="400"><param
name="movie" value="http://www.youtube.com/v/NH0aEp1oDOI&#038;hl=en_US&#038;fs=1&#038;"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/NH0aEp1oDOI&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="400"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/photoshop-cs5-content-aware-fill/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Best articles we read this week (March 8-13)</title><link>http://blog.ajaxmasters.com/best-articles-we-read-this-week-march-8-13/</link> <comments>http://blog.ajaxmasters.com/best-articles-we-read-this-week-march-8-13/#comments</comments> <pubDate>Sat, 13 Mar 2010 06:00:34 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Trends]]></category> <category><![CDATA[articles]]></category> <category><![CDATA[designers]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[intel]]></category> <category><![CDATA[RSA]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=325</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/best-articles-we-read-this-week-march-8-13/"><img
align="left" hspace="5" width="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/favors.jpg" class="alignleft wp-post-image tfe" alt="" title="favors" /></a>Here are some news that we cared about this weekTop 8 Dreaded Favors Asked of Web Designers1024-bit RSA encryption cracked by carefully starving CPU of electricitySamsung Super AMOLED explained in pretty moving pictures (video)MetaLab Goes Open Source?US Considering Free Broadband AccessIntel&#8217;s Core i7-980X Extreme Edition &#8216;Gulftown&#8217; review roundupHTML5 vs. Flash comparison finds a few surprises, settles few debatesG-Tec Intendix brain-computer interface ready for consumers (video)MIT gurus use polyethylene [...]]]></description> <content:encoded><![CDATA[<div
class="in_title">Here are some news that we cared about this week <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile.png' alt=':)' class='wp-smiley' /></div><div><a
href="http://blog.ajaxmasters.com/best-articles-we-read-this-week-march-8-13/favors/" rel="attachment wp-att-330"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/favors.jpg" alt="" title="favors" width="485" height="161" class="alignnone size-full wp-image-330" /></a></div><div><a
href="http://webdesignledger.com/tips/top-8-dreaded-favors-asked-of-web-designers" target="_blank">Top 8 Dreaded Favors Asked of Web Designers</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/09/1024-bit-rsa-encryption-cracked-by-carefully-starving-cpu-of-ele/"><img
alt="RSA broken" src="http://www.blogcdn.com/www.engadget.com/media/2010/03/3-8-10-rsahardwarefaultattackgraphic.jpg" title="RSA broken" class="alignnone" width="544" height="352" /></a></div><div><a
href="http://www.engadget.com/2010/03/09/1024-bit-rsa-encryption-cracked-by-carefully-starving-cpu-of-ele/" target="_blank">1024-bit RSA encryption cracked by carefully starving CPU of electricity</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/09/samsung-super-amoled-explained-in-pretty-moving-pictures-video/"><img
alt="AMOLED" src="http://www.blogcdn.com/www.engadget.com/media/2010/03/samsung-explain-super-amoled3.jpg" title="AMOLED" class="alignnone" width="600" height="335" /></a></div><div><a
href="http://www.engadget.com/2010/03/09/samsung-super-amoled-explained-in-pretty-moving-pictures-video/" target="_blank">Samsung Super AMOLED explained in pretty moving pictures (video)</a></div><p><br/></p><div><a
href="http://blog.metalabdesign.com/post/437932602/metalab-goes-open-source"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/side-by-side-600x253.png" alt="Mozilla Jetpack" title="side-by-side" width="600" height="253" class="alignnone size-large wp-image-339" /></a></div><div><a
href="http://blog.metalabdesign.com/post/437932602/metalab-goes-open-source" target="_blank">MetaLab Goes Open Source?</a></div><p><br/></p><div><a
href="http://thenextweb.com/us/2010/03/10/us-considering-free-broadband/?utm_source=feedburner&#038;utm_medium=email&#038;utm_campaign=Feed:+TheNextWeb+(The+Next+Web)"><img
alt="USA fee broadband" src="http://thenextweb.com/us/files/2010/03/planetweb.jpg" title="USA fee broadband" class="alignnone" width="208" height="208" /></a></div><div><a
href="http://thenextweb.com/us/2010/03/10/us-considering-free-broadband/?utm_source=feedburner&#038;utm_medium=email&#038;utm_campaign=Feed:+TheNextWeb+(The+Next+Web)" target="_blank">US Considering Free Broadband Access</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/11/intels-core-i7-980x-extreme-edition-gulftown-review-roundup/"><img
alt="CPU i7" src="http://hothardware.com/articleimages/Item1471/Gulftown6.jpg" title="CPU i7" class="alignnone" width="585" height="314" /></a></div><div><a
href="http://www.engadget.com/2010/03/11/intels-core-i7-980x-extreme-edition-gulftown-review-roundup/" target="_blank">Intel&#8217;s Core i7-980X Extreme Edition &#8216;Gulftown&#8217; review roundup</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/10/html5-vs-flash-comparison-finds-a-few-surprises-settles-few-de/"><img
alt="flash" src="http://www.blogcdn.com/www.engadget.com/media/2010/02/02-24-10bookletflash.jpg" title="flash" class="alignnone" width="275" height="187" /></a></div><div><a
href="http://www.engadget.com/2010/03/10/html5-vs-flash-comparison-finds-a-few-surprises-settles-few-de/" target="_blank">HTML5 vs. Flash comparison finds a few surprises, settles few debates</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/10/g-tec-intendix-brain-computer-interface-ready-for-consumers-vid/"><img
alt="Brain controler" src="http://www.blogcdn.com/www.engadget.com/media/2010/03/100310-g-tec-05.jpg" title="Brain controler" class="alignnone" width="600" height="395" /></a></div><div><a
href="http://www.engadget.com/2010/03/10/g-tec-intendix-brain-computer-interface-ready-for-consumers-vid/" target="_blank">G-Tec Intendix brain-computer interface ready for consumers (video)</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/10/mit-gurus-use-polyethylene-to-suck-heat-away-from-your-next-cpu/"><img
alt="MIT new stuff" src="http://www.blogcdn.com/www.engadget.com/media/2010/03/mit-science-chip.jpg" title="MIT new stuff" class="alignnone" width="204" height="240" /></a></div><div><a
href="http://www.engadget.com/2010/03/10/mit-gurus-use-polyethylene-to-suck-heat-away-from-your-next-cpu/" target="_blank">MIT gurus use polyethylene to suck heat away from your next CPU</a></div><p><br/></p><div><a
href="http://gizmodo.com/5490624/ibm-develops-infinitely-recyclable-plant+based-plastic"><img
alt="grass" src="http://cache.gawkerassets.com/assets/images/4/2010/03/500x_plantplasticc.jpg" title="grass" class="alignnone" width="500" height="297" /></a></div><div><a
href="http://gizmodo.com/5490624/ibm-develops-infinitely-recyclable-plant+based-plastic" target="_blank">IBM Develops Infinitely Recyclable Plant-Based Plastic</a></div><p><br/></p><div><a
href="http://www.engadget.com/2010/03/11/cellphone-inventor-marty-cooper-uses-a-droid-and-a-jitterbug/"><img
alt="marty cooper" src="http://www.blogcdn.com/www.engadget.com/media/2010/03/marty-cooper-03-11-2010.jpg" title="marty cooper" class="alignnone" width="300" height="228" /></a></div><div><a
href="http://www.engadget.com/2010/03/11/cellphone-inventor-marty-cooper-uses-a-droid-and-a-jitterbug/" target="_blank">Cellphone inventor Marty Cooper uses a Droid&#8230;. and a Jitterbug</a></div> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/best-articles-we-read-this-week-march-8-13/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Awesome CSS+JS form styling</title><link>http://blog.ajaxmasters.com/awesome-cssjs-form-styling/</link> <comments>http://blog.ajaxmasters.com/awesome-cssjs-form-styling/#comments</comments> <pubDate>Tue, 09 Mar 2010 17:23:39 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[css]]></category> <category><![CDATA[form]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[js]]></category> <category><![CDATA[sexy]]></category> <category><![CDATA[styling]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=309</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/awesome-cssjs-form-styling/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/sexy-form-170x170.png" class="alignleft tfe wp-post-image" alt="Sexy CSS+JS Form" title="sexy-form" /></a>I was working on our new open source project that i think you will like and I was working on the registration page. This is what I got in the end and i will walk you trough the process with me. This new tutorial is about styling the forms of your website, I find it very good looking and very simple to implement. We will use simple CSS and some [...]]]></description> <content:encoded><![CDATA[<div
id="attachment_312" class="wp-caption alignleft" style="width: 310px"><a
href="http://blog.ajaxmasters.com/awesome-cssjs-form-styling/sexy-form/" rel="attachment wp-att-312"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/03/sexy-form-300x214.png" alt="Sexy CSS Form" title="sexy-form" width="300" height="214" class="size-medium wp-image-312" /></a><p
class="wp-caption-text">Sexy CSS+JS Form</p></div><p>I was working on our new open source project that i think you will like and I was working on the registration page. This is what I got in the end and i will walk you trough the process with me. This new tutorial is about styling the forms of your website, I find it very good looking and very simple to implement. We will use simple CSS and some JavaScript.</p><p>Usually for inserting text into the inputs or our forms we set the value attribute with the text and then use javascript to check for different scenarios for doing some fancy things. This is different we will use labels to fill the text and move them under the inputs and then just do our magic with JS.</p><p>The JavaScript library that we will use to create this effect for our forms is <a
href="http://jquery.com" target="_blank">Jquery</a></p><p><br/><br
/> <strong
class="in_title">1. Creating the markup!</strong><br
/> <br/></p><pre class="brush: xml;">
            &lt;div id=&quot;login&quot;&gt;
                &lt;div class=&quot;sayit&quot;&gt;Log In:&lt;/div&gt;
                &lt;form action=&quot;javascript:void(0)&quot; onsubmit=&quot;login()&quot; autocomplete=&quot;off&quot;&gt;
                    &lt;label for=&quot;username&quot;&gt;Username&lt;/label&gt;
                    &lt;input type=&quot;text&quot; id=&quot;username&quot;/&gt;
                    &lt;label for=&quot;password&quot;&gt;Password&lt;/label&gt;
                    &lt;input type=&quot;password&quot; id=&quot;password&quot;/&gt;
                    &lt;input type=&quot;submit&quot; class=&quot;medium button green&quot; value=&quot;Log me In&quot;/&gt;
                &lt;/form&gt;
            &lt;/div&gt;
</pre><p>The above code is our markup and as you can see is very simple and it can be changed as you like because the code that we will use for checking for different scenarios in javascript will work without necessary classes or ids. We have 2 inputs and 2 labels, one is password one is text and we can work with these ones, you can add as many as you like.</p><p>Now let&#8217;s style these bastards! <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile-big.png' alt=':D' class='wp-smiley' /></p><p><strong
class="in_title">2. Use CSS to style the form elements!</strong><br
/> <br/></p><pre class="brush: css;">
input[type=text],input[type=password]{padding: 5px 10px; background-color: transparent;	position: relative; z-index: 2;}
label{position: absolute; z-index: 1;-webkit-transition: opacity 0.15s linear; color: #bababa; background-color: #FFFFFF; }

#login{width: 290px; margin: 0 auto;}
#login input[type=text],#login input[type=password]{width:270px; margin: 5px 0; font-size: 24px; font-weight: bold; border: 1px solid #ccc; -moz-border-radius:5px; -webkit-border-radius:5px; color: #595959;}
#login label{font-size: 24px; margin: 14px 10px;}

#login .sayit{font-size:24px; color: #595959; font-style: italic; padding-bottom: 5px;}
</pre><p>What we did here is make the label absolute so it will go under the input. This is important you will have to place the label before the input so remember this! The input will have a position relative and a z-index of 2 so we can be sure it will land above the label. Next we define the login div by using his id(<i>#login</i>). We use CSS3 for creating the round borders for the input and style the label by setting a big font-size to fit the input. The rest is pretty obvious, if you have trouble understanding this then let us know in the comments.</p><p><strong
class="in_title">3. Make everything move with JS!</strong><br
/> <br/></p><pre class="brush: jscript;">
$(document).ready(function(){
    $.string(String.prototype);
    $(&quot;input,textarea&quot;).each(function (type) {
        $(this).focus(function () {
            if($(this).val().blank())
                $(this).prev(&quot;label&quot;).fadeTo('fast',0.45);
        });

        $(this).keypress(function () {
            $(this).prev(&quot;label&quot;).fadeTo('fast',0);
        });

        $(this).blur(function () {
            if($(this).val().blank()){
                $(this).prev(&quot;label&quot;).fadeTo('fast',1);
            }
        });
    });
});
</pre><p>We use here jQuery of course that we add using the google api like this:</p><pre class="brush: xml;">
        &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
</pre><p>And one plugin that I use to extend the jQuery string properties and that is <a
href="http://stilldesigning.com/dotstring/">$.string plugin</a>. After we do that we create the above code and we assign to input and textarea elements a focus, keypress and blur actions. We use the focus action to lower the labels opacity to 45% then on keypress we just hide it for good. Then on blur we check to see if anything was written in our sexy element and if not then we fade the label back to 100%. This is kind of everything we do here, pretty simple. <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile.png' alt=':)' class='wp-smiley' /></p><p><strong
class="in_title">4. Showing of a demo and download source</strong><br
/> <br/></p><p>I&#8217;ve set up a demo here: <a
href="http://tutorials.ajaxmasters.com/sexy-form/" target="_blank"><b><i>DEMO</i></b></a></p><p>The source code you can either pick it from the demo page or from here: <a
href="http://tutorials.ajaxmasters.com/sexy-form/source.zip"><b><i>SOURCE</i></b></a></p><p><strong
class="in_title">5. Wrapping up!</strong><br
/> <br/></p><p>So here is our nice form styling that you can use on your website and that can be done very easily. Feel free to leave us comments and suggestions. <b>Thanks a lot!</b></p><p>Have fun coding!</p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/awesome-cssjs-form-styling/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Free Music: Grooveshark</title><link>http://blog.ajaxmasters.com/free-music-grooveshark/</link> <comments>http://blog.ajaxmasters.com/free-music-grooveshark/#comments</comments> <pubDate>Mon, 25 Jan 2010 22:50:05 +0000</pubDate> <dc:creator>Mauu</dc:creator> <category><![CDATA[Trends]]></category> <category><![CDATA[adobe air]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[free]]></category> <category><![CDATA[music]]></category> <category><![CDATA[player]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=290</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/free-music-grooveshark/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/grooveshark-170x170.jpg" class="alignleft tfe wp-post-image" alt="" title="grooveshark" /></a> Well I think all of us love free music and when the music is like all of it in one place that becomes even better.
I&#8217;ve been using this website for a week now and I&#8217;m so glad i found it. In fact Grooveshark was launched since 2007 but it was not from the start like this.
Let&#8217;s see what Wikipedia says about this: &#8220;Grooveshark is an internationally-available  online music [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/grooveshark.jpg"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/grooveshark-300x300.jpg" alt="" title="grooveshark" width="300" height="300" class="alignleft size-medium wp-image-291" /></a><br
/> Well I think all of us love free music and when the music is like all of it in one place that becomes even better.</p><p>I&#8217;ve been using this website for a week now and I&#8217;m so glad i found it. In fact Grooveshark was launched since 2007 but it was not from the start like this.</p><p>Let&#8217;s see what <a
href="http://en.wikipedia.org/wiki/Grooveshark">Wikipedia</a> says about this: &#8220;<i>Grooveshark is an internationally-available  online music search engine, music streaming service and music recommendation web software application, allowing users to search for, stream, and upload music free of charge that can be played immediately or added to a playlist. Grooveshark streams 50 to 60 million songs per month, to more than 400,000 users. As of April 2009, its audience was growing at a rate of 2 to 3% per day.</i>&#8221;</p><p>So it seems this is just starting to get big. One notable thing about the service/website/player how you wan to call it is that they just signed a licensing deal with <a
href="http://en.wikipedia.org/wiki/EMI">EMI</a> and they say Universal is coming soon.</p><p>Here is screenshot of the player and just go and <a
href="http://listen.grooveshark.com/"><i><b>listen</b></i>.grooveshark.com</a><br
/><div
id="attachment_295" class="wp-caption aligncenter" style="width: 310px"><a
href="http://blog.ajaxmasters.com/free-music-grooveshark/layer/" rel="attachment wp-att-295"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/layer-300x159.jpg" alt="GrooveShark Player" title="GrooveShark Player" width="300" height="159" class="size-medium wp-image-295" /></a><p
class="wp-caption-text">GrooveShark Player</p></div></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/free-music-grooveshark/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Guide to a very fast website</title><link>http://blog.ajaxmasters.com/guide-to-a-very-fast-website/</link> <comments>http://blog.ajaxmasters.com/guide-to-a-very-fast-website/#comments</comments> <pubDate>Sat, 02 Jan 2010 23:53:25 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[code]]></category> <category><![CDATA[fast]]></category> <category><![CDATA[htaccess]]></category> <category><![CDATA[php]]></category> <category><![CDATA[website]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=259</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/guide-to-a-very-fast-website/"><img
align="left" hspace="5" width="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/1262476500_performance-systeme-OS.png" class="alignleft wp-post-image tfe" alt="Performance" title="Performance" /></a>I was experimenting with new features for the past few weeks and while i was working on optimizing a website we are working on currently i was wondering what would it take to get a very big score on Yslow. But as Jeff says in this old post: &#8220;Yahoo&#8217;s Problems Are Not Your Problems&#8221;. So i was just doing the usual putting the javascript files at the bottom, minify every [...]]]></description> <content:encoded><![CDATA[<div
id="attachment_281" class="wp-caption alignleft" style="width: 138px"><a
href="http://blog.ajaxmasters.com/guide-to-a-very-fast-website/1262476500_performance-systeme-os/" rel="attachment wp-att-281"><img
src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/1262476500_performance-systeme-OS.png" alt="Performance" title="Performance" width="128" height="128" class="size-full wp-image-281" /></a><p
class="wp-caption-text">Performance</p></div><br
/> I was experimenting with new features for the past few weeks and while i was working on optimizing a website we are working on currently i was wondering what would it take to get a very big score on <a
href="http://developer.yahoo.com/yslow/">Yslow</a>. But as Jeff says in <a
href="http://www.codinghorror.com/blog/archives/000932.html">this</a> old post: &#8220;Yahoo&#8217;s Problems Are Not Your Problems&#8221;. So i was just doing the usual putting the javascript files at the bottom, minify every single one of them. I usually use this website: <a
href="http://yui.2clics.net/">YUI Compressor Online</a> it always does the job for me.</p><p>What Yslow goes round and round is the cache system of the browser. So what you are actually doing is making everything cacheable and as small as possible so that the browser takes everything loading from one bite. The browsers have a limited number of requests that they address at once so if you can get into that margin then you are good. So very important <strong>combine every file and make is small!</strong> <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile.png' alt=':)' class='wp-smiley' /></p><p>What have i done is use the gzip module of the apache server by using php and a .htaccess file. I believe this is one of the most nice ways to take advantage of this feature without making any changes to your website. What it does is adding lines of code at the beginning of txt/html/htm/php files, css files and js files. After we do this we add a closing line at the end and we are good. Gzip is in place up and running.</p><p>How do we do it? Well here is the code:</p><pre class="brush: php;">&lt;FilesMatch &quot;\.(css)&quot;&gt;
    ForceType application/x-httpd-php
	php_value auto_prepend_file &quot;address-to-this-file/gzip/gzip-css.php&quot;
php_value auto_append_file &quot;address-to-this-file/gzip/gzip-end.php&quot;
&lt;/FilesMatch&gt;

&lt;FilesMatch &quot;\.(txt|html|htm|php)&quot;&gt;
    ForceType application/x-httpd-php
	php_value auto_prepend_file &quot;address-to-this-file/gzip/gzip-gen.php&quot;
php_value auto_append_file &quot;address-to-this-file/gzip/gzip-end.php&quot;
&lt;/FilesMatch&gt;

&lt;FilesMatch &quot;\.(js)&quot;&gt;
    ForceType application/x-httpd-php
	php_value auto_prepend_file &quot;address-to-this-file/gzip/gzip-js.php&quot;
php_value auto_append_file &quot;address-to-this-file/gzip/gzip-end.php&quot;
&lt;/FilesMatch&gt;</pre><p>The next step is a selective one since what we are doing is telling the browser to not look for a file until we tell it to. So if we set the expiration to 2 years from now the browser will always use the one it has in it&#8217;s cache until 2 years pass. <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile.png' alt=':)' class='wp-smiley' /></p><pre class="brush: php;">&lt;IfModule mod_expires.c&gt;
ExpiresActive On
ExpiresDefault A600
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A604800
ExpiresByType text/javascript A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/plain A86400
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A2592000
ExpiresByType text/html A600
&lt;/IfModule&gt;
</pre><p>We check for the expires module and if it&#8217;s activated then we just set the expiration dates. What does &#8220;ExpiresByType text/css A17200&#8243; means? Css files &#8220;<strong>expire after 4.8 hours&#8221;</strong><br
/> &#8220;A&#8221; before the numbers above stands for Access. This means that the stopwatch starts when a client accesses the file. You can also use &#8220;M&#8221; for modified.</p><p
style="text-align: left;"><em><strong>TIME CHEAT SHEET</strong></em></p><ul><li> <em>300   5 MIN</em></li><li><em> 600  10 MIN</em></li><li><em> 900  15 MIN</em></li><li><em> 1800  30 MIN</em></li><li><em> 2700  45 MIN</em></li></ul><ul><li><em>3600   1 HR</em></li><li><em>7200   2 HR</em></li><li><em>86400  24 HR</em></li></ul><ul><li><em>86400   1 DAY</em></li><li><em>604800   7 DAY</em></li></ul><ul><li><em>604800   1 WEEK</em></li><li><em>2419200   4 WEEK</em></li></ul><ul><li><em>2419200   1 MONTH (FEBRUARY)</em></li><li><em>2505600   1 MONTH (FEBRUARY LEAP YEAR)</em></li><li><em> 2592000   1 MONTH (APRIL, JUNE, SEPTEMBER, NOVEMBER)</em></li><li><em>2678400   1 MONTH (JANUARY, MARCH, MAY, JULY, AUGUST, OCTOBER, DECEMBER)</em></li><li><em>31536000  12 MONTH</em></li></ul><p>Now just download this thing and get a faster website. The rest of the Yslow rules are pretty simple to follow so i just felt i would let you know what i use for these 2 because i found them hard to figure out than the rest.<br
/> <br/></p><hr/> <strong
class="in_title">Update</strong><br
/> <br/><br
/> Today I was trying to get the gzip code to work on our server and since we have a shared hosting here we are forced to comply with the rules. And guess what I get a &#8220;500&#8243; error. So i found a new way of doing the same thing. This as long as you have Rewrite_module activated if this is not activated then i don&#8217;t think you can do much of a thing.</p><p>Here it is the .htaccess code:</p><pre class="brush: php;">
RewriteRule ^.+\.(css|js|png|jpg|swf)$ gzip/compress.php [NC]
</pre><p>This will pass all files that are css, js, png, jpg, swf trough the compress.php file. And here is what the compress.php file does:</p><pre class="brush: php;">
&lt;?php
$basedir = $_SERVER['DOCUMENT_ROOT'];
$file = realpath( $basedir . $_SERVER[&quot;REQUEST_URI&quot;] );

if( !file_exists($file) &amp;&amp; strpos($file, $basedir) === 0 ) {
    header(&quot;HTTP/1.0 404 Not Found&quot;);
    print &quot;File does not exist.&quot;;
    exit();
}

$path_info = pathinfo($file);
$extension=$path_info['extension'];

switch($extension) {
    case 'css':
        $mime = &quot;text/css&quot;;
        break;
    case'js':
        $mine = &quot;text/javascript&quot;;
        break;
    default:
        $mime = &quot;text/plain&quot;;
}

if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip'))
    ob_start(&quot;ob_gzhandler&quot;);
else
    ob_start();
header( &quot;Content-Type: &quot; . $mime . &quot;; charset: UTF-8&quot;);
header (&quot;cache-control: must-revalidate&quot;);
readfile($file);
?&gt;
</pre><p>The file checks for the extension of the file that is receives and ads the corresponding headers to it&#8217;s top.<br
/> Pretty simple. Download the zip file to get both versions.</p><p><div
id="attachment_269" class="wp-caption aligncenter" style="width: 138px"><a
href="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/optimize1.zip"><img
class="size-full wp-image-269" title="Awesome website optimizer" src="http://blog.ajaxmasters.com/wp-content/uploads/2010/01/1262475037_zip.png" alt="Awesome website optimizer" width="128" height="128" /></a><p
class="wp-caption-text">Awesome website optimizer</p></div> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/guide-to-a-very-fast-website/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The new WordPress 2.9</title><link>http://blog.ajaxmasters.com/the-new-wordpress/</link> <comments>http://blog.ajaxmasters.com/the-new-wordpress/#comments</comments> <pubDate>Mon, 21 Dec 2009 00:38:17 +0000</pubDate> <dc:creator>Chocksy</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[new]]></category> <category><![CDATA[version]]></category> <category><![CDATA[wordpress]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=250</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/the-new-wordpress/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2009/12/wordpress-logo-shine-170x170.jpg" class="alignleft tfe wp-post-image" alt="Carmen Wordpress 2.9" title="Carmen Wordpress 2.9" /></a>This video tells it all. Well as you can see we have a lot of stuff on our blog and i just wanted to say we made the upgrade and everything works the same maybe better. Just click the update button!]]></description> <content:encoded><![CDATA[<p>This video tells it all. Well as you can see we have a lot of stuff on our blog and i just wanted to say we made the upgrade and everything works the same maybe better. Just click the update button! <img
src='http://blog.ajaxmasters.com/wp-content/plugins/smilies-themer/pidgin/smile.png' alt=':)' class='wp-smiley' /></p><p><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="flashvars" value="guid=NBZ853Xn&amp;width=600&amp;height=360" /><param
name="src" value="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.11" /><param
name="allowfullscreen" value="true" /><embed
type="application/x-shockwave-flash" width="600" height="360" src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.11" allowfullscreen="true" flashvars="guid=NBZ853Xn&amp;width=600&amp;height=360"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/the-new-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Crazy flash gallery: CU3ER</title><link>http://blog.ajaxmasters.com/crazy-flash-gallery-cu3er/</link> <comments>http://blog.ajaxmasters.com/crazy-flash-gallery-cu3er/#comments</comments> <pubDate>Sun, 25 Oct 2009 13:47:55 +0000</pubDate> <dc:creator>Azertys</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[3d]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[gallery]]></category> <category><![CDATA[image]]></category> <category><![CDATA[slider]]></category><guid
isPermaLink="false">http://blog.ajaxmasters.com/?p=232</guid> <description><![CDATA[<a
href="http://blog.ajaxmasters.com/crazy-flash-gallery-cu3er/"><img
align="left" hspace="5" width="150" height="150" src="http://blog.ajaxmasters.com/wp-content/uploads/2009/10/cuber-170x170.jpg" class="alignleft wp-post-image tfe" alt="flash-gallery-logo" title="cuber" /></a>Hi there. So i was surfing the web and i stumbled on this great website: <a
title="CU3ER website" href="http://www.progressivered.com/cu3er/" target="_blank">CU3ER</a>, and i wanted to show it to you too.CU3ER \kju:bər\, an image slider initially conceived to create 3D transitions between slides, turned out to be a convenient and multifunction solution that can be applied in a range of website building areas, from content slider to feature slider and image &#38; banner rotator. Consider using it when you want to grab the user’s attention, and you’ll be delighted by the results![...]]]></description> <content:encoded><![CDATA[<div
id="attachment_239" class="wp-caption aligncenter" style="width: 610px"><a
href="http://blog.ajaxmasters.com/wp-content/uploads/2009/10/cuber.jpg"><img
class="size-large wp-image-239" title="cuber" src="http://blog.ajaxmasters.com/wp-content/uploads/2009/10/cuber-600x216.jpg" alt="flash-gallery-logo" width="600" height="216" /></a><p
class="wp-caption-text">flash-gallery-logo</p></div><p>Hi there. So i was surfing the web and i stumbled on this great website: <a
title="CU3ER website" href="http://www.progressivered.com/cu3er/" target="_blank">CU3ER</a>, and i wanted to show it to you too.</p><p>CU3ER \kju:bər\, an image slider initially conceived to create 3D transitions between slides, turned out to be a convenient and multifunction solution that can be applied in a range of website building areas, from content slider to feature slider and image &amp; banner rotator. Consider using it when you want to grab the user’s attention, and you’ll be delighted by the results!</p><p>CU3ER&#8217;s main features are:</p><ol><li> FREE</li><li>EASY to set up</li><li>CUSTOMIZABLE via XML</li><li>TAILORED to provide a UNIQUE look &amp; feel</li><li>INSPIRING</li><li>FUN-to-USE</li></ol><p>There are no special requirements for setting it up and running other than a limited knowledge of web authoring:</p><ol><li>Flash Player 9+,</li><li>XML Basics,</li><li>SWFObject (embedding .swf files into web pages),</li><li>Applications for image editing (especially for creating &amp; exporting slides).</li></ol><p>To set it up just to go on their site and click the <a
title="CU3ER quick-start" href="http://www.progressivered.com/cu3er/quick-start.htm" target="_blank">quick start button</a>, they have a nice basic tutorial there that will help you set it up. See you next time.</p> ]]></content:encoded> <wfw:commentRss>http://blog.ajaxmasters.com/crazy-flash-gallery-cu3er/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 18/60 queries in 0.013 seconds using disk

Served from: blog.ajaxmasters.com @ 2010-07-31 13:31:02 -->