<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Skepo &#187; JavaScript</title>
	<atom:link href="http://www.skepo.info/category/programming/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skepo.info</link>
	<description>programming, web development, linux</description>
	<lastBuildDate>Sat, 08 May 2010 11:40:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Starting with jQuery &#8211; Learning basics</title>
		<link>http://www.skepo.info/programming/javascript/starting-with-jquery-learning-basics/</link>
		<comments>http://www.skepo.info/programming/javascript/starting-with-jquery-learning-basics/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 21:32:28 +0000</pubDate>
		<dc:creator>skepo</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.skepo.info/?p=381</guid>
		<description><![CDATA[JQuery is a nice JavaScript library which enables us to make nice fancy effects. JavaScript can do this alone but it&#8217;s much easier to do it using jQuery. If you want to learn about jQuery here is a good starting point, it&#8217;s a presentation by Dmitri Gaskin. He is 12 year old, but he is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com">JQuery</a> is a nice JavaScript library which enables us to make nice fancy effects. JavaScript can do this alone but it&#8217;s much easier to do it using jQuery. If you want to learn about jQuery here is a good starting point, it&#8217;s a presentation by Dmitri Gaskin. He is 12 year old, but he is very smart and talented he is involved in Drupal project and this presentation is from Google tech talk.</p>
<p>This video covers a lot of basic things about jQuery like:</p>
<ul>
<li>Manipulation</li>
<li>Selectors</li>
<li>Attributes</li>
<li>Events and other</li>
</ul>
<p>Enjoy!</p>
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/8mwKq7_JlS8" width="480" height="385"><param name="movie" value="http://www.youtube.com/v/8mwKq7_JlS8" /><param name="FlashVars" value="playerMode=embedded" /><param name="wmode" value="transparent" /></object>
]]></content:encoded>
			<wfw:commentRss>http://www.skepo.info/programming/javascript/starting-with-jquery-learning-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>How to make a javascript redirection script</title>
		<link>http://www.skepo.info/programming/javascript/how-to-make-a-javascript-redirection-script/</link>
		<comments>http://www.skepo.info/programming/javascript/how-to-make-a-javascript-redirection-script/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 14:32:15 +0000</pubDate>
		<dc:creator>skepo</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[redirection]]></category>

		<guid isPermaLink="false">http://www.skepo.info/?p=99</guid>
		<description><![CDATA[If you need to redirect visitors from one page to another or if you changed the domain you need a redirection script. Redirection can be done in many different ways but i will show you the simplest way, that is using a java script. Java script only needs to be supported by browsers and every [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to redirect visitors from one page to another or if you changed the domain you need a redirection script. Redirection can be done in many different  ways but i will show you the simplest way, that is using a java script.  Java script only needs to be supported by browsers and every modern browser supports it. So java script is the best way for doing redirection.</p>
<p>The main part of redirection is to use window.location=&#8221;http://something.com&#8221;. Put this in one function  and it will look like this:</p>
<pre class="brush: jscript;">function redirect(){
window.location = &quot;http://www.skepo.info&quot;
}</pre>
<p>But we don&#8217;t want to redirect visitor just like that. We will set delay of let say 5 seconds and show visitor message that he will be redirected to other location. For that there is a function setTimeout(), it needs 2 parameters: first is what to do when the time elapses and second how much time does it need to wait in milliseconds. Let&#8217;s  say we want to load redirect function after 5000 milliseconds (5 seconds):</p>
<pre class="brush: jscript;">setTimeout(redirect(),5000)</pre>
<p>Now we will put this in the body tag, add it as parameter to onLoad.<br />
And the whole thing looks like this:</p>
<pre class="brush: jscript;">
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Redirecting&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
function redirect(){
window.location = &quot;http://www.skepo.info&quot;
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onLoad=&quot;setTimeout('redirect()', 5000)&quot;&gt;
&lt;h2&gt;Skepo is moved to a new domain!&lt;/h2&gt;
You will be redirected to a new domain in 5 seconds. If you
don't want to wait click &lt;a href=&quot;http://www.skepo.info&quot;&gt;
here&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>And that&#8217;s it!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skepo.info/programming/javascript/how-to-make-a-javascript-redirection-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
	</item>
	</channel>
</rss>
