<?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>CodeBasic.net &#124; Malaysia&#039;s Web Developer cum Designer</title>
	<atom:link href="http://codebasic.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://codebasic.net</link>
	<description></description>
	<lastBuildDate>Fri, 20 Aug 2010 12:19:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript Expand/Collapse in Tree Structure</title>
		<link>http://codebasic.net/javascript-expandcollapse-in-tree-structure/</link>
		<comments>http://codebasic.net/javascript-expandcollapse-in-tree-structure/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 12:17:26 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Expanding/collapsing javascript menu]]></category>
		<category><![CDATA[Javascript Collapse]]></category>
		<category><![CDATA[Javascript Expand]]></category>
		<category><![CDATA[JavaScript Expand/Collapse]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=357</guid>
		<description><![CDATA[If you have a large number of items to show, then it would be very long list. You can solve the issue by nesting one block within another, you can create tree-like structures where each individual node can be expanded and collapsed.

You can follow the sample code for this tutorial below:

// 
&#60;script type=&#8221;text/javascript&#8221;&#62;
function toggle(id) {
var [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a large number of items to show, then it would be very long list. You can solve the issue by nesting one block within another, you can create tree-like structures where each individual node can be expanded and collapsed.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/javascriptexpandandcollapse.jpg" border="0" alt="javascript expand and collapse" /></p>
<p>You can follow the sample code for this tutorial below:</p>
<p><span id="more-357"></span></p>
<div style="border: 2px dotted skyblue; width: 380px; background-color: #d4ffff; font-size: 12px;"><script type="text/javascript">// <![CDATA[
   function toggle(id) {   var e = document.getElementById(id);   if (e.style.display == '')     e.style.display = 'none';   else     e.style.display = ''; }
// ]]&gt;</script></p>
<p><span style="color: #993300;">&lt;script type=&#8221;text/javascript&#8221;&gt;</span></p>
<p><strong>function </strong>toggle(id) {<br />
<strong>var </strong>e = <strong>document.getElementById</strong>(id);</p>
<p><strong>if</strong> (e.<strong>style</strong>.<strong>display </strong>== &#8221;)<br />
e.<strong>style</strong>.<strong>display </strong>= &#8216;<span style="color: #0000ff;">none</span>&#8216;;<br />
<strong>else</strong><br />
e.<strong>style</strong>.<strong>display </strong>= &#8221;;<br />
}</p>
<p><span style="color: #993300;">&lt;/script&gt;</span></p>
<p><span style="color: #993300;">&lt;h3&gt;</span>Expand/Collapse in Tree Structure<span style="color: #993300;">&lt;/h3&gt;</span></p>
<p><span style="color: #993300;">&lt;ul&gt;<br />
&lt;li&gt;</span><br />
<span style="color: #993300;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onclick</span>=<span style="color: #0000ff;">&#8220;toggle(&#8217;node1&#8242;)&#8221;</span>&gt;Product 1<span style="color: #993300;">&lt;/a&gt;</span><br />
<span style="color: #993300;">&lt;ul</span> <span style="color: #ff0000;">id</span>=<span style="color: #0000ff;">&#8220;node1&#8243;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;display:none&#8221;</span>&gt;<br />
<span style="color: #993300;">&lt;li&gt;</span>Sub-product 1<span style="color: #993300;">&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;a </span><span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onclick</span>=<span style="color: #0000ff;">&#8220;toggle(&#8217;node2&#8242;)&#8221;</span>&gt;Sub-product 2<span style="color: #993300;">&lt;/a&gt;</span><br />
<span style="color: #993300;">&lt;ul </span><span style="color: #ff0000;">id</span>=<span style="color: #0000ff;">&#8220;node2</span>&#8221; <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;display:none</span>&#8220;&gt;<br />
<span style="color: #993300;">&lt;li&gt;</span>Sub-sub-product 1<span style="color: #993300;">&lt;/li&gt;<br />
&lt;li&gt;</span>Sub-sub-product 2<span style="color: #993300;">&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;</span>Sub-product 3<span style="color: #993300;">&lt;/li&gt;</span><br />
<span style="color: #993300;">&lt;/ul&gt;</span><br />
<span style="color: #993300;">&lt;/li&gt;<br />
&lt;li&gt;</span><br />
<span style="color: #993300;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onclick</span>=<span style="color: #0000ff;">&#8220;toggle(&#8217;node3&#8242;)&#8221;</span>&gt;Product 2<span style="color: #993300;">&lt;/a&gt;</span><br />
<span style="color: #993300;">&lt;ul</span> <span style="color: #ff0000;">id</span>=<span style="color: #0000ff;">&#8220;node3&#8243;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;display:none&#8221;</span>&gt;<br />
<span style="color: #993300;">&lt;li&gt;</span>Sub-product 1<span style="color: #993300;">&lt;/li&gt;</span><br />
<span style="color: #993300;">&lt;li&gt;</span>Sub-product 2<span style="color: #993300;">&lt;/li&gt;</span><br />
<span style="color: #993300;">&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;</span>Product 3<span style="color: #993300;">&lt;/li&gt;</span><br />
<span style="color: #993300;">&lt;/ul&gt;</span></p>
<p><span style="color: #993300;">&lt;/body&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/javascript-expandcollapse-in-tree-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Float Tutorial</title>
		<link>http://codebasic.net/css-float-tutorial/</link>
		<comments>http://codebasic.net/css-float-tutorial/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 09:21:08 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[CSS Float Property]]></category>
		<category><![CDATA[css float tutorial]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=354</guid>
		<description><![CDATA[The CSS float property is very important property for layout. First, you have to understand how it works then only can position your web page designs exactly as you want them to display.
A CSS float property looks like this:
.right {float: right;}

Step by Step: Floating an Image to the Right
Step 1: Start with a paragraph of [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>CSS float property</strong> is very important property for layout. First, you have to understand how it works then only can position your web page designs exactly as you want them to display.</p>
<p>A <strong>CSS float property</strong> looks like this:</p>
<p><strong>.right {float: right;}</strong></p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/cssfloattutorial.jpg" border="0" alt="css float tutorial" /></p>
<p><span style="text-decoration: underline;"><strong>Step by Step: Floating an Image to the Right</strong></span></p>
<p><strong>Step 1:</strong> Start with a paragraph of text and an image</p>
<p>For example, your paragraph will look like this:</p>
<p>&lt;p&gt;As jy soek na gratis PowerPoint templates het, het jy op die regte plek. Ons het &#8216;n groot versameling van agtergronde, voorlegte, en meer inspirerende free stuff pragtige presentaties op te bou. Alle temas ontwerp is gratis om af te laai en ook 2 of meer skyfies gereed-vir-gebruik. Aflaai, pak en neem die volle beheer oor jou PowerPoint voorleggings.&lt;/p&gt;</p>
<p><span id="more-354"></span></p>
<p><strong>Step 2: </strong>Apply float: right to the image</p>
<p>If you want your image to be displayed to the right side of your paragraph, then &#8220;float: right&#8221; is applied. In this case, the name of the class is &#8220;.right&#8221; but you can try to use other name as well.</p>
<p>&lt;style type=&#8221;text/css&#8221;&gt;</p>
<p>.right</p>
<p>{</p>
<p><strong>float: right;</strong></p>
<p>}</p>
<p>&lt;/style&gt;</p>
<p>&lt;p&gt;&lt;img<strong> class=&#8221;right&#8221;</strong> src=&#8221;rect.png&#8221; width=&#8221;100&#8243; height=&#8221;100&#8243;&gt;As jy soek na gratis PowerPoint templates het, het jy op die regte plek. Ons het &#8216;n groot versameling van agtergronde, voorlegte, en meer inspirerende free stuff pragtige presentaties op te bou. Alle temas ontwerp is gratis om af te laai en ook 2 of meer skyfies gereed-vir-gebruik. Aflaai, pak en neem die volle beheer oor jou PowerPoint voorleggings.&lt;p&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/css-float-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Embed Web Page within Web Page?</title>
		<link>http://codebasic.net/how-to-embed-web-page-within-web-page/</link>
		<comments>http://codebasic.net/how-to-embed-web-page-within-web-page/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 03:13:11 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Embed Web Page]]></category>
		<category><![CDATA[Embedding A Webpage]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=343</guid>
		<description><![CDATA[If you feel struggle on displaying a web page within another web page, then this HTML code may help to solve the problem.
How can i do that? There’s no need long list of code, or complex JavaScript code, but it just use pure simple HTML tags.
Copy and paste the code below into your web page [...]]]></description>
			<content:encoded><![CDATA[<p>If you feel struggle on displaying a web page within another web page, then this HTML code may help to solve the problem.</p>
<p>How can i do that? There’s no need long list of code, or complex JavaScript code, but it just use pure simple HTML tags.</p>
<p>Copy and paste the code below into your web page where you would like to embed the web page that you like.</p>
<div style="border: 2px dotted skyblue; width: 350px; background-color: #d4ffff; font-size: 12px; text-align: left;"><span style="color: #993300;">&lt;object</span> <span style="color: #ff0000;">data</span>=<span style="color: #0000ff;">http://www.imdavidlee.com</span> <span style="color: #ff0000;">width</span>=&#8221;600&#8243; height=&#8221;400&#8243;&gt; <span style="color: #993300;">&lt;embed </span><span style="color: #ff0000;">src</span>=<span style="color: #0000ff;">http://www.imdavidlee.com </span><span style="color: #ff0000;">width</span>=&#8221;600&#8243; height=&#8221;400&#8243;&gt; <span style="color: #993300;">&lt;/embed&gt; </span><span style="color: #993300;">&lt;/object&gt;</span></div>
<p>See the preview:</p>
<p><object data=http://www.imdavidlee.com width="480" height="400"> <embed src=http://www.imdavidlee.com  width="480" height="400"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/how-to-embed-web-page-within-web-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BrowserShots: Check Cross Browser Compatibility</title>
		<link>http://codebasic.net/browsershots-check-cross-browser-compatibility/</link>
		<comments>http://codebasic.net/browsershots-check-cross-browser-compatibility/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 09:03:57 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Basic Web Knowledge]]></category>
		<category><![CDATA[BrowserShots]]></category>
		<category><![CDATA[Cross Browser Compatibility]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=339</guid>
		<description><![CDATA[BrowserShots.org is a web-based browser combatibility check tool that lets you preview how your website looks in all kind of browsers at one time. Just submit your website URL and wait few minutes for BrowserShots.org to generate screenshots for each browser.


It’s really FREE! It helps you to test your web design in different kind of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>BrowserShots.org </strong>is a web-based browser combatibility check tool that lets you preview how your website looks in all kind of browsers at one time. Just submit your website URL and wait few minutes for <strong>BrowserShots.org </strong>to generate screenshots for each browser.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/browsershot1.jpg" border="0" alt="browsershot" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/browsershot.jpg" border="0" alt="browsershot" /></p>
<p>It’s really <span style="color: #ff0000;"><strong>FREE</strong></span>! It helps you to test your web design in different kind of browsers so you don’t really have to install them on your computer.</p>
<p><span id="more-339"></span></p>
<p><span style="text-decoration: underline;"><strong>BrowserShots Features</strong></span></p>
<p>* You can preview website design across almost 40 different browsers (Firefox, IE, Opera, Chrome, Konqueror, etc.).</p>
<p>* Can click to have full screen preview for each selected browser.</p>
<p>Besides, you also can access a website which is blocked by your ISP.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/browsershots-check-cross-browser-compatibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importance of TITLE Tag to Search Engine Optimization</title>
		<link>http://codebasic.net/importance-of-title-tag-to-search-engine-optimization/</link>
		<comments>http://codebasic.net/importance-of-title-tag-to-search-engine-optimization/#comments</comments>
		<pubDate>Sun, 02 May 2010 02:50:48 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Basic Web Knowledge]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[Title Tag]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=336</guid>
		<description><![CDATA[The title tag will always be one of the most important factors in achieving high search engine rankings. The title text is placed within the &#60;TITLE&#62;&#60;/TITLE&#62; tags inside the HTML head section. It is displayed on the title bar of your browser.

The Title Tag is Very Important. Why?
As we know that there are many search [...]]]></description>
			<content:encoded><![CDATA[<p>The<strong> title tag</strong> will always be one of the most important factors in achieving high search engine rankings. The title text is placed within the <strong>&lt;TITLE&gt;&lt;/TITLE&gt;</strong> tags inside the HTML head section. It is displayed on the title bar of your browser.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/title_tag.gif" border="0" alt="title tag" /></p>
<p><span style="text-decoration: underline;"><strong>The Title Tag is Very Important. Why?</strong></span></p>
<p>As we know that there are many search engines around us and each ranked web sites in different algorithms. But the interesting fact is that all search engines gives more importance to a web site title tag while manipulating their ranking algorithms. So, I am sure title tag is crucial for search engines in their ranking calculations.</p>
<p><span id="more-336"></span></p>
<p>Search engines read your web site title and page contents, and if your web site title and content are matched, then your page will ranked high for the keyword phrases used in the title tag. If your web site title text differs from your page contents, then you will not get a good rank of it. So be careful while preparing your web page title.</p>
<p>For example if your page describes the something about financial freedom ideas, and your title tag contains: “Ways to Improve Money Making Skills” is not good, but if you are going to use: &#8220;Financial Freedom Ideas For Your Own Future&#8221; I think it is more accurate to your page contents. Also search engines will list your pages, if someone searching pages related to financial freedom ideas.</p>
<p>So, the <strong>Title tag</strong> is important to search engine as:</p>
<p>- The contents of the <strong>TITLE tag</strong> are mostly used by search engines bots to index the page.</p>
<p>- When search on any search engine, and you&#8217;ll see that the content of this tag used in the anchor text of the links for each web site.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/importance-of-title-tag-to-search-engine-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript onClick Image Swap</title>
		<link>http://codebasic.net/javascript-onclick-image-swap/</link>
		<comments>http://codebasic.net/javascript-onclick-image-swap/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 03:39:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[image swapping]]></category>
		<category><![CDATA[onClick Image Swap Effect]]></category>
		<category><![CDATA[onClick restore Image]]></category>
		<category><![CDATA[onClick Swap Image]]></category>
		<category><![CDATA[swap image onclick]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=331</guid>
		<description><![CDATA[Today, I will teach you how to write JavaScript and HTML so that when visitors come to your site click on the image button, then the image button will change to a new image button.  When the visitor clicks on the other image button, the original image button will reappear.
Here’s the code for creating [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I will teach you how to write JavaScript and HTML so that when visitors come to your site click on the image button, then the image button will change to a new image button.  When the visitor clicks on the other image button, the original image button will reappear.</p>
<p>Here’s the code for creating an <strong>onclick image swap effect</strong>, just follow it step by step:</p>
<p><span id="more-331"></span></p>
<div style="border: 2px dotted skyblue; width: 380px; background-color: #d4ffff; font-size: 12px;"><span style="color: #800080;">&lt;script </span><span style="color: #ff0000;">type </span>= &#8220;<span style="color: #0000ff;">text/javascript</span>&#8220;&gt;<strong>function </strong>buttonA()</p>
<p>{</p>
<p>image1 = document.getElementById(&#8217;<span style="color: #008080;">image1</span>&#8216;);</p>
<p>image2 = document.getElementById(&#8217;<span style="color: #008080;">image2</span>&#8216;);</p>
<p>image3 = document.getElementById(&#8217;<span style="color: #008080;">image3</span>&#8216;);</p>
<p>image4 = document.getElementById(&#8217;<span style="color: #008080;">image4</span>&#8216;);</p>
<p><strong>if</strong> ((image1.style.display) == &#8216;<span style="color: #008080;">block</span>&#8216;)</p>
<p>{</p>
<p style="padding-left: 30px;">image1.style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p style="padding-left: 30px;">image2.style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p style="padding-left: 30px;">image3.style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p style="padding-left: 30px;">image4.style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p>}</p>
<p>}</p>
<p><strong>function </strong>buttonB()</p>
<p>{</p>
<p>image1 = document.getElementById(&#8217;<span style="color: #008080;">image1</span>&#8216;);</p>
<p>image2 = document.getElementById(&#8217;<span style="color: #008080;">image2</span>&#8216;);</p>
<p>image3 = document.getElementById(&#8217;<span style="color: #008080;">image3</span>&#8216;);</p>
<p>image4 = document.getElementById(&#8217;<span style="color: #008080;">image4</span>&#8216;);</p>
<p><strong>if </strong>((image3.style.display) == &#8216;<span style="color: #008080;">block</span>&#8216;)</p>
<p>{</p>
<p style="padding-left: 30px;">image1.style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p style="padding-left: 30px;">image2.style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p style="padding-left: 30px;">image3.style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p style="padding-left: 30px;">image4.style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p>}</p>
<p>}</p>
<p><strong>function </strong>init()</p>
<p>{</p>
<p style="padding-left: 30px;">document.getElementById(&#8217;<span style="color: #008080;">image1</span>&#8216;).style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p style="padding-left: 30px;">document.getElementById(&#8217;<span style="color: #008080;">image2</span>&#8216;).style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p style="padding-left: 30px;">document.getElementById(&#8217;<span style="color: #008080;">image3</span>&#8216;).style.display = &#8216;<span style="color: #008080;">block</span>&#8216;;</p>
<p style="padding-left: 30px;">document.getElementById(&#8217;<span style="color: #008080;">image4</span>&#8216;).style.display = &#8216;<span style="color: #008080;">none</span>&#8216;;</p>
<p>}</p>
<p><span style="color: #800080;">&lt;/script&gt;</span></p>
<p><span style="color: #800080;">&lt;body</span> <span style="color: #ff0000;">onload </span>= &#8220;init()&#8221;&gt;</p>
<p><span style="color: #800080;">&lt;table&gt;</span></p>
<p><span style="color: #800080;">&lt;tr&gt;</span></p>
<p style="text-align: left;"><span style="color: #800080;">&lt;td</span> <span style="color: #ff0000;">id</span>=<span style="color: #0000ff;">&#8220;image1&#8243;</span>&gt;<span style="color: #800080;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onClick</span>=<span style="color: #0000ff;">&#8220;buttonA();</span>&#8220;&gt;<span style="color: #800080;">&lt;img</span> <span style="color: #ff0000;">src</span>=<span style="color: #0000ff;">&#8220;but1.jpg&#8221;</span> <span style="color: #ff0000;">border</span>=<span style="color: #0000ff;">&#8220;0&#8243;</span>&gt;<span style="color: #800080;">&lt;/a&gt;</span><span style="color: #800080;">&lt;/td&gt;</span></p>
<p><span style="color: #800080;">&lt;td</span> <span style="color: #ff0000;">id</span>=&#8221;<span style="color: #0000ff;">image2&#8243;</span>&gt;<span style="color: #800080;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onClick</span>=&#8221;<span style="color: #0000ff;">buttonA()</span>;&#8221;&gt;<span style="color: #800080;">&lt;img </span><span style="color: #ff0000;">src</span>=<span style="color: #0000ff;">&#8220;but1b.jpg&#8221;</span> <span style="color: #ff0000;">border</span>=<span style="color: #0000ff;">&#8220;0&#8243;</span>&gt;<span style="color: #800080;">&lt;/a&gt;</span> <span style="color: #800080;">&lt;/td&gt;</span></p>
<p><span style="color: #800080;">&lt;td</span> <span style="color: #ff0000;">id</span>=<span style="color: #0000ff;">&#8220;image3</span>&#8220;&gt;<span style="color: #800080;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">onClick</span>=&#8221;<span style="color: #0000ff;">buttonB();</span>&#8220;&gt;<span style="color: #800080;">&lt;img</span> <span style="color: #ff0000;">src</span>=<span style="color: #0000ff;">&#8220;but2.jpg&#8221;</span> <span style="color: #ff0000;">border</span>=<span style="color: #0000ff;">&#8220;0&#8243;</span>&gt;<span style="color: #800080;">&lt;/a&gt;</span><span style="color: #800080;">&lt;/td&gt;</span></p>
<p><span style="color: #800080;">&lt;td</span> <span style="color: #ff0000;">id</span>=&#8221;<span style="color: #0000ff;">image4&#8243;</span>&gt;<span style="color: #800080;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#</span>&#8221; <span style="color: #ff0000;">onClick</span>=<span style="color: #0000ff;">&#8220;buttonB();</span>&#8220;&gt;<span style="color: #800080;">&lt;img </span><span style="color: #ff0000;">src</span>=<span style="color: #0000ff;">&#8220;but2b.jpg&#8221; </span><span style="color: #ff0000;">border</span>=<span style="color: #0000ff;">&#8220;0&#8243;</span>&gt;<span style="color: #800080;">&lt;/a&gt;</span> <span style="color: #800080;">&lt;/td&gt;</span></p>
<p><span style="color: #800080;">&lt;/tr&gt;</span></p>
<p><span style="color: #800080;">&lt;/table&gt;</span></p>
<p><span style="color: #800080;">&lt;/body&gt;</span></div>
<p>Click <a href="http://codebasic.net/swap_image.zip">here</a> to download sample file.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/javascript-onclick-image-swap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Marquee &amp; Blink Tag</title>
		<link>http://codebasic.net/marquee-blink-tag/</link>
		<comments>http://codebasic.net/marquee-blink-tag/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 06:11:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Blinking Text Tag]]></category>
		<category><![CDATA[HTML Blink Tag]]></category>
		<category><![CDATA[HTML Marquee Code]]></category>
		<category><![CDATA[HTML Marquees]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=328</guid>
		<description><![CDATA[&#60;MARQUEE&#62; and &#60;BLINK&#62; are 2 browser specific tags. However, these tags are displayed only by certain browsers only.
&#60;BLINK&#62;: Mozilla Firefox
&#60;MARQUEE&#62;: Internet Explorer
BLINK Tag
This tag can be supppored only by Netscape. IE ignores this tag. So if you are using Internet Explorer you wouldn&#8217;t see the blinking text below.
&#60;BLINK&#62;Blinking Text&#60;/BLINK&#62;
Advantage: It is a standard HTML tag [...]]]></description>
			<content:encoded><![CDATA[<p><strong>&lt;MARQUEE&gt;</strong> and<strong> &lt;BLINK&gt;</strong> are 2 browser specific tags. However, these tags are displayed only by certain browsers only.</p>
<p><strong>&lt;BLINK&gt;: </strong>Mozilla Firefox</p>
<p><strong>&lt;MARQUEE&gt;: </strong>Internet Explorer</p>
<p><span style="text-decoration: underline;"><strong>BLINK Tag</strong></span></p>
<p>This tag can be supppored only by Netscape. IE ignores this tag. So if you are using Internet Explorer you wouldn&#8217;t see the blinking text below.</p>
<p><strong>&lt;BLINK&gt;</strong>Blinking Text<strong>&lt;/BLINK&gt;</strong></p>
<p><strong>Advantage: </strong>It is a standard HTML tag which is actually easiest way to grab visitors attention to something you think that is important in your page.</p>
<p><span id="more-328"></span></p>
<p><span style="text-decoration: underline;"><strong>MARQUEE Tag</strong></span></p>
<p>This tag provides some animated text. Unfortunately, it is supported only by Internet Explorer. It creates a scrolling text marquee. Besides that, you can also set delay for your animated text.</p>
<p><strong>&lt;MARQUEE</strong> scrolldelay=&#8221;500&#8243; width=&#8221;200&#8243;&gt;Scrolling Text<strong>&lt;/ MARQUEE&gt;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/marquee-blink-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference Between http:// and https://</title>
		<link>http://codebasic.net/difference-between-http-and-https/</link>
		<comments>http://codebasic.net/difference-between-http-and-https/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 01:53:39 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Basic Web Knowledge]]></category>
		<category><![CDATA[Difference Between http and https]]></category>
		<category><![CDATA[http and https]]></category>
		<category><![CDATA[Http vs Https]]></category>
		<category><![CDATA[http://]]></category>
		<category><![CDATA[https://]]></category>
		<category><![CDATA[HyperText Transport Protocol]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=325</guid>
		<description><![CDATA[Today, I will share with you about the very basic and general information for the differences between http:// and https://. HTTP stands for HyperText Transport Protocol, which is for information to be passed back and forth between web servers and clients.
Difference Between http and https

As in known, HTTPS session normally runs on TCP port 443, [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I will share with you about the very basic and general information for the differences between<strong> http:// and https://</strong>. <strong>HTTP </strong>stands for <strong>HyperText Transport Protocol</strong>, which is for information to be passed back and forth between web servers and clients.</p>
<p><span style="text-decoration: underline;"><strong>Difference Between http and https</strong></span></p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/http_https.gif" border="0" alt="http_https" /></p>
<p>As in known, <strong>HTTPS </strong>session normally runs on TCP port 443, but <strong>HTTP</strong> which runs on port 80.</p>
<p><span id="more-325"></span></p>
<p><strong>http://</strong> means that the website is talking to your browser using the unsecure language. In the other words, it’s possible for someone to hack into your conversation with the website. If you fill out a form on the website, someone might see the information you send to that site. This is the reason why you never ever enter your credit card number in an http website!</p>
<p>However, if the web address begins with <strong>https://</strong>, that basically means your computer is talking to the website in a secure language that prevent unauthorized access. In the other words, this is actually happening when the data is being encrypted both ways from your computer to the website and visa versa. All this happened by using SSL certificate. So, this is mostly used for exchanging confidential information with a server.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/difference-between-http-and-https/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>COLSPAN and ROWSPAN Tutorial</title>
		<link>http://codebasic.net/colspan-and-rowspan-tutorial/</link>
		<comments>http://codebasic.net/colspan-and-rowspan-tutorial/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 04:28:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[COLSPAN]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[rows]]></category>
		<category><![CDATA[ROWSPAN]]></category>
		<category><![CDATA[span a column]]></category>
		<category><![CDATA[table cell]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=321</guid>
		<description><![CDATA[Every webmaster also know that table cells can be spanned more than one column or row. The attribute of ROWSPAN is used to make cell span multiple rows. If let say ROWSPAN=&#8221;3&#8243; it will only span a column vertically across three rows.
&#60;table border=&#8221;1&#8243; cellspacing=&#8221;2&#8243; cellpadding=&#8221;2&#8243; width=&#8221;200px&#8221;&#62;
&#60;tbody&#62;
&#60;tr&#62;
&#60;td&#62;Codebasic.net&#60;/td&#62;
&#60;td rowspan=&#8221;2&#8243;&#62;spanned&#60;/td&#62;
&#60;td&#62;myLengLui.com&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;imDavidLee.com&#60;/td&#62;
&#60;td&#62;LifeTechie.com&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;LimPek.com&#60;/td&#62;
&#60;td&#62;innoDesigner.com&#60;/td&#62;
&#60;td&#62;PenangBlogger.com&#60;/td&#62;
&#60;/tr&#62;
&#60;/tbody&#62;&#60;/table&#62;



Codebasic.net
spanned
myLengLui.com


imDavidLee.com
LifeTechie.com


LimPek.com
innoDesigner.com
PenangBlogger.com



The COLSPAN attribute is to make a cell span [...]]]></description>
			<content:encoded><![CDATA[<p>Every webmaster also know that table cells can be spanned more than one column or row. The attribute of <strong>ROWSPAN</strong> is used to make cell span multiple rows. If let say ROWSPAN=&#8221;3&#8243; it will only span a column vertically across three rows.</p>
<div style="border: 2px dotted skyblue; width: 350px; background-color: #d4ffff; font-size: 12px;"><span style="color: #993300;">&lt;table</span> <span style="color: #0000ff;">border</span>=&#8221;1&#8243; <span style="color: #0000ff;">cellspacing</span>=&#8221;2&#8243; <span style="color: #0000ff;">cellpadding</span>=&#8221;2&#8243; <span style="color: #0000ff;">width</span>=&#8221;200px&#8221;&gt;<br />
<span style="color: #993300;">&lt;tbody&gt;<br />
&lt;tr&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>Codebasic.net<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td </span>rowspan=&#8221;2&#8243;&gt;spanned<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>myLengLui.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;</span><br />
<span style="color: #993300;">&lt;tr&gt;<br />
&lt;td&gt;</span>imDavidLee.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>LifeTechie.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;<br />
&lt;tr&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>LimPek.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>innoDesigner.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>PenangBlogger.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;</span><br />
<span style="color: #993300;">&lt;/tbody&gt;</span><span style="color: #993300;">&lt;/table&gt;</span></div>
<table border="1" cellspacing="2" cellpadding="2" width="200px">
<tbody>
<tr>
<td>Codebasic.net</td>
<td rowspan="2">spanned</td>
<td>myLengLui.com</td>
</tr>
<tr>
<td>imDavidLee.com</td>
<td>LifeTechie.com</td>
</tr>
<tr>
<td>LimPek.com</td>
<td>innoDesigner.com</td>
<td>PenangBlogger.com</td>
</tr>
</tbody>
</table>
<p>The <strong>COLSPAN </strong>attribute is to make a cell span multiple columns. It spans the columns and will make your table cell span horizontally.</p>
<p><span id="more-321"></span></p>
<div style="border: 2px dotted skyblue; width: 250px; background-color: #d4ffff; font-size: 12px;"><span style="color: #993300;">&lt;table</span> <span style="color: #0000ff;">border</span>=&#8221;1&#8243; <span style="color: #0000ff;">cellpadding</span>=&#8221;2&#8243; <span style="color: #0000ff;">cellspacing</span>=&#8221;2&#8243; <span style="color: #0000ff;">width</span>=&#8221;200px&#8221;&gt;<br />
<span style="color: #993300;">&lt;tr&gt;<br />
&lt;th</span> <span style="color: #0000ff;">colspan</span>=&#8221;2&#8243;&gt;Codebasic.net<span style="color: #993300;">&lt;/th&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td</span> <span style="color: #0000ff;">width</span>=&#8221;20%&#8221;&gt;imDavidLee.com<span style="color: #993300;">&lt;/td&gt;</span><span style="color: #993300;">&lt;td&gt;</span>LifeTechie.com<span style="color: #993300;">&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</span></div>
<table border="1" cellspacing="2" cellpadding="2" width="200px">
<tbody>
<tr>
<th colspan="2">Codebasic.net</th>
</tr>
<tr>
<td width="20%">imDavidLee.com</td>
<td>LifeTechie.com</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/colspan-and-rowspan-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Find Length of String In Javascript?</title>
		<link>http://codebasic.net/how-to-find-length-of-string-in-javascript/</link>
		<comments>http://codebasic.net/how-to-find-length-of-string-in-javascript/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 01:40:41 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Check String Length]]></category>
		<category><![CDATA[Find Length of String]]></category>
		<category><![CDATA[mystring.length]]></category>
		<category><![CDATA[String Length]]></category>
		<category><![CDATA[String Length With Javascript]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=317</guid>
		<description><![CDATA[While working with strings, most probably we will need to find a length of string, count of charachers and etc. In JavaScript we can make use of the string related function as the [variable].length
So, here we go!! I decided to share some really basic source code. Here’s the  example shows in an alert dialog [...]]]></description>
			<content:encoded><![CDATA[<p>While working with strings, most probably we will need to find a length of string, count of charachers and etc. In JavaScript we can make use of the string related function as the <strong>[variable].length</strong></p>
<p>So, here we go!! I decided to share some really basic source code. Here’s the  example shows in an alert dialog box with the length of the string <strong>&#8220;My Name is David&#8221;</strong></p>
<div style="border: 2px dotted skyblue; width: 250px; background-color: #d4ffff; font-size: 12px;"><strong>var </strong>mystring = &#8220;My Name is David&#8221;;<br />
<strong>alert</strong>( mystring.<strong>length </strong>);</div>
<p><script type="text/javascript">// <![CDATA[
 function test(){ var mystring = "My Name is David"; alert( mystring.length ); }
// ]]&gt;</script></p>
<input onclick="test()" type="button" value="Check Length" />
<p><span id="more-317"></span></p>
<p>Besides, you also can try to do this -&gt; <strong>&#8220;My Name is David&#8221;.length ,</strong> which is what the example button above is doing in the onclick event handler.</p>
<p><span style="text-decoration: underline;"><strong>Why Web Developer Need To Know This?</strong></span></p>
<p>This technique is very useful when validating a form where a textfield should not be empty.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/how-to-find-length-of-string-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
