<?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>TutorBoy Articles &#187; HTML</title>
	<atom:link href="http://articles.tutorboy.com/tag/html/feed" rel="self" type="application/rss+xml" />
	<link>http://articles.tutorboy.com</link>
	<description>Online Complete Reference</description>
	<lastBuildDate>Mon, 06 Sep 2010 07:04:44 +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>Include js files inside a js file</title>
		<link>http://articles.tutorboy.com/javascript/include-js-files-inside-a-js-file.html</link>
		<comments>http://articles.tutorboy.com/javascript/include-js-files-inside-a-js-file.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 05:50:14 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Js]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2383</guid>
		<description><![CDATA[Some times you want to include or load other .js files inside another .js files or on document. JavaScript doesn&#8217;t have any function to include any external js files. Writing script tag each time to DOM is not a good &#8230; <a href="http://articles.tutorboy.com/javascript/include-js-files-inside-a-js-file.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some times you want to include or load other .js files inside another .js files or on document. JavaScript doesn&#8217;t have any function to <code>include </code>any external js files. Writing script tag each time to DOM is not a good practice. Here the solution to load the script tag inside the head.<span id="more-2383"></span></p>
<h2>JavaScript</h2>
<pre class="brush:js">var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'externalScriptFile.js';
document.getElementsByTagName("head")[0].appendChild(script);
</pre>
<p>Use the above JavaScript code inside your body or .js file. The <code>script.src</code> is the file name which you want to load and the script will append to the <code>head</code> tag. If you have to load more files like this, just copy paste this into a function body.</p>
<h2>JavaScript</h2>
<pre class="brush:js">function include(jsFile) {
	var script = document.createElement('script');
	script.type = 'text/javascript';
	script.src = jsFile;
	document.getElementsByTagName("head")[0].appendChild(script);
}
include('externalScriptFile1.js');
include('externalScriptFile2.js');
</pre>
<p><strong>W</strong>ell you are done with that, now just read something about the <code>script </code>tag in <code>HTML</code>. The script tag is used to load or run scripts HTML, we use mainly 3 attributes for the script. No need to use the commenting(&lt;!&#8211; //&#8211;&gt;) tags inside the script tag, that is for the first generation browsers <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  to prevent scripts from showing up as text.</p>
<p>Script tag to load the script file</p>
<pre class="brush:js">&lt;script src="filename.js" type="text/javascript"&gt;&lt;/script&gt;
</pre>
<p>You should not write any codes inside the script tags when its use to load any file(s). Because if the <code>src</code> is present the script tag will considered as a load process. So any script inside that will not execute. But you can use the script with-out <code>src</code> will help you to execute the script.<br />
Script tag to execute the script</p>
<pre class="brush:js">&lt;script type="text/javascript"&gt;document.write("Hello World!!!");&lt;/script&gt;
</pre>
<h2>Attributes</h2>
<p><strong>src </strong>:  This attribute specifies the location of an external script.<br />
<strong>type </strong>:  This attribute specifies the scripting language of the element&#8217;s contents and overrides<br />
the default scripting language. The scripting language is specified as a content type<br />
(e.g., &#8220;text/javascript&#8221;). Authors must supply a value for this attribute.<br />
There is no default value for this attribute.<br />
<strong>defer </strong>:  When set, this boolean attribute provides a hint to the user agent that the script<br />
is not going to generate any document content (e.g., no &#8220;document.write&#8221; in javascript)<br />
and thus, the user agent can continue parsing and rendering.<br />
<strong>language </strong>: This attribute specifies the scripting language of the contents of this element.<br />
Its value is an identifier for the language, but since these identifiers are<br />
not standard, this attribute has been <em><strong>deprecated </strong></em>in favor of type.<br />
Reference: <a href="http://www.w3.org/TR/REC-html40/interact/scripts.html" target="_blank">http://www.w3.org/TR/REC-html40/interact/scripts.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/javascript/include-js-files-inside-a-js-file.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>jQuery UI DatePicker Disable/Enable Specified Dates</title>
		<link>http://articles.tutorboy.com/jquery/jquery-ui-datepicker-disable-specified-dates.html</link>
		<comments>http://articles.tutorboy.com/jquery/jquery-ui-datepicker-disable-specified-dates.html#comments</comments>
		<pubDate>Fri, 03 Sep 2010 21:40:11 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Date Picker]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery from scratch]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[UI-DatePicker]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2346</guid>
		<description><![CDATA[We all are familiar with jQuery UI DatePicker, it have many options to customize the functionality. Instead of that we can be able to use or modify some of the values/params. Some times we want to disable/enable some days in &#8230; <a href="http://articles.tutorboy.com/jquery/jquery-ui-datepicker-disable-specified-dates.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://articles.tutorboy.com/jquery/jquery-ui-datepicker-disable-specified-dates.html"><img class="alignright size-full wp-image-2361" title="ui-datepicker-disable-specified-dates" src="http://articles.tutorboy.com/content/uploads/2010/09/ui-datepicker-disable-specified-dates.jpg" alt="" width="369" height="181" /></a>We all are familiar with jQuery UI DatePicker, it have many options to customize the functionality. Instead of that we can be able to use or modify some of the values/params. Some times we want to disable/enable some days in datepicker, jQuery doesn&#8217;t  have <span id="more-2346"></span>any direct optional values for that. Here I&#8217;m mentioning the usage of <strong>beforeShowDay </strong>param<strong> </strong>in datepicker. The basic usage of the datepicker is <em>$(selector).datepicker();</em><strong> </strong>if<strong> </strong>you want to use params then <em>$(&#8216;#datepicker&#8217;).datepicker({minDate: new Date(2010, 10, 27), dateFormat: &#8216;mm/dd/yy&#8217;,}); </em><strong>beforeShowDay</strong> param will accept the a function and it pass each date to the function before its shown to the UI datepicker panel. So if the function return true then the date will active otherwise its disabled. <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  by the help of this params we can enable or disable the dates. You can use some of the simple methods which I&#8217;m gonna describe below.</p>
<p style="text-align: justify;"><a class="wp-caption" href="http://articles.tutorboy.com/content/jquery_ui_datepicker_disable_specified_dates.php" target="_blank">View Demo</a></p>
<h2>jQuery files</h2>
<pre class="brush:js">&lt;link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"&gt;&lt;/script&gt;
</pre>
<h2>Simple datepicker</h2>
<pre class="brush:js">$("#datepicker").datepicker();
</pre>
<h2>Disable all dates till today</h2>
<pre class="brush:js">// get the current date
var date = new Date();
var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();

// Disable all dates till today
$('#datepicker2').datepicker({
		minDate: new Date(y, m, d),
		dateFormat: 'mm-dd-yy',
});</pre>
<h2>Disable all dates from today</h2>
<pre class="brush:js">// Disable all dates from today
$('#datepicker3').datepicker({
		maxDate: new Date(y, m, d),
		dateFormat: 'mm-dd-yy',
});
</pre>
<h2>Disable all weekends</h2>
<pre class="brush:js">// Disable all weekends
$('#datepicker4').datepicker({
		dateFormat: 'mm-dd-yy',
		beforeShowDay: $.datepicker.noWeekends
});
</pre>
<h2>Disable a list of dates</h2>
<pre class="brush:js">
// Disable a list of dates
var disabledDays = ["9-21-2010", "9-24-2010", "9-27-2010", "9-28-2010", "9-3-2010", "9-17-2010", "9-2-2010", "9-3-2010", "9-4-2010", "9-5-2010"];
function disableAllTheseDays(date) {
	var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();
	for (i = 0; i &lt; disabledDays.length; i++) {
		if($.inArray((m+1) + '-' + d + '-' + y,disabledDays) != -1) {
			return [false];
		}
	}
	return [true];
}
$('#datepicker5').datepicker({
		dateFormat: 'mm-dd-yy',
		beforeShowDay: disableAllTheseDays
});
</pre>
<h2>Enable a list of dates</h2>
<pre class="brush:js">
// Enable a list of dates
var enabledDays = ["9-21-2010", "9-24-2010", "9-27-2010", "9-28-2010", "9-3-2010", "9-17-2010", "9-2-2010", "9-3-2010", "9-4-2010", "9-5-2010"];
function enableAllTheseDays(date) {
	var m = date.getMonth(), d = date.getDate(), y = date.getFullYear();
	for (i = 0; i &lt; enabledDays.length; i++) {
		if($.inArray((m+1) + '-' + d + '-' + y,enabledDays) != -1) {
			return [true];
		}
	}
	return [false];
}
$('#datepicker6').datepicker({
		dateFormat: 'mm-dd-yy',
		beforeShowDay: enableAllTheseDays
});</pre>
<h2>Disable a range of dates</h2>
<pre class="brush:js">// Disable a range of dates
var disabledDaysRange = [["9-1-2010 to 9-6-2010", "9-10-2010 to 9-15-2010", "10-27-2010 to 10-30-2010"], '9-17-2010'];
function disableRangeOfDays(d) {
	for(var i = 0; i &lt; disabledDaysRange.length; i++) {
		if($.isArray(disabledDaysRange[i])) {
			for(var j = 0; j &lt; disabledDaysRange[i].length; j++) {
				var r = disabledDaysRange[i][j].split(" to ");
				r[0] = r[0].split("-");
				r[1] = r[1].split("-");
				if(new Date(r[0][2], (r[0][0]-1), r[0][1]) &lt;= d &amp;&amp; d &lt;= new Date(r[1][2], (r[1][0]-1), r[1][1])) {
					return [false];
				}
			}
		}else{
			if(((d.getMonth()+1) + '-' + d.getDate() + '-' + d.getFullYear()) == disabledDaysRange[i]) {
				return [false];
			}
		}
	}
	return [true];
}
$('#datepicker7').datepicker({
		dateFormat: 'mm-dd-yy',
		beforeShowDay: disableRangeOfDays
});</pre>
<h2>Enable a range of dates</h2>
<pre class="brush:js'">// Enable a range of dates
var disabledDaysRange = [["9-1-2010 to 9-6-2010", "9-10-2010 to 9-15-2010", "10-27-2010 to 10-30-2010"], '9-17-2010'];
function disableRangeOfDays(d) {
	for(var i = 0; i &lt; disabledDaysRange.length; i++) {
		if($.isArray(disabledDaysRange[i])) {
			for(var j = 0; j &lt; disabledDaysRange[i].length; j++) {
				var r = disabledDaysRange[i][j].split(" to ");
				r[0] = r[0].split("-");
				r[1] = r[1].split("-");
				if(new Date(r[0][2], (r[0][0]-1), r[0][1]) &lt;= d &amp;&amp; d &lt;= new Date(r[1][2], (r[1][0]-1), r[1][1])) {
					return [true];
				}
			}
		}else{
			if(((d.getMonth()+1) + '-' + d.getDate() + '-' + d.getFullYear()) == disabledDaysRange[i]) {
				return [true];
			}
		}
	}
	return [false];
}

$('#datepicker8').datepicker({
		dateFormat: 'mm-dd-yy',
		beforeShowDay: disableRangeOfDays
});
</pre>
<h2>Enable only Friday</h2>
<pre class="brush:js'">// Enable only Friday
$("#datepicker9").datepicker({
	dateFormat: 'dd-mm-yy',
	minDate: 1,
	beforeShowDay: enableFirday
});
// Custom function to enable friday only in jquery calender
function enableFirday(date) {
	var day = date.getDay();
	return [(day == 5), ''];
}
</pre>
<p>Note: All the above function works well with the dateformat <em><strong>mm-dd-yy</strong></em>. But you can change the values in the function mainly in this line <strong>(m+1) + &#8216;-&#8217; + d + &#8216;-&#8217; + y</strong>. Replace the &#8211; with your char usage the same dateformat in all the arrays and functions. Have fun <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/jquery/jquery-ui-datepicker-disable-specified-dates.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Rocks</title>
		<link>http://articles.tutorboy.com/websites/html5rocks.html</link>
		<comments>http://articles.tutorboy.com/websites/html5rocks.html#comments</comments>
		<pubDate>Mon, 30 Aug 2010 11:13:02 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Guest Post]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[HTML5Rocks]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2312</guid>
		<description><![CDATA[HTML5Rocks.com is an open source project!. HTML5Rocks.com A resource for developers looking to put HTML5 to use today, including information on specific features and when to use them in your apps. Google have recently updated their HTML5ROCKS site, originally launched &#8230; <a href="http://articles.tutorboy.com/websites/html5rocks.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>HTML5Rocks.com is an open source project!. HTML5Rocks.com A resource for developers <a href="http://articles.tutorboy.com/websites/html5rocks.html"><img class="size-medium wp-image-2313 alignleft" title="HTML5Rocks" src="http://articles.tutorboy.com/content/uploads/2010/08/HTML5Rocks-300x162.png" alt="" width="300" height="162" /></a>looking to put HTML5 to use today, including information on specific features and when to use them in your apps. Google have recently updated their HTML5ROCKS site, originally launched  in June this year, with numerous new demos and tutorials for HTML5 and  CSS3. The HTML5ROCKS Code Playground offers various interactive demos, along with code snippets, for various new CSS3 features including:    <span id="more-2312"></span>You can visit the site <a href="http://www.html5rocks.com/" target="_blank">here</a>.</p>
<ul>
<li><a href="http://playground.html5rocks.com/#columns" target="_blank">Multicolumn Layout</a></li>
<li><a href="http://playground.html5rocks.com/#rounded_corners" target="_blank">Rounded Corners</a></li>
<li><a href="http://playground.html5rocks.com/#web_fonts" target="_blank">Web Fonts</a></li>
<li><a href="http://playground.html5rocks.com/#text_wrapping" target="_blank">Text Wrapping</a></li>
<li><a href="http://playground.html5rocks.com/#text_stroke" target="_blank">Text Stroke</a></li>
<li><a href="http://playground.html5rocks.com/#transitions" target="_blank">Transitions</a></li>
<li><a href="http://playground.html5rocks.com/#2d_transforms" target="_blank">2d Transforms</a></li>
<li><a href="http://playground.html5rocks.com/#animations" target="_blank">Animations</a></li>
<li><a href="http://playground.html5rocks.com/#gradients" target="_blank">Gradients</a></li>
<li><a href="http://playground.html5rocks.com/#new_selectors" target="_blank">Selectors</a></li>
</ul>
<p>And you can find other HTML5 resources</p>
<ul>
<li><a href="http://html5readiness.com/">HTML5 Readiness</a> &#8211; visual timeline of HTML5 feature support.</li>
<li><a href="http://diveintohtml5.org/">Dive into HTML5</a> &#8211; learn HTML5 and have fun reading a book at the same time.</li>
<li><a href="http://www.modernizr.com/">Modernizr</a> &#8211; JavaScript library for feature detection and control fallback cases of HTML5.</li>
</ul>
<p style="text-align: center;"><a href="http://articles.tutorboy.com/websites/html5rocks.html"><img class="aligncenter size-full wp-image-2321" title="html5readiness" src="http://articles.tutorboy.com/content/uploads/2010/08/html5readiness.png" alt="" width="640" height="462" /></a><a href="http://articles.tutorboy.com/websites/html5rocks.html"><img class="aligncenter size-full wp-image-2313" title="HTML5Rocks" src="http://articles.tutorboy.com/content/uploads/2010/08/HTML5Rocks.png" alt="" width="777" height="422" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/websites/html5rocks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Image Gallery In jQuery</title>
		<link>http://articles.tutorboy.com/jquery/simple-image-gallery-in-jquery.html</link>
		<comments>http://articles.tutorboy.com/jquery/simple-image-gallery-in-jquery.html#comments</comments>
		<pubDate>Sun, 29 Aug 2010 18:49:43 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery Plug-in]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2241</guid>
		<description><![CDATA[jQuery plug-in for a simple image gallery  &#8220;simpleGallery()&#8221;. This will load all the images to the gallery container, then the plug-in will calculate the image count and place a navigation link and placed at the bottom-right of the gallery container. &#8230; <a href="http://articles.tutorboy.com/jquery/simple-image-gallery-in-jquery.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">jQuery plug-in for a simple <a href="http://articles.tutorboy.com/content/Simple_Image_Gallery_In_jQuery.html"><img class="alignright size-full wp-image-2291" title="Simple_Image_Gallery_In_jQuery" src="http://articles.tutorboy.com/content/uploads/2010/08/Simple_Image_Gallery_In_jQuery.jpg" alt="" width="335" height="253" /></a>image gallery  &#8220;simpleGallery()&#8221;. This will load all the images to the gallery container, then the plug-in will calculate the image count and place a navigation link and placed at the bottom-right of the gallery container. The images will change on mouse over of the links and the tooltip will shown at the top &#8211; center of the gallery container.</p>
<p style="text-align: justify;"><a class="wp-caption" title="Download  Simple Image Gallery In jQuery Source" href="http://downloads.tutorboy.com/articles/Simple_Image_Gallery_In_jQuery.zip" target="_blank">Download</a> <a class="wp-caption" title="View Demo" href="http://articles.tutorboy.com/content/Simple_Image_Gallery_In_jQuery.html">View Demo</a><span id="more-2241"></span></p>
<p style="text-align: justify;">Here is the source code and descriptions.</p>
<h2>HTML</h2>
<pre class="brush:html">&lt;div id="simpleGallery"&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/01.jpg" title="SNGCE#1 Administrative Block "/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/02.jpg" title="Image #2"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/03.jpg" title="Image #3"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/04.jpg" title="Image #4"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/05.jpg" title="Image #5"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/06.jpg" title="SNGCE#1 Renjith, Kauma, Midhun, Eldose, CP, ES and Gijo"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/07.jpg" title="Image #7"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/08.jpg" title="Image #8"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/09.jpg" title="SNGCE#1 Arun CP and Midhun Devasia"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/10.jpg" title="Image #10"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/11.jpg" title="Image #11"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/12.jpg" title="Image #12"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/13.jpg" title="Image #13"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/14.jpg" title="Image #14"/&gt;
 &lt;img src="Simple_Image_Gallery_In_jQuery/15.jpg" title="Image #15"/&gt;
 &lt;div id="image-links"&gt;&lt;/div&gt;
 &lt;div id="image-tooltip"&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<h2>CSS</h2>
<pre class="brush:css">#simpleGallery {
	border:1px solid #d4d4d4;
	padding:5px;
	width:720px;
	height:540px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	margin:0 auto;
}
#simpleGallery img {
	z-index:0;
	display:inline;
	position:absolute;
}
.active-image{z-index:1000!important;}
#image-links, #image-tooltip{
	font-family:tahoma;
	font-size:12px;
	color:white;
	position:absolute;
	z-index:10001;
	background-color:black;
	line-height:15px;
}
#image-links a {text-decoration:none;}
#image-tooltip, #image-links, .transparent{
	filter:alpha(opacity=60); /*for IE*/
	-moz-opacity: 0.6; /*for ff*/
	opacity: 0.6;
	z-index:10001!important;
}
#image-tooltip{
	padding:5px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	margin-top:10px;
}</pre>
<h2>jQuery</h2>
<pre class="brush:js">$(document).ready(function(){
	// call the jquery simple gallery plugin function
	$("div#simpleGallery img").simpleGallery();
});
	// Simplte Gallery jQuery plug-in
(function($){
	$.fn.simpleGallery = function(){
		var i = 0;
		// get the navigation links
		$links = $("div#image-links");
		// oarse each item in the #simpleGallery
		this.each(function(){
			i++;
			$this = $(this);
			// set an id for each image elements
			$this.attr("id", "gotoImage"+i);
			//  Create navigation links from the image title attribute
			$links.append('&lt;div&gt;&lt;a href="#gotoImage'+i+'" style="color:white;padding:4px"&gt;#'+ i +'&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;');
		});
		var g = $("div#simpleGallery");
		// get the first img object
		var prev = $("div#simpleGallery :first-child");
		var toolTipDiv = $("#image-tooltip");
		toolTipDiv.html($(prev).attr("title"));
		toolTipDiv.css({"margin-left":(g.width() - $("#image-tooltip").width())/2});
		// set the position of the navigation at the bottom of the gallery container.
		$links.css({"text-align":"right","margin-top": g.height() - $links.height(), "margin-left": g.width() - $links.width()})
		// set the hover event of the links
		$("a.image-link").mouseover(function() {
		prev.removeClass();
			var imageId = $(this).attr("href");
			$(imageId).addClass("active-image");
			prev = $(imageId);
			toolTipDiv.html(prev.attr("title"));
			toolTipDiv.animate({opacity: "0"}, "fast");
			toolTipDiv.css({"margin-left":(g.width() - $("#image-tooltip").width())/2});
			toolTipDiv.stop(true, true).animate({opacity: ".7"}, "slow");
		}).mouseout(function(){
		});
	}
})(jQuery);</pre>
<p><a class="wp-caption" title="Download  Simple Image Gallery In jQuery Source" href="http://downloads.tutorboy.com/articles/Simple_Image_Gallery_In_jQuery.zip" target="_blank">Download</a> <a class="wp-caption" title="View Demo" href="http://articles.tutorboy.com/content/Simple_Image_Gallery_In_jQuery.html">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/jquery/simple-image-gallery-in-jquery.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Shaky/Vibrating Menu</title>
		<link>http://articles.tutorboy.com/jquery/jquery-shakyvibrating-menu.html</link>
		<comments>http://articles.tutorboy.com/jquery/jquery-shakyvibrating-menu.html#comments</comments>
		<pubDate>Fri, 27 Aug 2010 06:37:21 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Js]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2254</guid>
		<description><![CDATA[A simple Vibrating menu with jQuery and CSS. I used the ul li pattern to make the menus.  When we move the mouse cursor over the a menu item, the active menu will stop the vibrating motion and other menus &#8230; <a href="http://articles.tutorboy.com/jquery/jquery-shakyvibrating-menu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A simple Vibrating menu with jQuery and CSS. I used the ul li pattern to make the menus.  When we move the mouse cursor over the a menu item, the active menu will stop the vibrating motion and other menus are start the shaky/vibrating motion. Logic behind the shaky/vibration  is just changing the CSS properties of the elements, toggling the Top, Left positions of the elements in a period of time which is defined in the jQuery plug-in code.<a href="http://articles.tutorboy.com/jquery/jquery-shakyvibrating-menu.html"><img class="aligncenter" title="jquery-vibrating-menu" src="http://articles.tutorboy.com/content/uploads/2010/08/jquery-vibrating-menu1.jpg" alt="" width="538" height="109" /></a><span id="more-2254"></span></p>
<p><a class="wp-caption" href="http://articles.tutorboy.com/content/jquery-shakyvibrating-menu.html" target="_blank">View Demo</a></p>
<h2>CSS</h2>
<pre class="brush:css">.menu    {margin: 0 auto;text-align: center;display:block;width: 600px;height: 60px;}
.menu ul {margin:0px;padding:0px;list-style:none;line-height:normal}
.menu li {float:left;margin-left:4px}
.menu a  {
	display: block;
	padding:5px;
	font-weight:normal;
	border:1px solid rgba(0,0,0, 0.05);
	-moz-border-radius: 2px;
	-moz-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
	background-color: #749a02;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(255,255,255,0);
	text-decoration:none;
}
</pre>
<h2>HTML</h2>
<pre class="brush:html">&lt;div id="menuBase"&gt;
 &lt;ul id="main"&gt;
 &lt;li&gt;&lt;a title="Google.com" href="#"&gt;Google.com&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a title="Tutorboy.com" href="#"&gt;Tutorboy.com&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a title="FlashGamesForU.com" href="#"&gt;FlashGamesForU.com&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a title="Digg.com" href="#"&gt;Digg.com&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a title="Yahoo.com" href="#"&gt;Yahoo.com&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/div&gt;</pre>
<h2>jQuery</h2>
<pre class="brush:js">// Load the jQuery
&lt;script type="text/javascript" src="jquery.min.js"&gt;&lt;/script&gt;
// wait for document to load
$(document).ready(function(){
 // call the shakymenu plugin function.
 $("div#menuBase ul#main li").shakyMenu();
});</pre>
<h2>jQuery Plug-in</h2>
<p>jQuery plugin script for the shakyMenu(), function will parse all the DOM elements as per the CSS selector specified and activate the hover events for each elements. interval:30,duration:1000,shake:4 are the parameters which used. <em>duration</em>: duration of the shake/vibration, <em>interval: </em>shake period in milliseconds. Here we use the javascript setInterval, setTimeOut and clearInterval properties for the shake control.</p>
<pre class="brush:js">// Here is the jQuery plugin code for the shakymenu
(function($){
	$.fn.shakyMenu = function() {
		// Setting the parameters value
		var params = $.extend({interval:30,duration:1000,shake:4}, params);
		// get the root element
		var first = this;
		// parse all the child nodes
		return this.each(function(){
		// assign the current child
		var $this = $(this);
		// set the mouse over action for the child
		$this.hover(function(){
			var t = this;
			// The interval function to make the vibration/shaky effect to the
			// other nodes.
			var I = function(){
				$(first).not(t).stop(true,false).css({position:"relative",
				left:Math.round(Math.random()*params.shake)-((params.shake+1)/2)+"px",
				top:Math.round(Math.random()*params.shake)-((params.shake+1)/2)+"px"});
			};
			// set the interval function as per the params values
			var sI = setInterval(I, params.interval);
			// function definition for the clear interval
			var cI = function(){
			// clear the interval
			clearInterval(sI);
			// and set the child positions position back to the original after the
			// animation(shaky/vibrating)
			$(first).stop(true,false).css({left:"0",top:"0"})
			};
			// set the timeout function to clear the interval function.
			setTimeout(cI, params.duration);
		}, function(){});
		});
	}
})(jQuery);//end of jquery plugin code.</pre>
<p><a class="wp-caption" href="http://articles.tutorboy.com/content/jquery-shakyvibrating-menu.html" target="_blank">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/jquery/jquery-shakyvibrating-menu.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dojo: Image Slideshow</title>
		<link>http://articles.tutorboy.com/dojo/image-slideshow.html</link>
		<comments>http://articles.tutorboy.com/dojo/image-slideshow.html#comments</comments>
		<pubDate>Thu, 12 Aug 2010 17:52:11 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Dojo]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SlideShow]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=2112</guid>
		<description><![CDATA[Here is a simple image slide-show using Dojo and HTML/CSS. The SlideShow panel contains the Images and Description. All the images are placed in a div dojo-slideshow and put another div inside the dojo-slideshow to show the image description that &#8230; <a href="http://articles.tutorboy.com/dojo/image-slideshow.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Here is a simple image slide-show using Dojo and HTML/CSS. The SlideShow panel <a rel="attachment wp-att-2119" href="http://articles.tutorboy.com/dojo/image-slideshow.html/attachment/dojo-simple-image-slideshow"><img class="size-full wp-image-2119 alignleft" title="Dojo.Simple.Image.SlideShow" src="http://articles.tutorboy.com/content/uploads/2010/08/Dojo.Simple.Image_.SlideShow.jpg" alt="" width="287" height="193" /></a>contains the Images and Description. All the images are placed in a <em>div dojo-slideshow</em> and put another div inside the <em>dojo-slideshow </em>to show the image description that came from the <strong>img </strong><em>title </em>attribute. And more thing you need to set, ie add an <strong><em>active-image </em></strong>to the img tag, for the first image you want to show on the start up. Slide show<span id="more-2112"></span><br />
<a class="wp-caption" href="http://downloads.tutorboy.com/articles/Dojo-simple-slideshow.zip">Download</a><a class="wp-caption" href="http://articles.tutorboy.com/content/dojoSimpleSlideShow" target="_blank">View Demo</a></p>
<h2>HTML</h2>
<pre class="brush:html">&lt;div id="dojo-slideshow"&gt;
 &lt;img src="images/01.jpg" title="Image 1" class="active-image"/&gt;
 &lt;img src="images/02.jpg" title="Image 2"/&gt;
 &lt;img src="images/03.jpg" title="Image 3"/&gt;
 &lt;img src="images/04.jpg" title="Image 4"/&gt;
 &lt;img src="images/05.jpg" title="Image 5"/&gt;
 &lt;img src="images/06.jpg" title="Image 6"/&gt;
 &lt;img src="images/07.jpg" title="Image 7"/&gt;
 &lt;div id="slideshow-desc"&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<h2>CSS</h2>
<pre class="brush:css'">&lt;style&gt;
 #dojo-slideshow {
 border:1px solid #d4d4d4;
 padding:5px;
 position:relative;
 width:450px;
 height:300px;
 -moz-border-radius:4px;
 -webkit-border-radius:4px;
 border-radius:4px;

 }
 #dojo-slideshow img {
 z-index:0;
 display:inline;
 position:absolute;

 }
 .active-image{
 z-index:1000!important;
 }
 #slideshow-desc{
 font-family:tahoma;
 font-size:12px;
 color:black;
 position:absolute;
 margin:270px 0 0 0;
 z-index:10001;
 background-color:white;
 width:450px;
 height:25px;
 line-height:25px;
 opacity:.7;
 }
 &lt;/style&gt;</pre>
