<?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>WiseCodes &#187; HTML</title>
	<atom:link href="http://www.wisecodes.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wisecodes.com</link>
	<description>Bringing You The Power of Code !!</description>
	<lastBuildDate>Wed, 01 Sep 2010 19:33:53 +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>Five reasons why HTML5 is much better to Flash</title>
		<link>http://www.wisecodes.com/2010/06/five-reasons-why-html5-is-much-better-to-flash/</link>
		<comments>http://www.wisecodes.com/2010/06/five-reasons-why-html5-is-much-better-to-flash/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:42:30 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=924</guid>
		<description><![CDATA[If the war was popular in internet browsers, then the standards, now is the HTML5 versus Flash . Which is better? &#8211; Why prefer one over another? I think HTML5 is the future. I also believe that Flash has always been a nuisance rather than an asset (and I think since 1999, eight years before [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.wisecodes.com/wp-content/uploads/2010/06/html5.jpg"><img class="size-medium wp-image-925 aligncenter" title="html5" src="http://www.wisecodes.com/wp-content/uploads/2010/06/html5-300x240.jpg" alt="" width="300" height="240" /></a>If the war was popular in internet browsers, then the standards, now is the HTML5 versus Flash . Which is better? &#8211; Why prefer one over another? I think HTML5 is the future. I also believe that Flash has always been a nuisance rather than an asset (and I think since 1999, eight years before it becomes a problem on the table by Apple ).</p>
<p>I believe the right way is to develop on HTML5 for everyone involved, and these are my five reasons why it is better to Flash:</p>
<ol>
<li>It is native. No need for plugins , extra amenities or load external components to the browser. Flash, unfortunately, being heavy and often need to consume so many resources faster the battery and use a large percentage of the processor.</li>
<li> It does not belong to anyone, is a <a href="http://en.wikipedia.org/wiki/Markup_language"><em><strong>markup language</strong></em></a> that can be used by anyone and is supported by all modern browsers. Flash, however, is the owner, serves the interests of one company, Adobe. May be altered to taste them if needed (for whatever reason, economic, by company policy, etc.)</li>
<li> Maintains the overall user experience the web, run the previous and next buttons in the browser, does not operate within a &#8220;sandbox&#8221; as with Flash, is not limited to the area assigned to the plugin.</li>
<li> All items with all effects and all hierarchies needed to build a fully functional graphical interface to support a web application is 100% possible using HTML5 + CSS + Javascript. Flash was used as a replacement. Gmail is the perfect example. Even more so if viewed from a mobile device. Did you know that the version of Gmail for IPAD is much higher than the native application made by Apple?</li>
<li> Adaptable, flexible, scalable platform. While insisting Adobe, Flash on mobile phones remains a goal too far, meanwhile build interfaces for the desktop or the mobile is quite real today on the two platforms.</li>
</ol>
<p>Is there hope for Flash? Of course, but not in the platform development of applications or in building web sites made of 100% with this plugin. I think that Flash works well for games and animation elements for certain very particular, very far away from this &#8220;solution for anything&#8221; that Adobe (or Macromedia before being acquired) tried to sell for years.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2010/06/five-reasons-why-html5-is-much-better-to-flash/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2010/06/five-reasons-why-html5-is-much-better-to-flash/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2010/06/five-reasons-why-html5-is-much-better-to-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doodle.js, library for working with canvas</title>
		<link>http://www.wisecodes.com/2009/07/doodle-js-library-for-working-with-canvas/</link>
		<comments>http://www.wisecodes.com/2009/07/doodle-js-library-for-working-with-canvas/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 20:43:39 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=621</guid>
		<description><![CDATA[Doodle.js is a library that allows us to easily work with the element &#60;canvas /&#62; and everything that entails. With a similar aesthetic to jQuery, drawing on the canvas that is &#60;canvas /&#62; is as simple as this: &#60;head&#62; &#60;!--[if IE]&#62;&#60;script type=&#34;text/javascript&#34; src=&#34;http://explorercanvas.googlecode.com/svn/trunk/excanvas.js&#34;&#62;&#60;/script&#62;&#60;![endif]--&#62; &#60;script src=&#34;./doodle-0.1.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34;&#62; function init() { (function(oo) { oo.canvas('#my_canvas'); oo.rect({x:25, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lamberta.org/blog/doodle/" target="_blank">Doodle.js</a> is a library that allows us to easily work with the element &lt;canvas /&gt; and <a href="http://www.wisecodes.com/2009/06/detection-of-faces-on-canvas-with-javascript/" target="_blank">everything that entails</a>. With a similar aesthetic to jQuery, <a href="http://www.wisecodes.com/tag/canvas/" target="_blank">drawing on the canvas that is</a> &lt;canvas /&gt; is as simple as this:</p>
<pre class="brush: xml;">

  &lt;head&gt;
  &lt;!--[if IE]&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://explorercanvas.googlecode.com/svn/trunk/excanvas.js&quot;&gt;&lt;/script&gt;&lt;![endif]--&gt;
  &lt;script src=&quot;./doodle-0.1.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
    function init() {
      (function(oo) {
  oo.canvas('#my_canvas');
  oo.rect({x:25, y:25, width:50, height:50}).draw();

})($doodle);

    };
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;!--init() is called when the canvas is ready for us.--&gt;
  &lt;body onload=&quot;javascript:init();&quot;&gt;
    &lt;canvas id=&quot;my_canvas&quot; width=&quot;600&quot; height=&quot;400&quot;&gt;
      &lt;p&gt;Fallback: Canvas element is not supported in this browser!&lt;/p&gt;
    &lt;/canvas&gt;
  &lt;/body&gt;
</pre>
<h4>Examples</h4>
<p>Do not miss some of the examples available on the homepage of the library:<br />
<a href="http://www.lamberta.org/demo/js/doodle/examples/01/spiral.html" target="_blank"> Spiral multicolor</a><br />
<a href="http://www.lamberta.org/demo/js/doodle/examples/01/bouncy.html" target="_blank"> Rebounds multiple</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/07/doodle-js-library-for-working-with-canvas/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/07/doodle-js-library-for-working-with-canvas/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/07/doodle-js-library-for-working-with-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proposal subtitle for HTML5 video tag</title>
		<link>http://www.wisecodes.com/2009/07/proposal-subtitle-for-html5-video-tag/</link>
		<comments>http://www.wisecodes.com/2009/07/proposal-subtitle-for-html5-video-tag/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 18:44:05 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=598</guid>
		<description><![CDATA[In Ginger&#8217;s Thoughts I read a very interesting proposal which I believe is that in just a proposal. Although the idea is very good and it might be interesting to have this in the new HTML5. The proposal is for December 2008 and so far no developments. The idea is to include the tag HTML5&#8242;s [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://blog.gingertech.net/2008/12/12/attaching-subtitles-to-html5-video/" target="_blank">Ginger&#8217;s Thoughts I read a very interesting proposal</a> which I believe is that in just a proposal. Although the idea is very good and it might be interesting to have this in the new HTML5. The proposal is for December 2008 and so far no developments.<br />
The idea is to include the tag  HTML5&#8242;s ability to handle subtitles:</p>
<pre class="brush: xml;">
&lt;video src=&quot;http://example.com/video.ogv&quot; controls&gt;
&lt;text category=&quot;CC&quot; lang=&quot;en&quot; type=&quot;text/x-srt&quot; src=&quot;caption.srt&quot;&gt;&lt;/text&gt;
&lt;text category=&quot;SUB&quot; lang=&quot;de&quot; type=&quot;application/ttaf+xml&quot; src=&quot;german.dfxp&quot;&gt;&lt;/text&gt;
&lt;text category=&quot;SUB&quot; lang=&quot;jp&quot; type=&quot;application/smil&quot; src=&quot;japanese.smil&quot;&gt;&lt;/text&gt;
&lt;text category=&quot;SUB&quot; lang=&quot;fr&quot; type=&quot;text/x-srt&quot; src=&quot;translation_webservice/fr/caption.srt&quot;&gt;&lt;/text&gt;
&lt;/video&gt;
</pre>
<p>As we can see in the above code, we would be including the text tag  that would allow us to establish the lang attribute of the subtitle language and select it from your control in your browser (the preset default language of your browser) .</p>
<p><strong>The tag <span style="font-family: mceinline;">&lt;text /&gt;</span></strong><br />
Only indicate the location of the subtitle file to load src indicating the language lang and type type of a subtitle that we carry.</p>
<p><strong>For now &#8230;</strong><br />
At the moment <a href="http://www.w3.org/2008/12/dfxp-testsuite/web-framework/HTML5_player.js" target="_blank">we can make use of SRT jQuert</a> to <a href="http://www.bluishcoder.co.nz/2008/12/srt-subtitles-with-html5-video.html" target="_blank">simulate the result with Javascript</a>.</p>
<pre class="brush: xml;">
&lt;!-- Javascript --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.srt.js&quot;&gt;&lt;/script&gt;

&lt;!-- HTML  --&gt;
&lt;video src=&quot;http://example.com/video.ogv&quot; id=&quot;video&quot; controls&gt;
&lt;div class=&quot;srt&quot;
data-video=&quot;video&quot;
data-srt=&quot;http://example.com/video.srt&quot; /&gt;
</pre>
<p>The idea is interesting when the films arrive officially to the Internet. Huh?</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/07/proposal-subtitle-for-html5-video-tag/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/07/proposal-subtitle-for-html5-video-tag/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/07/proposal-subtitle-for-html5-video-tag/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>YouTube HTML5 Demo</title>
		<link>http://www.wisecodes.com/2009/06/youtube-html5-demo/</link>
		<comments>http://www.wisecodes.com/2009/06/youtube-html5-demo/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 18:27:24 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=566</guid>
		<description><![CDATA[A page that demonstrates the ability to show videos HTML5 without using Flash for this. Obviously, it is necessary to use a browser compatible with HTML5 to see it properly. Link: http://www.youtube.com/html5 External Link: What is HTML5 via WiseCodes Share on Facebook]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/html5" target="_blank">A page</a> that demonstrates the ability to show videos <a href="http://www.wisecodes.com/2009/06/what-is-html5/" target="_blank">HTML5</a> without using Flash for this. Obviously, it is necessary to use a browser compatible with HTML5 to see it properly.<br />
Link: <a href="http://www.youtube.com/html5" target="_blank">http://www.youtube.com/html5</a></p>
<p>External Link: <a href="http://www.wisecodes.com/2009/06/what-is-html5/" target="_blank">What is HTML5 via WiseCodes</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/youtube-html5-demo/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/youtube-html5-demo/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/06/youtube-html5-demo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Javascript Image combobox, give your life to select</title>
		<link>http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/</link>
		<comments>http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 18:03:22 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=546</guid>
		<description><![CDATA[Javascript Image ComboBox is a jQuery plugin that allows our items &#60;select/&#62; have a life that until now could not have. This is an extension that allows items of &#60;select /&#62; have an image to facilitate the selection of items within a list of options. To do this using an attribute (not standard) element &#60;option [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://marghoobsuleman.com/jquery-image-dropdown" target="_blank">Javascript Image ComboBox</a> is a jQuery plugin that allows our items &lt;select/&gt; have a life that until now could not have.</p>
<p><a rel="attachment wp-att-547" href="http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/comboboximage_030608/"><img class="alignnone size-full wp-image-547" title="comboboximage_030608" src="http://www.wisecodes.com/wp-content/uploads/2009/06/comboboximage_030608.jpg" alt="comboboximage_030608" width="211" height="149" /></a></p>
<p>This is an extension that allows items of &lt;select /&gt; have an image to facilitate the selection of items within a list of options.<br />
To do this using an attribute (not standard) element &lt;option /&gt; named icon which will indicate where we&#8217;ll take the image next to &lt;option /&gt;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p546code3'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5463"><td class="code" id="p546code3"><pre class="html" style="font-family:monospace;"> &lt;select name=&quot;webmenu&quot; id=&quot;webmenu&quot; onchange=&quot;showValue(this.value)&quot;&gt;
    &lt;option value=&quot;calendar&quot; icon=&quot;icons/icon_calendar.gif&quot;&gt;Calendar&lt;/option&gt;
    &lt;option value=&quot;shopping_cart&quot; icon=&quot;icons/icon_cart.gif&quot;&gt;Shopping Cart&lt;/option&gt;
    &lt;option value=&quot;cd&quot; icon=&quot;icons/icon_cd.gif&quot;&gt;CD&lt;/option&gt;
    &lt;option value=&quot;email&quot;  selected=&quot;selected&quot; icon=&quot;icons/icon_email.gif&quot;&gt;Email&lt;/option&gt;
    &lt;option value=&quot;faq&quot; icon=&quot;icons/icon_faq.gif&quot;&gt;FAQ&lt;/option&gt;
    &lt;option value=&quot;games&quot; icon=&quot;icons/icon_games.gif&quot;&gt;Games&lt;/option&gt;
    &lt;option value=&quot;music&quot; icon=&quot;icons/icon_music.gif&quot;&gt;Music&lt;/option&gt;
    &lt;option value=&quot;phone&quot; icon=&quot;icons/icon_phone.gif&quot;&gt;Phone&lt;/option&gt;
    &lt;option value=&quot;graph&quot; icon=&quot;icons/icon_sales.gif&quot;&gt;Graph&lt;/option&gt;
    &lt;option value=&quot;secured&quot; icon=&quot;icons/icon_secure.gif&quot;&gt;Secured&lt;/option&gt;
    &lt;option value=&quot;video&quot; icon=&quot;icons/icon_video.gif&quot;&gt;Video&lt;/option&gt;
  &lt;/select&gt;</pre></td></tr></table></div>

<p>After a line of JavaScript with this attribute will be housed within an image &lt;select /&gt;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p546code4'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5464"><td class="code" id="p546code4"><pre class="javascript" style="font-family:monospace;"> MSDropDown.<span style="color: #660066;">init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>If you want to see a demo of how to be, you can <a href="http://marghoobsuleman.com/mywork/jcomponents/customdropdown/dropDownCustom.html" target="_blank">take a look here.</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/06/javascript-image-combobox-give-your-life-to-select/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mastered the accordion with MooTools</title>
		<link>http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/</link>
		<comments>http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:50:38 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=515</guid>
		<description><![CDATA[Call accordion those dynamic elements of our Web pages that show an item to move the mouse (or click on it) to conceal the other components. This technique very convenient for displaying large amounts of information in a small space usually give a headache to match all the information. With BySlideMenu never have problems. This [...]]]></description>
			<content:encoded><![CDATA[<p>Call <a href="http://en.wikipedia.org/wiki/Accordion" target="_blank">accordion</a> those dynamic elements of our Web pages that show an item to move the mouse (or click on it) to conceal the other components. This technique very convenient for displaying large amounts of information in a small space usually give a headache to match all the information.</p>
<p><a rel="attachment wp-att-516" href="http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/byslidermenu_030608/"><img class="alignnone size-full wp-image-516" title="byslidermenu" src="http://www.wisecodes.com/wp-content/uploads/2009/06/byslidermenu_030608.jpg" alt="byslidermenu" width="454" height="227" /></a></p>
<p>With <a href="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu" target="_blank">BySlideMenu</a> never have problems. This is a MooTools plugin that allows us to make a wide variety of accordions, with very few lines of code.</p>
<h3>HTML:</h3>
<p>The HTML code we use to generate our accordion will be based on a list of elements:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p515code7'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5157"><td class="code" id="p515code7"><pre class="html" style="font-family:monospace;">&lt;ul id=&quot;pinclickmenu&quot;&gt;
    &lt;li&gt;&lt;img src=&quot;creditcards.jpg&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;games.jpg&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;computer.jpg&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;eiffeltower.jpg&quot; /&gt;&lt;/li&gt;
    &lt;li&gt;&lt;img src=&quot;electronic.jpg&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;</pre></td></tr></table></div>

<p>Each <strong><em>&lt;li/&gt;</em></strong> will be one of the elements that make up the accordion.</p>
<h3>JavaScript:</h3>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p515code8'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5158"><td class="code" id="p515code8"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> pinclickmenu <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> BySlideMenu<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'pinclickmenu'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>pinMode<span style="color: #339933;">:</span> <span style="color: #3366CC;">'click'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>As we see fewer lines is impossible <img src='http://www.wisecodes.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>Demos and Downloads:</h3>
<p>You can <a href="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu" target="_blank">see more demos and download</a> the plugin from the project page.</p>
<p>Happy Programming!!! <img src='http://www.wisecodes.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/06/mastered-the-accordion-with-mootools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What is HTML5</title>
		<link>http://www.wisecodes.com/2009/06/what-is-html5/</link>
		<comments>http://www.wisecodes.com/2009/06/what-is-html5/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:10:20 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Learn]]></category>

		<guid isPermaLink="false">http://www.wisecodes.com/?p=509</guid>
		<description><![CDATA[HTML 5 (Hyper Text M Language Version 5) is the fifth largest in the revision of basic language World Wide Web, HTML. HTML 5 specifies two variants of the same language: a &#8216;classic&#8217; HTML text/html the variant known as HTML 5 and a variant XHTML called XHTML 5. This is the first time in HTML [...]]]></description>
			<content:encoded><![CDATA[<p>HTML 5 (Hyper Text M Language Version 5) is the fifth largest in the revision of basic language World Wide Web, HTML. HTML 5 specifies two variants of the same language: a &#8216;classic&#8217; HTML text/html the variant known as HTML 5 and a variant XHTML called XHTML 5. This is the first time in HTML and XHTML have been developed in parallel.<br />
The development of this code is governed by the Consortium <a href="http://en.wikipedia.org/wiki/W3C" target="_blank">W3C</a>.</p>
<h3><span style="text-decoration: underline;">New Elements</span></h3>
<p>HTML 5 provides a number of new elements and attributes that reflect the typical use of modern web sites. Some of them are technically similar to the labels<br />
<strong><em>&lt;div&gt;</em></strong> and <strong><em>&lt;span&gt;</em></strong> but have a semantic meaning, eg <strong><em>&lt;mav&gt;</em></strong> (block site navigation) and <strong><em>&lt;footer&gt;</em></strong> Other elements provide new functionality through an interface such as elements <strong><em>&lt;audio&gt;</em></strong> and <strong><em>&lt;video&gt;</em></strong><br />
Some elements of HTML 4.01 are obsolete, including purely presentation as <strong><em>&lt;font&gt;</em></strong> and <strong><em>&lt;center&gt;</em></strong> whose effects are handled by the CSS. There is also a renewed emphasis on the importance of scripting <a href="http://en.wikipedia.org/wiki/Document_Object_Model" target="_blank">DOM</a> for behavior on the web.</p>
<p><strong><span style="text-decoration: underline;">HTML 4</span></strong></p>
<p><a rel="attachment wp-att-570" href="http://www.wisecodes.com/2009/06/what-is-html5/html4/"><img class="alignnone size-full wp-image-570" title="html4" src="http://www.wisecodes.com/wp-content/uploads/2009/06/html4.jpg" alt="html4" width="450" height="225" /></a></p>
<p><strong><span style="text-decoration: underline;">HTML 5</span></strong></p>
<p><a rel="attachment wp-att-571" href="http://www.wisecodes.com/2009/06/what-is-html5/html5/"><img class="alignnone size-full wp-image-571" title="html5" src="http://www.wisecodes.com/wp-content/uploads/2009/06/html5.jpg" alt="html5" width="450" height="225" /></a></p>
<p>External Link: via <a href="http://dev.w3.org/html5/spec/Overview.html" target="_blank">W3C</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/what-is-html5/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/06/what-is-html5/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/06/what-is-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi-Language In Any Web Page With Google API</title>
		<link>http://www.wisecodes.com/2009/03/mulit-language-in-any-web-page-with-google-api/</link>
		<comments>http://www.wisecodes.com/2009/03/mulit-language-in-any-web-page-with-google-api/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 14:06:09 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Mulit-Language]]></category>

		<guid isPermaLink="false">http://www.code.venuthomas.net/?p=212</guid>
		<description><![CDATA[Multi-language In Any Web Page (HTML, PHP, ASP.NET etc) With Google API Demo &#160;&#160;&#160;&#160;&#160;Download Code Mostly Web Programmers Multilanguage in ASP.NET is by using Localization &#38; Resource rules. But this rule cant use with HTML, PHP etc. Now I&#8217;m changing to new rules with Google AJAX Language API. It is very useful for programmers. Click here [...]]]></description>
			<content:encoded><![CDATA[<h3>Multi-language In Any Web Page (HTML, PHP, ASP.NET etc) With Google API</h3>
<p><a href="http://www.code.venuthomas.net/Code/MultiLanguageInWebPage/" target="_blank"><img class="alignnone size-full wp-image-18" title="live_preview" src="http://www.wisecodes.com/wp-content/uploads/2009/02/live_preview.png" alt="live_preview" /> <strong>Demo</strong></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.code.venuthomas.net/Code/MultiLanguageInWebPage/MultiLanguageInWebPage.zip" target="_blank"><span style="color: #000000;"><span style="text-decoration: none;"><img class="alignnone size-full wp-image-29" title="download" src="http://www.wisecodes.com/wp-content/uploads/2009/02/download.gif" alt="download" />Download Code</span></span></a></p>
<p>Mostly Web Programmers Multilanguage in ASP.NET is by using Localization &amp; Resource rules. But this rule cant use with HTML, PHP etc.  Now I&#8217;m changing to new rules with Google AJAX Language API. It is very useful for programmers.  <a href="http://msdn.microsoft.com/en-us/library/fw69ke6f(VS.80).aspx" target="_blank">Click here to read about Localization &amp; Resource</a></p>
<h3>Advantage &amp; Disadvantage</h3>
<p><strong>Advantage:</strong><br />
1: Reduce programming time<br />
2. Reduce file size, In Localization &amp; Resource rules, we need resource files by each language<br />
3. No need to find meaning of unknown language for creating site<br />
4. Only one language to store in XML or..5. No need C# &amp; VB.NET.</p>
<p><strong>Disadvantage:</strong><br />
1. Need Internet connection for connecting to Google AJAX Language API&#8217;s Script</p>
<p><a href="http://code.google.com/apis/ajaxlanguage/documentation/" target="_blank">Click here to read about Google Language AJAX API.</a><br />
I have a sample program as below. I Hope you will understood.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p212code10'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p21210"><td class="code" id="p212code10"><pre class="html" style="font-family:monospace;">&nbsp;
    &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/jsapi&quot;&gt;&lt;/script&gt;
&nbsp;
&lt;script type=&quot;text/javascript&quot;&gt;
&nbsp;
google.load(&quot;language&quot;, &quot;1&quot;);
&nbsp;
&nbsp;
function fnTrans(strTransText,strTransField, strTransFLang, strTransTLang)
{
 // Translation
 google.language.translate(strTransText, strTransFLang, strTransTLang, function(result) {
          var strcontainer = document.getElementById(strTransField);
          strcontainer.innerHTML = result.translation ;
&nbsp;
      });
}
&nbsp;
function initialize(strToTxtBox, strFromTxtBox) {
&nbsp;
 // Translate English to German
&nbsp;
 strFLang = 'en' //English
 strTLang = 'de' //German
&nbsp;
 var strText = document.getElementById(strFromTxtBox).innerHTML; //Get Lable Name
&nbsp;
 fnTrans(strText,strToTxtBox, strFLang,strTLang)
&nbsp;
}
&nbsp;
 function fnhi()
  {
&nbsp;
  initialize('ToLableName_FN', 'FrmLableName_FN' ); // First Name
&nbsp;
  initialize('ToLableName_LN', 'FrmLableName_LN' ); // Last Name
&nbsp;
  }
&lt;/script&gt;
&nbsp;
  &lt;/head&gt;
  &lt;body onload=&quot;fnhi()&quot;&gt;
&nbsp;
      &lt;label id=&quot;FrmLableName_FN&quot; &gt;First Name&lt;/label&gt;
      &lt;br /&gt;
  &lt;label id=&quot;ToLableName_FN&quot;&gt;&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;txtFname&quot; /&gt;
&lt;/br&gt;
&lt;/br&gt;
&nbsp;
      &lt;label id=&quot;FrmLableName_LN&quot; &gt;Last Name&lt;/label&gt;
      &lt;br /&gt;
  &lt;label id=&quot;ToLableName_LN&quot;&gt;&lt;/label&gt;
  &lt;input type=&quot;text&quot; name=&quot;txtFname&quot; /&gt;</pre></td></tr></table></div>

<p><a href="http://www.code.venuthomas.net/Code/MultiLanguageInWebPage/" target="_blank"><img class="alignnone size-full wp-image-18" title="live_preview" src="http://www.wisecodes.com/wp-content/uploads/2009/02/live_preview.png" alt="live_preview" /> <strong>Demo</strong></a>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.code.venuthomas.net/Code/MultiLanguageInWebPage/MultiLanguageInWebPage.zip" target="_blank"><span style="color: #000000;"><span style="text-decoration: none;"><img class="alignnone size-full wp-image-29" title="download" src="http://www.wisecodes.com/wp-content/uploads/2009/02/download.gif" alt="download" />Download Code</span></span></a></p>
<p><a href="http://www.code.venuthomas.net/Code/MultiLanguageInWebPage/MultiLanguageInWebPage.zip" target="_blank"></a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/03/mulit-language-in-any-web-page-with-google-api/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/03/mulit-language-in-any-web-page-with-google-api/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/03/mulit-language-in-any-web-page-with-google-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mapping .html file to ASP.NET</title>
		<link>http://www.wisecodes.com/2009/02/mapping-html-file-to-aspnet/</link>
		<comments>http://www.wisecodes.com/2009/02/mapping-html-file-to-aspnet/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 18:49:21 +0000</pubDate>
		<dc:creator>Venu Thomas</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Trips]]></category>

		<guid isPermaLink="false">http://www.code.venuthomas.net/?p=87</guid>
		<description><![CDATA[Step one: Open IIS, in your site to set up virtual directory property page tab, click on the &#8220;Application Settings (Application Settings)&#8221; under the &#8220;configuration (Configuration..)&#8221; Button, open the &#8220;application configuration (Application Configuration ) &#8220;window&#8221; App Mappings (App Mappings) &#8220;Tab page, click on the&#8221; Add (Add..) &#8220;button, the pop-up&#8221; Add / Edit Application Mapping suffix [...]]]></description>
			<content:encoded><![CDATA[<p><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span><span><strong>Step one:</strong> Open IIS, in your site to set up virtual directory property page tab, click on the &#8220;Application Settings (Application Settings)&#8221; under the &#8220;configuration (Configuration..)&#8221; Button, open the &#8220;application configuration (Application Configuration ) &#8220;window&#8221; App Mappings (App Mappings) &#8220;Tab page, click on the&#8221; Add (Add..) &#8220;button, the pop-up&#8221; Add / Edit Application Mapping suffix (Add / Edit Application Extension Mapping ) &#8220;window, in the&#8221; executable program (Executable) &#8220;the right of the text box, type C: \ WINNT \ Microsoft.NET \ Framework \ v1.1.4322 \ aspnet_isapi.dll (file path will be. net framework version of the different different for the sake of safety, you can in the &#8220;App Mappings (App Mappings)&#8221; tab under the list of double-mapping &#8220;. aspx&#8221;, in the pop-up window to select its &#8220;executable program (Executable)&#8221; text Copy the text box and then out), in the &#8220;name suffix (Extension)&#8221; text box you want to add the suffix of &#8220;. html&#8221;, then click OK to save all open windows to complete the property settings in IIS;</span></span></span> </p>
<p><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span><span><strong>Step two:</strong> open you want to configure the site or virtual directory under the root directory of the web.config file, configuration section in &lt;system.web&gt; add the following configuration sections:</span></span></span> <span><span><br />
</span></span><span><span><strong></strong></span></span></p>
<p><span><span><strong>&lt;httphandlers&gt;<br />
<span style="white-space:pre"> <span style="white-space:pre"> </span></span>&lt;add verb=&#8221;*&#8221;<br />
<span style="white-space:pre"><span style="white-space:pre"> </span> </span>path=&#8221;*.html&#8221;<br />
<span style="white-space:pre"> <span style="white-space:pre"> </span></span>type=&#8221;System.Web.UI.PageHandlerFactory&#8221; /&gt;<br />
&lt;/httphandlers&gt;</strong></span></span></p>
<p><span><span><br />
</span></span><span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span><span>Save web.config file, Now we are set !!! <img src='http://www.wisecodes.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </span></span></span></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/02/mapping-html-file-to-aspnet/" target="_blank"><img src="http://www.wisecodes.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.wisecodes.com/2009/02/mapping-html-file-to-aspnet/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wisecodes.com/2009/02/mapping-html-file-to-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

