<?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>Veera Sundar &#187; HTML/CSS</title>
	<atom:link href="http://veerasundar.com/blog/category/htmlcss/feed/" rel="self" type="application/rss+xml" />
	<link>http://veerasundar.com/blog</link>
	<description>Java / Web developer working at PayPal, India.</description>
	<lastBuildDate>Fri, 10 Sep 2010 17:05:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Slidr &#8211; HTML5 app for making online presentations</title>
		<link>http://veerasundar.com/blog/2010/08/slidr-html5-app-for-making-online-presentations/</link>
		<comments>http://veerasundar.com/blog/2010/08/slidr-html5-app-for-making-online-presentations/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 20:54:15 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[aea10k]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[slidr]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1713</guid>
		<description><![CDATA[An Event Apart + MIX is organizing a contest for implementing a cool web app, using HTML5+CSS3+JavaScript combo, with a rule that the final app size should be less than 10K. That&#8217;s the challenge. From my side, I tweaked my earlier code and redid that as Slidr, a web app for creating online presentations. The idea [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>An Event Apart + MIX is organizing a <a title="It’s time to get back to basics — back to optimizing every little byte like your life depends on it. Your challenge? Build a web app in less than 10 kilobytes." href="http://10k.aneventapart.com/">contest</a> for implementing a cool web app, using HTML5+CSS3+JavaScript combo, with a rule that the final app size should be less than 10K. That&#8217;s the challenge.</p>
<p>From my side, I tweaked my <a title="How to create a horizontal navigation website using JQuery" href="http://veerasundar.com/blog/2008/08/how-to-create-a-horizontal-navigation-website-using-jquery/">earlier code</a> and redid that as <strong><a title="Slidr - Make online presentations" href="http://10k.aneventapart.com/Uploads/90/">Slidr</a></strong>, a web app for creating online presentations. The idea is simple (or that&#8217;s what I think!) &#8211; to provide anyone the ability to <em>easily </em>create online presentations without the need to edit HTML/CSS code. With Slidr, the user can directly edit the content right from browser (yeah! <em>contenteditable=true</em> does the magic) and save their work. Slidr has a basic animated slide transition too.</p>
<p>Please try my app with link given below and <strong>rate it</strong> if you like the app. Because it helps the app to get more visibility.</p>
<p><em>(please use a browser which can understand HTML5, CSS3. For example,  IE9 or FF 3.6+ or Chrome 5+ )</em></p>
<p><a href="http://10k.aneventapart.com/Uploads/90/" target="_blank">Test drive &#8211; Slidr</a>| <a href="http://10k.aneventapart.com/Entry/90" target="_blank">Rate it</a>(thanks!)</p>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1713&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2010/07/css-summit-2010/" title="CSS Summit &#8211; 2010">CSS Summit &#8211; 2010</a></li><li><a href="http://veerasundar.com/blog/2009/09/google-chrome-frame-enabling-html-5-in-internet-explorer/" title="Google Chrome Frame : enabling HTML 5 in Internet Explorer">Google Chrome Frame : enabling HTML 5 in Internet Explorer</a></li><li><a href="http://veerasundar.com/blog/2009/02/timelinr-a-web-20-application-for-creating-timelines-online/" title="Timelinr &#8211; A web 2.0 application for creating timelines online">Timelinr &#8211; A web 2.0 application for creating timelines online</a></li><li><a href="http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/" title="Infinite scroll : Loading content while scrolling, using Java and JQuery">Infinite scroll : Loading content while scrolling, using Java and JQuery</a></li><li><a href="http://veerasundar.com/blog/2010/06/css-sorter-revamped/" title="CSS Sorter &#8211; Revamped">CSS Sorter &#8211; Revamped</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/08/slidr-html5-app-for-making-online-presentations/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>CSS Summit &#8211; 2010</title>
		<link>http://veerasundar.com/blog/2010/07/css-summit-2010/</link>
		<comments>http://veerasundar.com/blog/2010/07/css-summit-2010/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 16:14:47 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[chennai]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[csssummit]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1703</guid>
		<description><![CDATA[Got a chance to attend the second edition of CSS Summit, organized by Environment For Humans. There were several CSS experts (8, to be exact), sharing their experiences and tips to improve the CSS development. Overall, the session was so informative and worth the money. Here&#8217;s some tit-bits from the summit. Summit started at 7:30 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Got a chance to attend the second edition of <a title="CSS Summit 2010" href="http://environmentsforhumans.com/2010/css-summit/">CSS Summit</a>, organized by Environment For Humans. There were several CSS experts (8, to be exact), sharing their experiences and tips to improve the CSS development. Overall, the session was so informative and worth the money. Here&#8217;s some tit-bits from the summit.</p>
<p style="text-align: center;"><a title="tech check with Estelle Weyl by environmentsforhumans.com, on Flickr" href="http://www.flickr.com/photos/environmentsforhumans/4816152324/"><img class="aligncenter" src="http://farm5.static.flickr.com/4137/4816152324_2a88faa4e7.jpg" alt="tech check with Estelle Weyl" width="500" height="325" /></a></p>
<ul>
<li>Summit started at 7:30 PM (IST) evening and lasted till 3:30 AM (IST) the next day early morning. People in my conference room were all awake and listening to the presentation till the end, which was wonderful.</li>
<li>Topics discussed in the summit includes: CSS3 Progressive enhancement, CSS3 transitions and transforms, CSS and iPhone development, Sass and Compass, detecting CSS bugs and How Facebook improved its CSS files.</li>
<li>Along with the video conferencing, there was a public chat window open for the attendees to ask questions and discuss. At time, the chat window turned to be so much fun and interesting than the presentations itself. Few samples, taken from the chat window:
<ul>
<li><em><span style="color: #808080;">&#8220;Anything other than IE is a modern browser&#8221; ~ someone.</span></em></li>
<li><em><span style="color: #808080;">One lady gave a suggestion to know more about people profiles who were chatting (she meant the profession, technical background, etc). Immediately she got a reply asking A/S/L!</span></em></li>
<li><em><span style="color: #808080;">&#8220;never use CSS transformations on * selector unless you want to go ROTFL&#8221; ~ someone.</span></em></li>
</ul>
</li>
<li>There was a lot of discussion on using <em>@font-face</em>. Presenters gave several tools and tricks to use the web fonts effectively. And I&#8217;m sure <em>@font-face </em>is going to be used widely and it&#8217;ll replace the way we use fonts now in web pages.</li>
<li>Some of the tools: <a title="@FONT-FACE GENERATOR" href="http://www.fontsquirrel.com/fontface/generator">Font Squirrel</a>, <a title="Google Font API" href="http://code.google.com/apis/webfonts/">Google Font API</a> , <a title="CSS3Please" href="http://css3please.com/">CSS3Please</a>, <a title="CSS3 Gradients generator" href="http://gradients.glrzad.com/">Gradients Generator</a>, <a title="CSS3 Generator" href="http://css3generator.com/">CSS3 Generator</a>, <a title="CSS3 Tools" href="http://westciv.com/tools/">CSS3 tools</a>.</li>
<li>And, here are the presenters (follow them for some good content):
<ol>
<li>Estelle Weyl &#8211; <a href="http://twitter.com/estellevw">@estellevw</a></li>
<li>Zoe M. Gillenwater &#8211; <a href="http://twitter.com/zomigi">@zomigi</a></li>
<li>Jason CranfordTeague &#8211; <a href="http://twitter.com/JasonSpeaking">@JasonSpeaking</a></li>
<li>Denise R. Jacobs &#8211; <a href="http://twitter.com/denisejacobs">@denisejacobs</a></li>
<li>Chris Eppstein &#8211; <a href="http://twitter.com/chriseppstein">@chriseppstein</a></li>
<li>Nicole Sullivan &#8211; <a href="http://twitter.com/stubbornella">@stubbornella</a></li>
<li>Stephanie Sullivan &#8211; <a href="http://twitter.com/stefsull">@stefsull</a></li>
<li>Dave McFarland &#8211; <a href="http://twitter.com/davemcfarland">@davemcfarland</a></li>
</ol>
</li>
</ul>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1703&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2010/08/slidr-html5-app-for-making-online-presentations/" title="Slidr &#8211; HTML5 app for making online presentations">Slidr &#8211; HTML5 app for making online presentations</a></li><li><a href="http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/" title="Infinite scroll : Loading content while scrolling, using Java and JQuery">Infinite scroll : Loading content while scrolling, using Java and JQuery</a></li><li><a href="http://veerasundar.com/blog/2010/04/the-evolution-of-a-web-developer/" title="The Evolution of a Web Developer">The Evolution of a Web Developer</a></li><li><a href="http://veerasundar.com/blog/2010/02/geolocation-in-html5-browser-and-device-support/" title="Geolocation in HTML5 &#8211; browser and device support">Geolocation in HTML5 &#8211; browser and device support</a></li><li><a href="http://veerasundar.com/blog/2010/02/5-ways-of-effectively-using-firebug-to-edit-html-css/" title="5 Ways of effectively using Firebug to edit HTML, CSS">5 Ways of effectively using Firebug to edit HTML, CSS</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/07/css-summit-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Codered &#8211; Less SPAM, More Code!</title>
		<link>http://veerasundar.com/blog/2010/07/codered/</link>
		<comments>http://veerasundar.com/blog/2010/07/codered/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:24:46 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[codered]]></category>
		<category><![CDATA[cse]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1677</guid>
		<description><![CDATA[I hardly got ay response for my question about custom search engine to search only in programming related websites. I asked this because, at times I felt that I have been spending more time in Google search result pages than in the actual pages itself. As you must be knowing, Google relies on PageRank and [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I hardly got ay response for <a href="http://twitter.com/vraa/status/18991322931">my question</a> about custom search engine to search only in programming related websites. I asked this because, at times I felt that I have been spending more time in Google search result pages than in the actual pages itself.</p>
<p>As you must be knowing, Google relies on PageRank and people know how to play around with PageRank. So, I usually get less relevant results on top of the ones which has more authentic data. Apart from this, I also wanted to reduce the noise in Google SERPs for my programming related queries. That was the reason why I needed a custom search engine.</p>
<p>Since no one replied (or there was no search engines like that) to my question, I created one for myself &#8211; <a title="CODERED - Less SPAM, More Code!" href="http://veerasundar.com/app/codered/"><strong style="color: #000;">CODE<span style="color: #f00;">RED</span></strong></a>. It&#8217;s a Google custom search engine which will only search in programming related websites. Not anything innovative &#8211; Just added my favorite websites to Google&#8217;s list (which you can achieve it using <strong>site:<em>yoursitename</em></strong> filter too, manually!).</p>
<p>But which websites the <a title="CODERED - Less SPAM, More Code!" href="http://veerasundar.com/app/codered/"><strong style="color: #000;">CODE<span style="color: #f00;">RED</span></strong></a> searches? Well, currently there are <a href="http://veerasundar.com/app/codered/sites.html">few good websites</a> that I have added to <a title="CODERED - Less SPAM, More Code!" href="http://veerasundar.com/app/codered/"><strong style="color: #000;">CODE<span style="color: #f00;">RED</span></strong></a>. If you would like to add to this list (you can recommend your blog too!), please give your <a href="http://veerasundar.com/app/codered/suggest.html">suggestion here</a>. Thanks!</p>
<p>Of course, please let me know your thoughts about this.</p>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1677&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2010/07/google-is-good-but/" title="Google is good, but&#8230;">Google is good, but&#8230;</a></li><li><a href="http://veerasundar.com/blog/2010/06/css-sorter-revamped/" title="CSS Sorter &#8211; Revamped">CSS Sorter &#8211; Revamped</a></li><li><a href="http://veerasundar.com/blog/2009/08/google-caffeine-the-next-version-of-google-search/" title="Google Caffeine : The next version of Google Search">Google Caffeine : The next version of Google Search</a></li><li><a href="http://veerasundar.com/blog/2009/04/google-has-brought-the-java-to-appengine/" title="Google has brought the Java to AppEngine">Google has brought the Java to AppEngine</a></li><li><a href="http://veerasundar.com/blog/2008/11/google-searchwiki-an-answer-to-wikia/" title="Google searchWiki &#8211; an answer to Wikia?">Google searchWiki &#8211; an answer to Wikia?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/07/codered/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Infinite scroll : Loading content while scrolling, using Java and JQuery</title>
		<link>http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/</link>
		<comments>http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 18:09:16 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[infinite]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[scrolling]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1347</guid>
		<description><![CDATA[Have you seen the infinite scrolling of content in some web pages? For example, in DZone.com when you scroll the page to the bottom, new links will be loaded automatically and it&#8217;ll give you the illusion that the page scrolls infinitely. Another good example is that Bing&#8217;s Image Search. The technique is not hard to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Have you seen the infinite scrolling of content in some web pages? For example, in <a title="Dzone Links page" href="http://www.dzone.com/links/index.html">DZone.com</a> when you scroll the page to the bottom, new links will be loaded automatically and it&#8217;ll give you the illusion that the page scrolls infinitely. Another good example is that Bing&#8217;s <a href="http://www.bing.com/images/search?q=iphone&amp;go=&amp;form=QBIR">Image Search</a>.</p>
<p>The technique is not hard to implement. With the use of a single servlet and JSP, we can implement a basic functionality with infinite scroll. Before dive into code details, have a look at this demo to get a feel of it: <a title="Demo for Infinite Scroll content in Java and JQuery" href="http://vraasandbox.appspot.com/infinitcontent.jsp">Infinite Scroll Demo</a></p>
<p>To implement this, we need a servlet which will serve the dynamic content and a JSP file which will have the UI and act as a client to receive the content. Below are the code for these two files. I&#8217;m leaving other common stuffs (like web.xml entry etc) to you.</p>
<h2>Code for Servlet:</h2>
<pre class="lang:java">package com.vraa.demo;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class InfinitContentServlet extends HttpServlet {
    private static Integer counter = 1;

    protected void processRequest(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
        PrintWriter out = response.getWriter();
        try {
            String resp = "";
            for (int i = 1; i &lt;= 10; i++) {
                resp += "&lt;p&gt;&lt;span&gt;"
                        + counter++
                        + "&lt;/span&gt; This is the dynamic content served freshly from server&lt;/p&gt;";
            }
            out.write(resp);
        } finally {
            out.close();
        }
    }

    @Override
    protected void doGet(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
        processRequest(request, response);
    }

    @Override
    protected void doPost(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
        processRequest(request, response);
    }
}</pre>
<h2>Code for JSP file:</h2>
<pre class="lang:xml">&lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"&gt;

&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
        &lt;title&gt;Load content while scrolling - Infinite Scroll with Java and JQuery&lt;/title&gt;
        &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
        &lt;style type="text/css"&gt;
            body{
                font-family:Arial;
                font-size:.93em;
            }
            #content-box{
                background-color:#FAFAFA;
                border:2px solid #888;
                height:300px;
                overflow:scroll;
                padding:4px;
                width:500px;
            }
            #content-box p{
                border:1px solid #EEE;
                background-color:#F0F0F0;
                padding:3px;
            }
            #content-box p span{
                color:#00F;
                display:block;
                font:bold 21px Arial;
                float:left;
                margin-right:10px;
            }
        &lt;/style&gt;
        &lt;script type="text/javascript"&gt;
            $(document).ready(function(){
                $contentLoadTriggered = false;
                $("#content-box").scroll(function(){
                    if($("#content-box").scrollTop() &gt;= ($("#content-wrapper").height() - $("#content-box").height()) &amp;&amp; $contentLoadTriggered == false)
                    {
                        $contentLoadTriggered = true;
                        $.get("infinitContentServlet", function(data){
                            $("#content-wrapper").append(data);
                            $contentLoadTriggered = false;
                        });
                    }

                });
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Demo page: Infinite Scroll with Java and JQuery&lt;/h1&gt;
        &lt;p&gt;This page is a demo for loading new content while scrolling.&lt;/p&gt;
        &lt;p style="margin:20px 0;background-color:#EFEFEF;border:1px solid #EEE;padding:3px;"&gt;
        	Credits: Veera Sundar | &lt;a href="http://veerasundar.com"&gt;veerasundar.com&lt;/a&gt; | &lt;a href="http://twitter.com/vraa"&gt;@vraa&lt;/a&gt;
        &lt;/p&gt;
        &lt;div id="content-box"&gt;
            &lt;div id="content-wrapper"&gt;
                &lt;p&gt;&lt;span&gt;1&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare facilisis mollis. Etiam non sem massa, a gravida nunc. Mauris lectus augue, posuere at viverra sed, dignissim sed libero. &lt;/p&gt;
                &lt;p&gt;&lt;span&gt;2&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare facilisis mollis. Etiam non sem massa, a gravida nunc. Mauris lectus augue, posuere at viverra sed, dignissim sed libero. &lt;/p&gt;
                &lt;p&gt;&lt;span&gt;3&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare facilisis mollis. Etiam non sem massa, a gravida nunc. Mauris lectus augue, posuere at viverra sed, dignissim sed libero. &lt;/p&gt;
                &lt;p&gt;&lt;span&gt;4&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare facilisis mollis. Etiam non sem massa, a gravida nunc. Mauris lectus augue, posuere at viverra sed, dignissim sed libero. &lt;/p&gt;
                &lt;p&gt;&lt;span&gt;5&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ornare facilisis mollis. Etiam non sem massa, a gravida nunc. Mauris lectus augue, posuere at viverra sed, dignissim sed libero. &lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre>
<h2>How it works?</h2>
<p>The secret behind this is the <em>scrolltop</em> property. By checking this value we can determine whether the scrollbar has reached near to the bottom or not. If it reached, send an AJAX request to server to get more content and append it to the page. Look at the following two lines which does this:</p>
<pre class="lang:javascript"> $contentLoadTriggered = false;
 $("#content-box").scroll(function(){
     if($("#content-box").scrollTop() &gt;= ($("#content-wrapper").height() - $("#content-box").height()) &amp;&amp; $contentLoadTriggered == false)
     {
         $contentLoadTriggered = true;
         $.get("infinitContentServlet", function(data){
             $("#content-wrapper").append(data);
             $contentLoadTriggered = false;
         });
     }

 });</pre>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1347&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2008/08/how-to-create-a-horizontal-navigation-website-using-jquery/" title="How to create a horizontal navigation website using JQuery.">How to create a horizontal navigation website using JQuery.</a></li><li><a href="http://veerasundar.com/blog/2009/07/downloadable-fonts-in-firefox-35/" title="Downloadable fonts in Firefox 3.5">Downloadable fonts in Firefox 3.5</a></li><li><a href="http://veerasundar.com/blog/2009/02/timelinr-a-web-20-application-for-creating-timelines-online/" title="Timelinr &#8211; A web 2.0 application for creating timelines online">Timelinr &#8211; A web 2.0 application for creating timelines online</a></li><li><a href="http://veerasundar.com/blog/2008/12/i-am-a-java-developer-should-i-know-about-div/" title="I am a Java developer. Should I know about DIV ?">I am a Java developer. Should I know about DIV ?</a></li><li><a href="http://veerasundar.com/blog/2010/07/css-summit-2010/" title="CSS Summit &#8211; 2010">CSS Summit &#8211; 2010</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>CSS Sorter &#8211; Revamped</title>
		<link>http://veerasundar.com/blog/2010/06/css-sorter-revamped/</link>
		<comments>http://veerasundar.com/blog/2010/06/css-sorter-revamped/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 16:41:36 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[app-engine]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css-sorter]]></category>
		<category><![CDATA[gae]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1573</guid>
		<description><![CDATA[If you remember, some time back I had released a small Java application called CSS Sorter that sorts the Cascading Style Sheet rules alphabetically. That application was developed based on Google&#8217;s App Engine Java platform. I took that project as a learning exercise to know more about Google App Engine development and it served well [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you remember, some time back I had released a small Java application called <a title="CSS Sorter sorts the style rules alphabetically. It's a FREE online service." href="http://csssorter.appspot.com/">CSS Sorter</a> that sorts the Cascading Style Sheet rules alphabetically. That application was developed based on Google&#8217;s <a title="With App Engine, you can build web applications using standard Java technologies and run them on Google's scalable infrastructure. The Java environment provides a Java 6 JVM, a Java Servlets interface, and support for standard interfaces to the App Engine scalable datastore and services, such as JDO, JPA, JavaMail, and JCache. Standards support makes developing your application easy and familiar, and also makes porting your application to and from your own servlet environment straightforward" href="http://code.google.com/appengine/docs/java/overview.html">App Engine Java platform</a>. I took that project as a learning exercise to know more about Google App Engine development and it served well for that purpose.</p>
<p>However, the CSS Sorter tool was lacking few functionality and it had some bugs too (thanks to <a href="http://twitter.com/sonnes">@sonnes</a> for reporting <a href="http://twitter.com/sonnes/status/14147163335">one</a>). I was holding the CSS sorter revamping plan for the past few weeks, mainly because the programming in my old laptop was a pathetic experience (hope my old laptop doesn&#8217;t read this post! <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). Since now I&#8217;m a proud owner of a new <a title="Bought a new laptop" href="http://veerasundar.com/blog/2010/05/bought-a-new-laptop-acer-aspire-5738z/">powerful machine</a>, I took up the revamping and here you go &#8211; the new <a title="CSS Sorter sorts the style rules alphabetically. It's a FREE online service." href="http://csssorter.appspot.com/"><strong>CSS Sorter</strong></a>.</p>
<p><a href="http://csssorter.appspot.com/"><img class="aligncenter size-full wp-image-1578" title="css-sorter" src="http://veerasundar.com/blog/wp-content/uploads/2010/06/css-sorter.png" alt="css sorter screenshot" width="550" /></a></p>
<h2>What did I fix:</h2>
<ul>
<li>Fixed a bug, that removed the forward slashes in any URLs that are present in CSS.</li>
<li>Added new ways to input CSS files. Now you can either <em>Copy &amp; Paste </em>your CSS code or <em>Upload a CSS File </em>or <em>Enter an URL </em>which contains a CSS file.</li>
<li>Redesigned the user interface.</li>
</ul>
<p>I have few more plans also in my mind to develop. Hopefully I&#8217;ll release those soon.</p>
<p>Disclaimer: I would recommend you to take a <strong>backup</strong> of your CSS file, in case this tool mess up your CSS file after processing. <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But if you notice any bugs, please <a title="Contact me" href="http://veerasundar.com/blog/contact/">let me know</a> so that I&#8217;ll fix it.</p>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1573&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2009/04/google-has-brought-the-java-to-appengine/" title="Google has brought the Java to AppEngine">Google has brought the Java to AppEngine</a></li><li><a href="http://veerasundar.com/blog/2009/12/hosting-java-applications-in-the-web/" title="Hosting Java applications in the web">Hosting Java applications in the web</a></li><li><a href="http://veerasundar.com/blog/2010/07/codered/" title="Codered &#8211; Less SPAM, More Code!">Codered &#8211; Less SPAM, More Code!</a></li><li><a href="http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/" title="Infinite scroll : Loading content while scrolling, using Java and JQuery">Infinite scroll : Loading content while scrolling, using Java and JQuery</a></li><li><a href="http://veerasundar.com/blog/2010/05/google-wave-opened-to-public-are-you-using-it/" title="Google Wave opened to public &#8211; are you using it?">Google Wave opened to public &#8211; are you using it?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/06/css-sorter-revamped/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Evolution of a Web Developer</title>
		<link>http://veerasundar.com/blog/2010/04/the-evolution-of-a-web-developer/</link>
		<comments>http://veerasundar.com/blog/2010/04/the-evolution-of-a-web-developer/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:09:52 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1457</guid>
		<description><![CDATA[If you are learning something new , be it a programming language, photography, driving a car &#8211; you name it, you get to learn the very basics first. And then you slowly move upwards the learning curve and start learning the best practices and pit falls. Finally you tend to master the art and bring [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you are learning something new , be it a programming language, photography, driving a car &#8211; you name it, you get to learn the very basics first. And then you slowly move upwards the learning curve and start learning the best practices and pit falls. Finally you tend to master the art and bring your own ways of doing it.</p>
<p>In the same way, a web developer might evolve progressively in web development. What I think as the different stages in an web developer&#8217;s evolution are:</p>
<ol>
<li><strong>HTML + &lt;font&gt; Stage </strong>- uses simple, plain HTML and the &lt;font&gt; and similar tags to design the site layout and look and feel.</li>
<li><strong>HTML + Inline CSS + In file JavaScripts stage</strong>- starts using Cascading Style Sheets to separate the content from style and a basic JavaScript to validate inputs. Heavily depends on <em>prompt </em>and <em>message box </em>for communicating with site user.</li>
<li><strong>HTML + External CSS + External JS stage</strong><strong> </strong>- intermediate stage where the developers learns to separate the content from the functionality and design. But still often <em>re invents </em>the wheel, by avoiding to use language frameworks.</li>
<li><strong>HTML + CSS/JS Frameworks + AJAXified stage </strong>- has a wide knowledge about several web frameworks and using them in projects. Try to solve any problem using AJAX (even <em>Hello World </em>can&#8217;t escape!). Builds the site for high end browsers (Chrome, etc.) first and the fix it for the low end browsers (IE5, etc) .</li>
<li><strong>HTML 4.01 + Progressive Enhancement stage &#8211; </strong>builds the site for the low end browsers first and slowly introduce the enhancements (CSS, JS, etc.) in step by step. Always try to comply with the web standards. Puts the graceful degradation as important as the complete functionality of the site.</li>
</ol>
<p>So, At what stage are you in?</p>
<div class="linkad">Become a successful developer with <a href="http://www.testking.com/70-649.htm">testking 70-649</a> training course. Learn all the basics of web development using <a href="http://www.testking.com/1Y0-A17.htm">testking 1Y0-A17</a> tutorials and <a href="http://www.testking.com/PMI-001.htm">testking PMI-001</a> study guides.</div>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1457&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2010/07/css-summit-2010/" title="CSS Summit &#8211; 2010">CSS Summit &#8211; 2010</a></li><li><a href="http://veerasundar.com/blog/2010/07/infinite-scroll-loading-content-while-scrolling-using-java-and-jquery/" title="Infinite scroll : Loading content while scrolling, using Java and JQuery">Infinite scroll : Loading content while scrolling, using Java and JQuery</a></li><li><a href="http://veerasundar.com/blog/2010/02/5-ways-of-effectively-using-firebug-to-edit-html-css/" title="5 Ways of effectively using Firebug to edit HTML, CSS">5 Ways of effectively using Firebug to edit HTML, CSS</a></li><li><a href="http://veerasundar.com/blog/2009/07/downloadable-fonts-in-firefox-35/" title="Downloadable fonts in Firefox 3.5">Downloadable fonts in Firefox 3.5</a></li><li><a href="http://veerasundar.com/blog/2009/02/timelinr-a-web-20-application-for-creating-timelines-online/" title="Timelinr &#8211; A web 2.0 application for creating timelines online">Timelinr &#8211; A web 2.0 application for creating timelines online</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/04/the-evolution-of-a-web-developer/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>HTML5 Video in Internet Explorer</title>
		<link>http://veerasundar.com/blog/2010/02/html5-video-in-internet-explorer/</link>
		<comments>http://veerasundar.com/blog/2010/02/html5-video-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:58:03 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1422</guid>
		<description><![CDATA[If at all there is one player who is running late in the web race, it is Internet Explorer. The web standards support is different in IE when compared with other modern browsers. When it comes to HTML5, IE lags further behind. Developers are started experimenting HTML5 in their projects. Most of the modern browsers, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If at all there is one player who is running late in the web race, it is Internet Explorer. The web standards support is different in IE when compared with other modern browsers. When it comes to HTML5, IE lags further behind.</p>
<p>Developers are started experimenting HTML5 in their projects. Most of the modern browsers, like Chrome, Firefox, have already ported their browsers to support HTML5 features. But, Internet Explorer is yet to make a step in that direction. The <a title="Does Internet Explorer 8 support HTML 5?" href="http://stackoverflow.com/questions/289225/does-internet-explorer-8-support-html-5" target="_blank">HTML5 support in Internet Explorer 8</a> (the latest version of the browser) is very limited, which includes only bug fixes but not any new HTML5 feature.</p>
<p>But if you are stuck with Internet Explorer for any reason (if you are in a corporate network) but still want to experience the HTML5 features, you can make use of the <a title="Google Chrome Frame is an early-stage open source plug-in that seamlessly brings Google Chrome's open web technologies and speedy JavaScript engine to Internet Explorer." href="http://code.google.com/chrome/chromeframe/" target="_blank">Google Chrome Frame</a> plug-in. It is an open source technology that brings the Google Chrome&#8217;s engine to Internet Explorer. So, you can enjoy all HTML5 features inside your Internet Explorer.</p>
<p>Similar to Chrome Frame, <em>Cristian Adam</em> is developing a <code>&lt;video&gt;</code> plug-in for Internet Explorer. The <a title="Xiph.Org Ogg Codecs - HTML5 video in Internet Explorer" href="http://xiph.org/dshow/downloads/" target="_blank">Xiph.Org Ogg Codecs</a> enables the HTML5 video support in Internet Explorer. You can download the codec installer (1.10 Mb) and install it in your system to test the feature. Since the plug-in is in the early stages of development, it only supports video playback. There are no navigation controls yet.</p>
<p>Btw, you can view <a title="HTML5 videos in Youtube - join the beta" href="http://www.youtube.com/html5" target="_blank">HTML5 videos in Youtube</a> by joining the beta program.</p>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1422&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2009/09/google-chrome-frame-enabling-html-5-in-internet-explorer/" title="Google Chrome Frame : enabling HTML 5 in Internet Explorer">Google Chrome Frame : enabling HTML 5 in Internet Explorer</a></li><li><a href="http://veerasundar.com/blog/2010/08/slidr-html5-app-for-making-online-presentations/" title="Slidr &#8211; HTML5 app for making online presentations">Slidr &#8211; HTML5 app for making online presentations</a></li><li><a href="http://veerasundar.com/blog/2010/07/css-summit-2010/" title="CSS Summit &#8211; 2010">CSS Summit &#8211; 2010</a></li><li><a href="http://veerasundar.com/blog/2010/02/geolocation-in-html5-browser-and-device-support/" title="Geolocation in HTML5 &#8211; browser and device support">Geolocation in HTML5 &#8211; browser and device support</a></li><li><a href="http://veerasundar.com/blog/2009/06/html-5-canvas-element/" title="HTML 5 Canvas element">HTML 5 Canvas element</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/02/html5-video-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Ways of effectively using Firebug to edit HTML, CSS</title>
		<link>http://veerasundar.com/blog/2010/02/5-ways-of-effectively-using-firebug-to-edit-html-css/</link>
		<comments>http://veerasundar.com/blog/2010/02/5-ways-of-effectively-using-firebug-to-edit-html-css/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 07:36:09 +0000</pubDate>
		<dc:creator>Veera</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://veerasundar.com/blog/?p=1298</guid>
		<description><![CDATA[Firebug is an inseperable tool in any Web developer&#8217;s toolbox. It&#8217;s one of the best things that happened to JavaScript and Web Development. I have been using Firebug for a long time and have been wondering how my web development would be if there is no Firebug. So, in this article, I&#8217;m sharing few of [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Firebug is an inseperable tool in any Web developer&#8217;s toolbox. It&#8217;s one of the best things that happened to JavaScript and Web Development. I have been using Firebug for a long time and have been wondering how my web development would be if there is no Firebug. So, in this article, I&#8217;m sharing few of my tips and tricks to use Firebug effectively to speed up your web development.</p>
<h2>1. Visually modifying page layout in Firebug</h2>
<p>Firebug&#8217;s <em>Layout </em>panel let&#8217;s you to examine the selected element&#8217;s height, width and other position related attributes in a visual manner. Apart from showing the positional attribute values, the <em>Layout </em>panel allows you to edit the values directly from the panel. To edit a value, just click on it and the modified value will be reflected immediately on the page.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1305" title="Visually modifying page layout using Firebug" src="http://veerasundar.com/blog/wp-content/uploads/2010/02/firebug_layout.png" alt="Visually modifying page layout using Firebug" width="294" height="223" /></p>
<h2>2. See the computed styles for an element</h2>
<p>As you might have known, CSS apply styles in a cascading manner (after all, it is <em>cascading</em> style sheet, isn&#8217;t it?). I.e. The styles that are defined for the parent element will be applied to all of it&#8217;s child elements too. But, the child element is allowed to override any of the parent styles and define its own styles. Thus, the final set of style attributes which are applied to an element is always changed at the run time. To view the final style attributes, which are calculated after applying all the inherited style definitions, are displayed in the <em>Computed</em> panel. Please note that it is not possible to edit any attribute from this panel.</p>
<p><img class="aligncenter size-full wp-image-1306" title="See the computed styles for an element" src="http://veerasundar.com/blog/wp-content/uploads/2010/02/firebug_computed.png" alt="See the computed styles for an element" width="334" height="231" /></p>
<h2>3. Find out which CSS file is the black sheep</h2>
<p>Some times it becomes very difficult to figure out which CSS definition is affecting a element style. When more than one CSS files are being used in a single page, then it becomes even more difficult. In such scenarios, Firebug could be used to identify the CSS file name from which an CSS style definition is being taken. For example, in the below screenshot you can see that the particular page uses two CSS files (<em>screen.css</em> and <em>reset.css</em>) and the <em>Style</em> panel clearly displays which style is taken from which CSS file. The overridden styles are striked out. The <em>Style</em> panel also links to the URL of the style file being used, so it is easy for us to get the entire CSS file if needed.</p>
<p><img class="aligncenter size-full wp-image-1308" title="Find out which CSS file is the black sheep" src="http://veerasundar.com/blog/wp-content/uploads/2010/02/firebug_multi_styles.png" alt="Find out which CSS file is the black sheep" width="537" height="282" /></p>
<h2>4. Not just edit CSS, edit HTML too</h2>
<p>Firebug <em>Style</em> panel lets you to edit any CSS attribute and view the results immediately. Firebug can be used to edit the HTML content also. To do it, right click on the tag which you want to edit in the <em>HTML</em> panel and then select <code>Edit HTML</code> (or, just double click on the element). Firebug opens the inner HTML of the element you selected in edit mode. The changes you make will be visible on the page immediately.</p>
<p><img class="aligncenter size-full wp-image-1309" title="Not just edit CSS, edit HTML too" src="http://veerasundar.com/blog/wp-content/uploads/2010/02/firebug_edit-e1265179743540.png" alt="Not just edit CSS, edit HTML too" width="394" height="105" /></p>
<h2>5. Jump to the element you are editing</h2>
<p>This is a nifty option for quickly navigating to the element that you are currently working. While editing a HTML element, right from the <em>HTML</em> panel, you can easily bring that element into view by right clicking and selecting <em>Scroll into view</em>.</p>
<p><img class="aligncenter size-full wp-image-1310" title="Jump to the element you are editing" src="http://veerasundar.com/blog/wp-content/uploads/2010/02/firebug_scroll_view-e1265179923269.png" alt="Jump to the element you are editing" width="376" height="361" /></p>
<div class="linkad">Become IT expert with <a href="http://www.testking.com/350-001.htm">testking 350-001</a> training course. Get the latest <a href="http://www.testking.com/SY0-201.htm">testking SY0-201</a> css tutorials and <a href="http://www.testking.com/642-901.htm">testking 642-901</a> study guide to learn about different web applications.</div>
<img src="http://veerasundar.com/blog/?ak_action=api_record_view&id=1298&type=feed" alt="" /><h2  class="related_post_title">Related Articles (System generated)</h2><ul class="related_post"><li><a href="http://veerasundar.com/blog/2009/07/downloadable-fonts-in-firefox-35/" title="Downloadable fonts in Firefox 3.5">Downloadable fonts in Firefox 3.5</a></li><li><a href="http://veerasundar.com/blog/2009/02/timelinr-a-web-20-application-for-creating-timelines-online/" title="Timelinr &#8211; A web 2.0 application for creating timelines online">Timelinr &#8211; A web 2.0 application for creating timelines online</a></li><li><a href="http://veerasundar.com/blog/2008/12/i-am-a-java-developer-should-i-know-about-div/" title="I am a Java developer. Should I know about DIV ?">I am a Java developer. Should I know about DIV ?</a></li><li><a href="http://veerasundar.com/blog/2008/08/how-to-create-a-horizontal-navigation-website-using-jquery/" title="How to create a horizontal navigation website using JQuery.">How to create a horizontal navigation website using JQuery.</a></li><li><a href="http://veerasundar.com/blog/2010/07/css-summit-2010/" title="CSS Summit &#8211; 2010">CSS Summit &#8211; 2010</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://veerasundar.com/blog/2010/02/5-ways-of-effectively-using-firebug-to-edit-html-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