<h2>Dojo</h2>
<pre class="brush:js">&lt;script type="text/javascript"&gt;
 dojo.require("dojo.NodeList-traverse");
 var count = 0;
 var currentItem = 1;
 dojo.ready(function(){
 count = dojo.query("img", "dojo-slideshow").length;
 setDecription(dojo.query(".active-image").attr("title"))
 setInterval("dojoSlideShow()", 3000);
 });
 function dojoSlideShow(){

 var active = dojo.query(".active-image");
 var next = active.next("img");
 active.removeClass();
 if(next == "") {
 currentItem = 0;
 next = dojo.query("#dojo-slideshow img").first();
 }
 currentItem++;
 next.addClass("active-image");
 setDecription(next.attr("title"));

 }
 function setDecription(title) {
 dojo.byId("slideshow-desc").innerHTML = "(" + currentItem + " of " + count + ") " + title;
 }
 &lt;/script&gt;</pre>
<p>Include the Dojo Libs</p>
<h2>Dojo Js File</h2>
<pre class="brush:js">&lt;script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p><a class="wp-caption" href="http://downloads.tutorboy.com/articles/Dojo-simple-slideshow.zip">Download </a><a class="wp-caption" href="http://articles.tutorboy.com/content/dojoSimpleSlideShow" target="_blank">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/dojo/image-slideshow.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vertical Floating Menu With Accordion Effect Using CSS &amp; jQuery</title>
		<link>http://articles.tutorboy.com/javascript/vertical-floating-menu-with-accordion-effect-using-css-jquery.html</link>
		<comments>http://articles.tutorboy.com/javascript/vertical-floating-menu-with-accordion-effect-using-css-jquery.html#comments</comments>
		<pubDate>Wed, 23 Jun 2010 01:55:13 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Accordion Menu]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[Floating Menu]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript Menu]]></category>
		<category><![CDATA[Jquery Menu]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=1816</guid>
		<description><![CDATA[It is a combination of 3 types of menu styles, Floating, Sliding and Accordion with the css and jQuery.  The menu will appear in the screen as a floating menu, on mouse over the menu will slide(visible) from left to &#8230; <a href="http://articles.tutorboy.com/javascript/vertical-floating-menu-with-accordion-effect-using-css-jquery.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is a combination of 3 types of menu styles, Floating, <a href="http://articles.tutorboy.com/content/uploads/2010/06/Menu-After-Slide.png"><img class="size-full wp-image-1826 alignright" style="margin: -5px 5px;" title="Menu After Slide" src="http://articles.tutorboy.com/content/uploads/2010/06/Menu-After-Slide.png" alt="" width="308" height="183" /></a>Sliding and Accordion with the css and jQuery.  The menu will appear in the screen as a floating menu, on mouse over the menu will slide(visible) from left to outside. And on mouse out event the menu will slide to left. On the menu you can click on each item, and the sub-entries will shown with an animated effect. While window scrolling the menu will hide to left-side and floating on the same position.<a href="http://articles.tutorboy.com/content/uploads/2010/06/Menu-Before-Expand.png"><img class="size-full wp-image-1825 alignleft" style="margin-left: 0px; margin-right: 5px;" title="Menu Before Expand" src="http://articles.tutorboy.com/content/uploads/2010/06/Menu-Before-Expand.png" alt="" width="308" height="107" /></a><span id="more-1816"></span>The two level  menu style is done with nested  ul, li elements.</p>
<p><a class="wp-caption" title="Download the source code" href="http://downloads.tutorboy.com/articles/Floating_Accordion_sliding_menu.zip">Download</a> <a class="wp-caption" title="View Demo" href="http://articles.tutorboy.com/content/Floating_Accordion_sliding_menu/">Demo</a></p>
<h2>HTML</h2>
<pre class="brush:html">&lt;div id="floating"&gt;
 &lt;div id="accordionMenu"&gt;
 &lt;ul id="accordion"&gt;
 &lt;li&gt;
 &lt;a href="#"&gt;Recent Posts&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 2&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a href="#"&gt;Archives&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 4&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 5&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#"&gt;Link 6&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
 &lt;/div&gt;
 &lt;div id="closeOpen"&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p>The above html is the layout of the UL li list. Replace with your content.</p>
<h2>CSS</h2>
<pre class="brush:css">body {padding:0;margin:0;height:2000px;}
#floating {position:absolute;top:150px;font-size:.9em;}
#floating a {color:#FFF;text-decoration:none;}
#accordionMenu {width: 300px;}
#closeOpen {float:right;width:18px;}
#accordion {border:1px #666 solid;background-color:#DDD;margin-top:0;padding:0;float:left;list-style: none;width: 280px;}
#accordion ul {list-style: none;padding:0;display: none;}
#accordion li{cursor: pointer;padding:3px;list-style:none;font-weight:bold;background-color:#36A8FF;}
#accordion li ul li a{font-style:italic;}
#accordion li ul li{border-top:1px #666666 solid;}
#accordion li ul li:hover{background-color:#c0c0c0;}
#accordion li ul {display: none;}
#accordion li.current ul{display:block;}
#accordion .current ul{padding-left:10px;}</pre>
<h2>HTML Header</h2>
<pre class="brush:html">&lt;head&gt;
 &lt;script type="text/javascript" src="jquery-latest.min.js"&gt;&lt;/script&gt;
 &lt;script type="text/javascript" src="jquery.scrollTo-min.js"&gt;&lt;/script&gt;
 &lt;link type="text/css" rel="stylesheet" href="style.css"/&gt;
&lt;/head&gt;</pre>
<p>You need to download the latest jQuery and <em><strong><a title="Plugins | jQuery Plugins" href="http://plugins.jquery.com/project/ScrollTo">scrollTo plugin</a>. </strong></em></p>
<h2>jQuery Script</h2>
<pre class="brush:js">&lt;script type="text/javascript"&gt;
 var menuIconWidth = 20;
 var topMargin = null;
 var openImage = '&lt;img src="right.png" alt="open" /&gt;';
 var closeImage = '&lt;img src="left.png" alt="close" /&gt;';
 // floating div id
 var floatingDiv = "#floating";
 // accordion menu div id
 var accordionDiv = "#accordion";

 $(document).ready(function () {
 $("#closeOpen").html(openImage);
 topMargin = parseInt($(floatingDiv).css("top").substring(0,$(floatingDiv).css("top").indexOf("px")))
 $(floatingDiv).css({left: menuIconWidth - $(floatingDiv).width()});
 // for floating menu
 $(floatingDiv).mouseenter(function () {
 // show menu
 $(this).stop().animate({left:  0}, "slow");
 $("#closeOpen").html(closeImage);
 }).mouseleave (function () {
 // hide menu
 $(this).stop().animate({left: menuIconWidth - $(this).width()}, "slow");
 $("#closeOpen").html(openImage);
 });
 // handle the scroll event of the window.
 $(window).scroll(function () {
 // calculate the offset of the page scroll and animate the div for the floating effect.
 var offset = topMargin + $(document).scrollTop() + "px";
 $(floatingDiv).animate({top:offset}, {duration:500, queue:false});
 });

 // for According Menu
 $(accordionDiv + ' &gt; li a').click(function() {
 if($(this).parent().hasClass('current')) {
 $(this).siblings('ul').slideUp(300,function() {
 $(this).parent().removeClass('current');
 $.scrollTo(accordionDiv,300);
 });
 } else {
 $(accordionDiv + ' li.current ul').slideUp(300, function() {
 $(this).parent().removeClass('current');
 });
 $(this).siblings('ul').slideToggle(300, function() {
 $(this).parent().toggleClass('current');
 });
 $.scrollTo(accordionDiv, 300);
 }
 return false;
 });

 });
 &lt;/script&gt;</pre>
<p>In the above jQuery the floating and accordion are write separately, so you can disable a feature easily. <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="wp-caption" title="Download the source code" href="http://downloads.tutorboy.com/articles/Floating_Accordion_sliding_menu.zip">Download</a> <a class="wp-caption" title="View Demo" href="http://articles.tutorboy.com/content/Floating_Accordion_sliding_menu/">Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/javascript/vertical-floating-menu-with-accordion-effect-using-css-jquery.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript Common Escape Sequences</title>
		<link>http://articles.tutorboy.com/javascript/javascript-common-escape-sequences.html</link>
		<comments>http://articles.tutorboy.com/javascript/javascript-common-escape-sequences.html#comments</comments>
		<pubDate>Sat, 19 Jun 2010 18:16:49 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://articles.tutorboy.com/?p=1804</guid>
		<description><![CDATA[It’s better coding practice to use escape sequences, because they make your code easier to read. Escape sequences are also useful for situations where you want to use characters that can’t be typed using a keyboard. Escape Sequences Character Represented &#8230; <a href="http://articles.tutorboy.com/javascript/javascript-common-escape-sequences.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It’s better coding practice to use escape sequences, because they make your code easier to read. Escape sequences are also useful for situations where you want to use characters that can’t be typed using a keyboard.<span id="more-1804"></span></p>
<table border="0" cellpadding="2" width="100%">
<thead>
<th>Escape Sequences</th>
<th>Character Represented</th>
</thead>
<tbody>
<tr>
<td>\b</td>
<td>Backspace.</td>
</tr>
<tr>
<td>\f</td>
<td>Form feed.</td>
</tr>
<tr>
<td>\n</td>
<td>Newline.</td>
</tr>
<tr>
<td>\t</td>
<td>Tab.</td>
</tr>
<tr>
<td>\&#8217;</td>
<td>Single quote.</td>
</tr>
<tr>
<td>\&#8221;</td>
<td>Double quote.</td>
</tr>
<tr>
<td>\\</td>
<td>Backslash.</td>
</tr>
<tr>
<td>\xNN</td>
<td>NN is a hexadecimal number that identifies a character in the Latin-1<br />
character set (the Latin-1 character is the norm for English-speaking<br />
countries).</p>
<pre class="brush:js">document.write( "\x40 is @" );</pre>
</td>
</tr>
<tr>
<td>\uDDDD</td>
<td>DDDD is a hexadecimal number identifying a Unicode character.</p>
<pre class="brush:js">document.write( "\u00AE is ®" );
</pre>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/javascript/javascript-common-escape-sequences.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-Browser CSS Gradients For Backgrounds</title>
		<link>http://articles.tutorboy.com/css/css-gradients.html</link>
		<comments>http://articles.tutorboy.com/css/css-gradients.html#comments</comments>
		<pubDate>Thu, 03 Jun 2010 19:22:57 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://tutorboy.com/articles/?p=1681</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/css/css-gradients.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a simple fade over effect &#8211; JQuery</title>
		<link>http://articles.tutorboy.com/javascript/creating-a-simple-fade-over-effect-jquery.html</link>
		<comments>http://articles.tutorboy.com/javascript/creating-a-simple-fade-over-effect-jquery.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 12:48:20 +0000</pubDate>
		<dc:creator>Sreejith Sreedharan</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://tutorboy.com/articles/?p=1428</guid>
		<description><![CDATA[Here , i will tell you how to add a fade over /fade in effect to image button in jquery. its very simple&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; 1. Import jquery &#60;script type='text/javascript' src='http://yoursite.com/jquery.js'&#62;&#60;/script&#62; 2. Add a div tag with image in it &#60;div class="fadeDiv"&#62; &#8230; <a href="http://articles.tutorboy.com/javascript/creating-a-simple-fade-over-effect-jquery.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here , i will tell you how to add a fade over /fade in effect to image button in jquery. its very simple&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p>
<h2>1. Import jquery</h2>
<pre class="brush:js">&lt;script type='text/javascript' src='http://yoursite.com/jquery.js'&gt;&lt;/script&gt;</pre>
<h2>2. Add a div tag with image in it</h2>
<pre class="brush:html">&lt;div class="fadeDiv"&gt;
    &lt;img src="1jpg" alt="" /&gt;
    &lt;img src="2.jpg" alt="" /&gt;
&lt;/div&gt;<span id="more-1428"></span></pre>
<h2>3 .  Add script Jquery on load</h2>
<pre class="brush:js">$(document).ready(function(){
 $("img").hover(
 function() {
 $(this).animate({"opacity": "0"}, "slow");
 },
 function() {
 $(this).animate({"opacity": "1"}, "slow");
 }
 );
});</pre>
<p>That&#8217;s it . you can now see the fade in and fade out effect on mouse over the button<br />
you can change the js to add more functionalites.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/javascript/creating-a-simple-fade-over-effect-jquery.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
