<?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>Design Gala &#187; How to</title>
	<atom:link href="http://designgala.com/topics/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://designgala.com</link>
	<description>Web Usability, Web Technology, User Experience</description>
	<lastBuildDate>Wed, 02 May 2012 03:55:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>3 Helpful Tools to Test Cross Browser Compatibility of Webpage</title>
		<link>http://designgala.com/3-helpful-tools-to-test-cross-browser-compatibility-of-webpage/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=3-helpful-tools-to-test-cross-browser-compatibility-of-webpage</link>
		<comments>http://designgala.com/3-helpful-tools-to-test-cross-browser-compatibility-of-webpage/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 13:21:26 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Cross Browser]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1200</guid>
		<description><![CDATA[Apart from teaching at KCC, I sometimes do crossbrowing testing to help my team at 76miles tech. And I must admit that its the most tedious task to view web pages in different...]]></description>
			<content:encoded><![CDATA[<p>Apart from teaching at <a href="http://kcc.edu.np" target="_blank">KCC</a>, I sometimes do crossbrowing testing to help my team at <a href="http://76miles.com">76miles</a> tech. And I must admit that its the most tedious task to view web pages in different browsers under different platforms. Below are my list of 3 helpful tools to test crossbrowser compatibility of page.</p>
<p><strong>1. <a href="http://browsershots.org/" target="_blank">BrowserShots</a></strong><br />
<a href="http://browsershots.org/" target="_blank"><img class="alignnone size-full wp-image-1205" title="browsershots_logo (Small)" src="http://www.designgala.com/wp-content/uploads/2010/01/browsershots_logo-Small.gif" alt="" width="540" /></a></p>
<p>Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser. Then they will make screenshots and upload them to the central server.</p>
<p><strong>2. <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank">IETester</a></strong></p>
<p><a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank"><img class="alignnone size-full wp-image-1212" title="ietester-0.3" src="http://www.designgala.com/wp-content/uploads/2010/01/ietester-0.3.png" alt="ietester-0.3" width="540" /></a></p>
<p>I have found testing under IE is lot of headache. Fortunately, IETester, a free WebBrowser allows you to have the rendering and javascript engines of IE8, IE7 IE 6 and IE5.5 on Windows 7, Vista and XP, as well as the installed IE in the same process.</p>
<p><strong>3. <a href="http://ipinfo.info/netrenderer/" target="_blank">NetRenderer</a></strong></p>
<p><a href="http://ipinfo.info/netrenderer/" target="_blank"><img class="alignnone size-full wp-image-1213" title="netrenderer" src="http://www.designgala.com/wp-content/uploads/2010/01/netrenderer.jpg" alt="netrenderer" width="540" /></a></p>
<p>This web rendering tool is ideally suited for web designers working on Apple iMac and Linux workstations. It allows to verify web designs natively on all popular Internet Explorer versions, without the need to set aside several physical or virtual Microsoft Windows PCs just for that purpose.</p>
<p>Whats your favorite tools? Please share.</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/3-helpful-tools-to-test-cross-browser-compatibility-of-webpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 3 Transitions</title>
		<link>http://designgala.com/css-3-transitions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-3-transitions</link>
		<comments>http://designgala.com/css-3-transitions/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 02:38:19 +0000</pubDate>
		<dc:creator>manish</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[CSS3 transitions]]></category>

		<guid isPermaLink="false">http://designgala.com/?p=2692</guid>
		<description><![CDATA[Its been sometime since  CSS3 has been introduced, bringing some interesting new presentational techniques along with it. Today, we’ll review the basics of using CSS3 transitions to add an extra layer of polish....]]></description>
			<content:encoded><![CDATA[<p>Its been sometime since  CSS3 has been introduced, bringing some interesting new presentational techniques along with it. Today, we’ll review the basics of using CSS3 transitions  to add an extra layer of polish.</p>
<p>Let’s create a simple example of animating a pop out sign.</p>
<p><a href="http://designgala.com/wp-content/uploads/2011/05/css3_transition.jpg"><img class="alignnone size-full wp-image-2693" src="http://designgala.com/wp-content/uploads/2011/05/css3_transition.jpg" alt="css3 transition image" width="292" height="257" /></a></p>
<p>First Create a Div with images</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">&amp;lt;div id=&quot;signpost&quot;&amp;gt;
	&amp;lt;img id=&quot;post&quot; src=&quot;post.png&quot;&amp;gt;
	&amp;lt;img id=&quot;sign&quot; src=&quot;sign.png&quot;&amp;gt;
&amp;lt;/div&amp;gt;</pre>
</div>
</div>
<p>Create the bounding box for the signpost, and give it a relative positioning context to ensure that we can position items absolutely within it.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#signpost</span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">60px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">196px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Next, the post is positioned with a z-index of two, to place it on top of the sign.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#post</span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">79px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">196px</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Now we place sign underneath the Post and rotate it with our CSS3 transform property</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sign</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">46px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">60</span><span style="color: #00AA00;">;</span>
-webkit-transform-origin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
-moz-transform-origin<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
&nbsp;
-webkit-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>86deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-transform<span style="color: #00AA00;">:</span> rotate<span style="color: #00AA00;">&#40;</span>86deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>
-webkit-transition<span style="color: #3333ff;">:-webkit-</span>transform 0.5s ease-in-out<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>The sign is rotated using transform: rotate(86deg), and is positioned under the post. To ensure that the sign rotates around the proper point, we must change the <strong>transform origin</strong> to the top left corner: 0, 0.</p>
<p><a href="http://designgala.com/wp-content/uploads/2011/05/changeoforigin.jpg"><img class="alignnone size-full wp-image-2694" src="http://designgala.com/wp-content/uploads/2011/05/changeoforigin.jpg" alt="css3 transform" width="100" height="150" /></a></p>
<p>We set the transition to change the transform property over 0.5s with an ease-in-out profile, and on hover, we rotate the sign back to its original orientation.</p>
<div class="wp_syntax">
<div class="code">
<pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#signpost</span><span style="color: #3333ff;">:hover </span><span style="color: #cc00cc;">#sign</span><span style="color: #00AA00;">&#123;</span>
	-webkit-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>0deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
         -moz-transform<span style="color: #00AA00;">:</span>rotate<span style="color: #00AA00;">&#40;</span>0deg<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre>
</div>
</div>
<p>Reference: <a href="http://net.tutsplus.com/">http://net.tutsplus.com</a>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/css-3-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating Message Box Using Jquery</title>
		<link>http://designgala.com/floating-message-box-using-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=floating-message-box-using-jquery</link>
		<comments>http://designgala.com/floating-message-box-using-jquery/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 04:45:30 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[floating message box]]></category>
		<category><![CDATA[floating message box using jquery]]></category>
		<category><![CDATA[message box]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=2383</guid>
		<description><![CDATA[Sometimes, we have to show some extra message in our post which are important and linked with the post and cannot put that in the webpage like some important announcement and breaking news...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.designgala.com/wp-content/uploads/2010/07/iceberg2.jpg"><img src="http://www.designgala.com/wp-content/uploads/2010/07/iceberg2.jpg" alt="" title="iceberg2" width="519" height="270" class="alignnone size-full wp-image-2386" /></a><br />
Sometimes, we have to show some extra message in our post which are important and linked with the  post and cannot put that in the webpage  like some important announcement  and breaking news etc. In these cases, it can better  option  to use a Floating Message Box which will appear in front of the webpage .  Today, I am going to discuss the code which will create a floating message box using jquery . You can use this code everywhere you want .<span id="more-2383"></span></p>
<p><strong>Step 1</strong>:<br />
Copy and paste the following code on the head section of your webpage .</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;script language=&quot;javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; src=&quot;jquery.dimensions.js&quot;&gt;&lt;/script&gt;
<span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #003366; font-weight: bold;">var</span> <span style="color: #000066;">name</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;#floatMess&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> menuYloc <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
		$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	menuYloc <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;top&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;top&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
			$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #000066;">scroll</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				offset <span style="color: #339933;">=</span> menuYloc<span style="color: #339933;">+</span>$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>top<span style="color: #339933;">:</span>offset<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span><span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>queue<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#close_message'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#123;</span>
  			$<span style="color: #009900;">&#40;</span><span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> top<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;+=15px&quot;</span><span style="color: #339933;">,</span>opacity<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	 <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p><strong>Step 2</strong>:<br />
Add the following code in the CSS style sheet or  in the style section of html page.</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;">#floatMess <span style="color: #009900;">&#123;</span>
		position<span style="color: #339933;">:</span>absolute<span style="color: #339933;">;</span>
		top<span style="color: #339933;">:</span>5px<span style="color: #339933;">;</span>
		float<span style="color: #339933;">:</span>left<span style="color: #339933;">;</span>
		width<span style="color: #339933;">:</span><span style="color: #CC0000;">95</span><span style="color: #339933;">%;</span>
		border<span style="color: #339933;">:</span>1px solid #<span style="color: #CC0000;">999</span><span style="color: #339933;">;</span>
		background<span style="color: #339933;">-</span>color<span style="color: #339933;">:</span>#<span style="color: #CC0000;">456</span><span style="color: #339933;">;</span>
		color<span style="color: #339933;">:</span>#ccc<span style="color: #339933;">;</span>
		padding<span style="color: #339933;">:</span>5px 5px 5px 25px<span style="color: #339933;">;</span>
		text<span style="color: #339933;">-</span>align<span style="color: #339933;">:</span>center<span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #009900;">&#125;</span></pre>
</div>
</div>
<p> The above codes select the color,size font color, width etc of the floating message box.<br />
You can change the upper parameters as per your requirements.</p>
<p><strong>Step 3</strong>:<br />
 Now it’s the time for adding the main thing in the body section of your webpage ie the main message DIV which is going to be displayed on the webpage. Copy the following codes and paste it in the beginning of the body section or anywhere , it will not affect the other div of the page .</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;floatMess&quot;</span><span style="color: #339933;">&gt;&lt;</span>img id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;close_message&quot;</span> style<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;float:right;cursor:pointer&quot;</span>  src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;cross.png&quot;</span> <span style="color: #339933;">/&gt;</span>
      Your message Goes here
 <span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p><strong>Step 4</strong>:<br />
You will need to download  following three files and save it in the same folder which contains the main html file.</p>
<ul>
<li>jquery.js</li>
<li>jquery.dimensions.js</li>
<li>cross.png  ( ICON need to display cross image  at the message box )</li>
</ul>
<p><strong>Downloads:</strong></p>
<ul>
<li><a href="http://www.designgala.com/demos/floatmessage/jquery.js" target=" "><strong>Click here</strong></a> to download jquery.js</li>
<li><a href="http://www.designgala.com/demos/floatmessage/jquery.dimensions.js" target=" "><strong>Click here</strong></a> to download jquery.dimensions.js</li>
<li><a href="http://www.designgala.com/demos/floatmessage/cross.png" target=" "><strong>Click here</strong></a> to download cross.png</li>
</ul>
<p><strong>DEMO</strong></p>
<ul>
<li><a href="http://www.designgala.com/demos/floatmessage/message.html" target=" "><strong>Click here</strong></a>  to see DEMO </li>
<li><a href="http://www.designgala.com/demos/floatmessage/demo.rar" target=" "><strong>Click here</strong></a> to download the zip version of demo file .</li>
</ul>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/floating-message-box-using-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress Error 404 Pages: Essential Tips and Tools</title>
		<link>http://designgala.com/wordpress-error-404-pages-essential-tips-and-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-error-404-pages-essential-tips-and-tools</link>
		<comments>http://designgala.com/wordpress-error-404-pages-essential-tips-and-tools/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 09:22:28 +0000</pubDate>
		<dc:creator>S@R0Z</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=2401</guid>
		<description><![CDATA[The 404 page can be a huge headache for anyone who manages a website. And sometimes figuring out how to handle such errors when using a CMS such as WordPress can be even...]]></description>
			<content:encoded><![CDATA[<p>The 404 page can be a huge headache for anyone who manages a website.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-2404" src="http://www.designgala.com/wp-content/uploads/2010/07/404.jpg" alt="" width="458" height="189" /></p>
<p>And sometimes figuring out how to handle such errors when using a CMS such as WordPress can be even more challenging. WordPress has default settings for handling 404 errors, but they leave a lot to be desired.</p>
<p><strong>What Causes Error 404 Pages in WordPress?</strong></p>
<p>404 pages in WordPress are most often caused because of a change in the permalink structure of the site. If a site owner changes the permalink structure of their WP blog, they’re likely going to end up with incoming links pointing to pages that are no longer located at a particular address. This means those incoming visitors will be given a 404 page instead of the content they were looking for.<br />
<span id="more-2401"></span><br />
Other causes of 404 pages may be in the code of your index.php or search.php files. If there’s an error in the code in either file, it may return results with invalid addresses (or it may not return results at all). If you’ve made customizations to your index.php or search.php files, it’s a good idea to check and make sure they’re not serving up invalid addresses and that all of your pages are still working. Always save a backup of the previous version of each file before making changes in case you need to roll back to an earlier version.</p>
<h3>Potential Damages of Error 404 Pages</h3>
<p>The most obvious damage caused by getting a 404 page has to do with the bounce rate on your site. If a visitor follows a link to your site and they get a 404 page rather than the content they were looking for, it’s unlikely they’ll search your site to find it. They may assume that it no longer exists on your site at all, and simply look elsewhere.</p>
<div>If your site is filled with 404 errors, it’s possible you’ll take a hit in search engine rankings, too. If search engine spiders are constantly presented with non-existant pages, they’ll penalize your site for having invalid links. One or two 404 pages may not have much of an impact, but if half the pages the search engine thinks should be there aren’t, you’ll take a bigger hit.</div>
<h3></h3>
<h3>How to Prevent Error 404 Pages</h3>
<p>The best way to prevent 404 pages is to be proactive. First of all, set up your permalinks properly from the start. If you take the time when you first launch a blog to set up well-structured permalinks, you’ll be unlikely to need to change them in the future.</p>
<p>Be proactive about incoming links that aren’t correct. Send a quick note to the person who runs the site with the link and ask them to change it to the correct link. Most site owners will be more than happy to do so.</p>
<p>Don’t take down old content. If you have to take something down, rather than deleting it entirely, create a custom page at that address that provides some information on what used to be there, or links to other posts and pages that might be of interest to the visitor.</p>
<p>There are a variety of plugins out there that can help you prevent and manage 404 pages, too.
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/wordpress-error-404-pages-essential-tips-and-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ten Guidelines for Perfect CMS</title>
		<link>http://designgala.com/ten-guidelines-for-perfect-cms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ten-guidelines-for-perfect-cms</link>
		<comments>http://designgala.com/ten-guidelines-for-perfect-cms/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 07:49:09 +0000</pubDate>
		<dc:creator>S@R0Z</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=2390</guid>
		<description><![CDATA[1. The CMS you choose should be really good at whatever the main function of your website is. What do you want your website to do? Is it going to be primarily a...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.designgala.com/wp-content/uploads/2010/07/gestores-de-contenido-cms.gif" alt="" width="374" height="379" class="aligncenter size-full wp-image-2395" /><br />
<strong>1. The CMS you choose should be really good at whatever the main function of your website is.</strong></p>
<p>What do you want your website to do? Is it going to be primarily a static website, like an online brochure? Or is it going to be a fully-functioning ecommerce site? Or maybe it’s going to be really media-heavy with tons of videos, photos, and audio files. Or is a blog going to be the primary focus?<br />
<span id="more-2390"></span><br />
Whatever your site’s primary function is going to be, you need to define it and then find a CMS that does that particular thing really, really well. If blogging is the main focus of the site, then use a blog platform. If images and video are the main focus, then you need to find a CMS that either has great support for media built-in or has great plugins for enabling those functions. If your site is going to focus on an online store, then the platform you choose needs to be able to seamlessly integrate that online store without a ton of extra work.</p>
<p><strong> 2. A CMS needs to work intuitively.</strong></p>
<p>When you average user opens up the backend of the site, they should be able to figure out how to do basic functions without too much instruction. Different elements of the site should be clearly labeled. The basics of posting a new page, editing a page, and even changing themes or sidebar elements should all be relatively simple to figure out for the average computer user.</p>
<p><strong>3. The backend needs to be standardized.</strong></p>
<p>Things should all work basically the same way in the backend of the site. A good CMS should have a standardized format for each section of the backend. If one section uses a drop-down menu for selecting something, then all of the other sections should use the same type of menu for similar options—not radio buttons or some other selector.</p>
<p>The same goes for the way things are named or otherwise referred to. If something is called a “page” in one place and a “post” in another, that’s going to get confusing (plus, most people consider those two different things). If it’s a “sidebar” in one place and a “second column” somewhere else, that’s going to confuse your average user.</p>
<p><strong>4. The backend needs to be logical and well-organized.</strong></p>
<p>Things should be laid out logically in the backend. This means that all of the functions related to editing, or sidebars, or themes, or creating new content, should be grouped somehow or otherwise function the same. Alternatively, some CMSs put all of the things related to pages in one place, sidebars in another, plugins in another, etc. Either way, they’re laid out logically and once you know the basic architecture, it’s easy enough to figure out where things are supposed to be.</p>
<p><strong>5. The right CMS shouldn’t have a ton of extra functionality you’ll never use.</strong></p>
<p>This is a completely personal choice. Some sites will make use of tons of advanced functionality. Other sites won’t. If you’re never going to have an online store, why do you need a CMS that focuses on ecommerce? If you never plan to do anything beyond posting photos to your site, why have a CMS that does that plus a hundred other things? Instead, find a CMS that does the one thing you want to do really well and forget about the other features.</p>
<p><strong>6. The right CMS should be easy for non-geeks to use.</strong></p>
<p>Web designers and developers are very good at using web-based applications and pretty much anything else computer-related. A lot of their clients, on the other hand, probably aren’t. While most of the end-users of any CMS are going to have at least basic computer knowledge, they’re probably not super tech savvy. While you might love a particular CMS and think it’s the best thing since solid-state hard drives, your clients might find it confusing, hard to use, and overly complicated.</p>
<p>The question I always ask myself when considering this is, “Could my mother use this?” My mother is your typical business computer user. She can do spreadsheets, word processing, and email, but she’s definitely not a techy. If I’m confident that I could easily explain a CMS to her and she’d then be able to use it with a minimum of later support, then I know it’s going to be appropriate for 90% of other likely users.</p>
<p><strong>7. It needs to include a WYSIWYG editor.</strong></p>
<p>WYSIWYG editors make life easier for your clients. Most clients don’t know HTML and don’t care to learn. But they want to be able to use bold or italic text or use header tags to create sections within their pages. A WYSIWYG editor makes that all possible for non-tech-savvy users.</p>
<p><strong>8. The pages it creates should be fast-loading and have simple code.</strong></p>
<p>One of the major advantages of a CMS is that it simplifies the updating and management of a website. So the pages it produces should also be simple. There shouldn’t be a lot of extra code or provisions for unused functionality in the final page code. All that serves to do is slow the load times for the page and increase the likelihood that something will render wrong or throw an error.</p>
<p><strong>9. The template engine should allow you complete creative control.</strong></p>
<p>Some CMSs have very set ideas about what a website should look like. There needs to be a sidebar for navigation. You shouldn’t use navigation dropdowns. The content has to be arranged in nice, neat columns. Who’s the designer here? Whatever CMS you choose should let you design pages the way you want and should work around your needs.</p>
<p><strong>10. The right CMS should have adequate support and documentation.</strong></p>
<p>In all likelihood, you’re going to run into some sort of problems with any CMS you choose. Whether this is caused by add-ons or in the course of customizing some bit of code, or whether the CMs is doing something unexpected, having somewhere you can turn to to get advice on how to fix the problem is invaluable.</p>
<p>This doesn’t necessarily have to be some expensive tech support phone number or other paid support. Sometimes you can get quicker and better responses from a user community. Does the CMS you’re considering have support forums frequented both by other users and by those involved in the project? Are there other, off-site forums dedicated to that particular CMS? The people who visit these forums can be a wealth of information for doing just about anything with your CMS of choice.</p>
<p>Thorough documentation for the CMS is also valuable. It should provide information on everything from basic use of the CMS to customizations and advanced functionality.</p>
<p style="text-align: right"><a href="http://www.noupe.com/php/choosing-cms-tips.html" target="_blank">Article Source</a></p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/ten-guidelines-for-perfect-cms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Integrate WordPress with Twitter?</title>
		<link>http://designgala.com/how-to-integrate-wordpress-with-twitter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-integrate-wordpress-with-twitter</link>
		<comments>http://designgala.com/how-to-integrate-wordpress-with-twitter/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:50:35 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1925</guid>
		<description><![CDATA[By integrating, I mean to say about posting your blog topics and links to twitter status. In other words, it&#8217;s about publishing your wordpress articles as tweets in twitter. I don&#8217;t mean the...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="alignleft size-full wp-image-1927" src="http://www.designgala.com/wp-content/uploads/2010/02/wordpress_TwitterCombo.jpg" alt="" width="550" height="300" /> By integrating, I mean to say about posting your blog topics and links to twitter status. In other words, it&#8217;s about publishing your wordpress articles as tweets in twitter.</p>
<p style="text-align: justify;">I don&#8217;t mean the entire article content coz twitter only allows 140 chars max :) I just mean  publishing your article title and link to twitter.</p>
<p style="text-align: justify;">Here is an <a href="http://wordpress.org/extend/plugins/wp-to-twitter/">awesome wordpress plugi</a>n which lets you post your wordpress article to your twitter status automatically. It&#8217;s called <a href="http://wordpress.org/extend/plugins/wp-to-twitter/">WP to Twitter</a>.</p>
<p style="text-align: justify;">It has very good options to be selected. You can tweet whenever your post is published. Or, even when your post is being edited. You can also tweet whenever your wp pages are published or edited.</p>
<p style="text-align: justify;">The prominent feature I like about this plugin is that it lets you post your wordpress article&#8217;s content as tweet by setting character limit. Moreover, it publishes your wp article tags as hashtags in twitter.</p>
<p style="text-align: justify;">The URL Shortener is always there. You can do with Cli.gs, Bit.ly or use wordpress as url shortener.</p>
<p style="text-align: justify;">This plugin is very beneficial and is a must if you are a twitter user or a twitter fan lik e me :)</p>
<p style="text-align: justify;">Keep blogging and keep tweeting&#8230;</p>
<p style="text-align: justify;">Cheers,</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-integrate-wordpress-with-twitter/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Get Twitter Follower Count in WordPress?</title>
		<link>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-twitter-follower-count-in-wordpress</link>
		<comments>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 13:45:45 +0000</pubDate>
		<dc:creator>Anish Lama</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1832</guid>
		<description><![CDATA[I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see...]]></description>
			<content:encoded><![CDATA[<p>I am neither the first nor the last one that will be writing about placing twitter follower counter in webpage. Though there already exist many widgets anyone can easily use and customize; see <a href="http://twittercounter.com/">here</a> and <a href="http://www.widgetbox.com/widget/chris-count-chriscount-on-twitter">here</a>; But those widgets have limited options in terms of color, layout and moreover they have their info attched (somewhere) in widget which does not feels good. Here&#8217;s my attempt on how to get follower count in twitter using PHP.</p>
<p><img class="alignright size-full wp-image-1834" title="twitter pool" src="http://www.designgala.com/wp-content/uploads/2010/02/twitter_pool.jpg" alt="" width="500" /></p>
<p><span id="more-1832"></span></p>
<p><strong>Step 1:</strong><br />
We will create a PHP file; lets say <strong>follower_count.php</strong> or whatever you&#8217;d like to name it. Then simply put following contents in that page.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php
<span style="color: #000088;">$twitter_username</span>	<span style="color: #339933;">=</span>	<span style="color: #0000ff;">'designgala'</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">// please replace it with your twitter username</span>
<span style="color: #000088;">$tw</span>	<span style="color: #339933;">=</span>	get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;total_twitter_followers&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$tw</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'lastcheck'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> – <span style="color: #cc66cc;">3600</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 	<span style="color: #000088;">$xml</span>	<span style="color: #339933;">=</span>	<span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://twitter.com/users/show.xml?screen_name='</span><span style="color: #339933;">.</span> <span style="color: #000088;">$twitter_username</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/followers_count&amp;gt;(.*)</span></pre>
</div>
</div>
<p><strong>Explanation:</strong><br />
I used 2 PHP functions <strong><em><a href="http://php.net/manual/en/function.file-get-contents.php">file_get_contents()</a></em></strong> and <em><strong><a href="http://php.net/manual/en/function.preg-match.php">preg_match()</a></strong></em> here. file_get_contents fetches twitter xml file and stores in buffere while preg_match searches followers_count for a match in the buffer returned by earlier function.</p>
<p><strong>Step 2:</strong><br />
Now you can include above file using PHP include like below in any template file.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?php <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;follower_count.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre>
</div>
</div>
<p>Thats it. It will show twitter follower count.</p>
<p>[Photo Credit: <a href="http://www.flickr.com/photos/javajunky/4331986096/in/pool-twitter">JavaJunky</a> via Flickr]
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-get-twitter-follower-count-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Make Your Website More Popular &amp; Interactive With Cool Wibiya Toolbar</title>
		<link>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar</link>
		<comments>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 08:47:01 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[wibiya]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=1218</guid>
		<description><![CDATA[Wibiya enables blogs to integrate the most exciting services, applications and widgets of their choice into their blog through customized web-based toolbars. You can add the toolbar to wordpress, blogger, typepad, drupal, joomla,...]]></description>
			<content:encoded><![CDATA[<p><a href="http://wibiya.com" target="_blank"><strong>Wibiya</strong></a> enables blogs to integrate the most exciting services, applications and widgets of their choice into their blog through customized web-based toolbars.</p>
<p><img src="http://www.designgala.com/wp-content/uploads/2010/01/wibiya.jpg" alt="wibiya" title="wibiya" width="569" class="alignleft size-full wp-image-1219" /></p>
<p>You can add the toolbar to wordpress, blogger, typepad, drupal, joomla, ning, vBulletin, and even in your custom website as well.</p>
<p><strong>Benefits</strong><br />
- Increase page views and time on site<br />
- Increase content sharing with the social tools available<br />
- Enrich your content and increase communication</p>
<p>Here is a list of Applications available in wibiya toobar (there are more applications than the list below):</p>
<p>- <strong>Search</strong> (add search box in the toolbar)</p>
<p>- <strong>Google Translation</strong> (translate your page with google translation)</p>
<p>- <strong>Latest posts</strong> (view latest posts from the toolbar)</p>
<p>- <strong>Random posts</strong> (view random posts)</p>
<p>- <strong>Live notifications</strong> (broadcast alerts, messages, news and more to all your visitors)</p>
<p>- <strong>Real time users</strong> (display real time stats of your website including number of online users, popular pages and a dynamic geolocaion user map)</p>
<p>- <strong>Navigation links</strong> (create a custom navigation menu or button that make it easier for your visitors to reach different pages)</p>
<p>- <strong>Subscribe</strong> (add rss subscription button)</p>
<p>- <strong>Sharing tools</strong> (facebook, twitter, email, digg, stumbleupon, yahoo! buzz, myspace and more)</p>
<p>- <strong>Facebook community</strong> (create your own website community with facebook connect in just one click)</p>
<p>- <strong>Twitter dashboard</strong> (post tweets from website, latest tweets, twitter search, and more)</p>
<p>- <strong>Facebook fan page</strong> (bring your fan page to your website and grow the number of fans)</p>
<p>- <strong>Photo gallery</strong> (display your flickr photogallery in your website)</p>
<p>- <strong>Youtube channel</strong> (display your youtube video gallery in your website)</p>
<p>You can view the demo of the toolbar in the <a href="http://wibiya.com"><strong>wibiya homepage</strong></a> itself.</p>
<p>Use wibiya toolbar, make your site more popular, interactive and cool. ;)</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/make-your-website-more-popular-and-interactive-with-the-cool-wibiya-toolbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet While Browsing</title>
		<link>http://designgala.com/tweet-while-browsing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tweet-while-browsing</link>
		<comments>http://designgala.com/tweet-while-browsing/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 17:25:10 +0000</pubDate>
		<dc:creator>Mukesh Chapagain</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=974</guid>
		<description><![CDATA[Scenario: You are browsing the web. You liked a url and wanted to share it, probably on twitter. The old lengthy way: You will open twitter.com, login with you username and password. Open...]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong></p>
<p>You are browsing the web. You liked a url and wanted to share it, probably on twitter.</p>
<p><strong>The old lengthy way:</strong></p>
<p>You will open twitter.com, login with you username and password. Open url shortner like bit.ly and shorten the url you want to share. Then post your tweet with some text and shortened url.</p>
<p><strong>The new and quick way:</strong></p>
<p>You can do the same very easily and quickly. I hope you are using Firefox. So, there is a firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url </a> which will shorten the url and display the result in location bar. It supports more than 100 URL shorteners.</p>
<p>You can always remain logged in in twitter with the firefox addon <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon</a>. Echofon adds a tiny status bar icon that notifies you when your friends post tweets. You can also view updates in a timeline and post your own tweets.</p>
<p>So, it&#8217;s just simple. Shorten any url with <a href="https://addons.mozilla.org/en-US/firefox/addon/11423">Shorten url</a> ff addon. And share it adding some text with <a href="https://addons.mozilla.org/en-US/firefox/addon/5081">Echofon </a>ff addon.</p>
<p>Enjoy tweeting!</p>
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/tweet-while-browsing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to refresh DIV using jquery</title>
		<link>http://designgala.com/how-to-refresh-div-using-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-refresh-div-using-jquery</link>
		<comments>http://designgala.com/how-to-refresh-div-using-jquery/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 10:20:49 +0000</pubDate>
		<dc:creator>Rabi Shrestha</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designgala.com/?p=943</guid>
		<description><![CDATA[jQuery; magic in web programming, have allowed us to use different features with the simple knowledge to use them. I was searching for basic code to refresh the specific DIV using jquery and...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.designgala.com/wp-content/uploads/2010/01/ref.jpg" alt="ref" title="ref" width="530" class="aligncenter size-full wp-image-953" /><br />
jQuery; magic in web programming, have allowed us to use  different features with the simple knowledge to use them. I was searching for basic code to refresh the specific DIV using jquery and found <a href="http://www.9lessons.info/2009/07/auto-load-refresh-every-10-seconds-with.html" target="_blank">this article</a> and like to share with my viewers.</p>
<p>There are  very simple steps to achieve this:<br />
<strong>Step 1:</strong><br />
Copy the following code and paste it in the head section of your webpage.</p>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">var</span> auto_refresh <span style="color: #339933;">=</span> setInterval<span style="color: #009900;">&#40;</span>
<span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#loaddiv'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'slow'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'reload.php'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">20000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre>
</div>
</div>
<p>Here, above the file &#8220;reload.php&#8221; will be reloaded in every 20000ms i.e 20 second . You can change the file which you have to reload and you can also change the reload time as per your requirement.<br />
and secondly, the #loaddiv is the name of DIV which is going to be refreshed.</p>
<p><strong>Step 2:</strong><br />
and now you need to put the div in the body section of your page</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">&lt;div id=&quot;loaddiv&quot;&gt;
&lt;/div&gt;</pre>
</div>
</div>
<p><strong>Step 3:</strong><br />
Now finally you need to write the code for the file &#8220;reload.php&#8221; which will extract the contends from the other page  or it also may contain the code to read the data from the database depending upon requirement.<br />
here i am going to read a small content from another site. you can copy , paste the code and save it as the filename &#8220;reload.php&#8221;. in the same folder that contains the source code.</p>
<div class="wp_syntax">
<div class="code">
<pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;img src='http://www.76miles.com/'/&gt;&quot;</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p>Now your page is ready .<br />
<a href="http://www.designgala.com/demos/divref/a3.html" target="_blank">Click here</a> to see the demo.
<div id="fb-root"></div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><!-- Do not remove --></p>
]]></content:encoded>
			<wfw:commentRss>http://designgala.com/how-to-refresh-div-using-jquery/feed/</wfw:commentRss>
		<slash:comments>56</slash:comments>
		</item>
	</channel>
</rss>

