<?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>AquilaX's development blog &#187; Java Script</title>
	<atom:link href="http://dev.horemag.net/category/java-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.horemag.net</link>
	<description>code and so on...</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:29:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rating for Blogger (Blogspot)</title>
		<link>http://dev.horemag.net/2009/07/31/rating-for-blogger-blogspot/</link>
		<comments>http://dev.horemag.net/2009/07/31/rating-for-blogger-blogspot/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 07:17:14 +0000</pubDate>
		<dc:creator>AquilaX</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[blogspot]]></category>
		<category><![CDATA[rating]]></category>

		<guid isPermaLink="false">http://dev.horemag.net/2009/07/31/rating-for-blogger-blogspot/</guid>
		<description><![CDATA[If you want to add rating system for your posts in Blogger, check Outbrain (http://www.outbrain.com/). They have fully automated script for that.
I'm using it form my animated gifs blog.
]]></description>
			<content:encoded><![CDATA[<p>If you want to add rating system for your posts in Blogger, check Outbrain (<a href="http://www.outbrain.com/" onclick="javascript:urchinTracker('/outbound/article/http://www.outbrain.com/');">http://www.outbrain.com/</a>). They have fully automated script for that.<br />
I'm using it form my <a href="gif4e.blogspot.com">animated gifs blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.horemag.net/2009/07/31/rating-for-blogger-blogspot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control.Tabs</title>
		<link>http://dev.horemag.net/2008/01/15/controltabs/</link>
		<comments>http://dev.horemag.net/2008/01/15/controltabs/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 11:15:48 +0000</pubDate>
		<dc:creator>AquilaX</dc:creator>
				<category><![CDATA[Java Script]]></category>
		<category><![CDATA[control.tabs]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://dev.horemag.net/2008/01/15/controltabs/</guid>
		<description><![CDATA[I spend half of the day today, wondering why Control.tabs didn't work properly. The non-active div-s didn't hide on page load and the only way to initialize them as hidden was to set style="display:hidden" on every div, which makes the code very ugly. 
So I decided to debug the problem and it turned out that [...]]]></description>
			<content:encoded><![CDATA[<p>I spend half of the day today, wondering why <a href="http://livepipe.net/projects/control_tabs/" onclick="javascript:urchinTracker('/outbound/article/http://livepipe.net/projects/control_tabs/');">Control.tabs</a> didn't work properly. The non-active div-s didn't hide on page load and the only way to initialize them as hidden was to set style="display:hidden" on every div, which makes the code very ugly. </p>
<p>So I decided to debug the problem and it turned out that the prototype version I'm using is 1.6. Unfortunately (for me) there were <a href="http://www.prototypejs.org/2007/10/16/prototype-1-6-0-rc1-changes-to-the-class-and-event-apis-hash-rewrite-and-bug-fixes" onclick="javascript:urchinTracker('/outbound/article/http://www.prototypejs.org/2007/10/16/prototype-1-6-0-rc1-changes-to-the-class-and-event-apis-hash-rewrite-and-bug-fixes');">changes in hash handling</a>. In fact the old method of setting and getting values doesn't work anymore.<br />
The solution is to use prototype 1.5 or the new method:</p>
<pre class="javascript">&nbsp;
<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">containers</span>.<span style="color: #006600;">set</span><span style="color: #66cc66;">&#40;</span>link.<span style="color: #006600;">key</span>, $<span style="color: #66cc66;">&#40;</span>link.<span style="color: #006600;">key</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>and </p>
<pre class="javascript">&nbsp;
<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">containers</span>.<span style="color: #006600;">get</span><span style="color: #66cc66;">&#40;</span>link.<span style="color: #006600;">key</span><span style="color: #66cc66;">&#41;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://dev.horemag.net/2008/01/15/controltabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Google Gadget</title>
		<link>http://dev.horemag.net/2007/11/08/my-first-google-gadget/</link>
		<comments>http://dev.horemag.net/2007/11/08/my-first-google-gadget/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 09:21:41 +0000</pubDate>
		<dc:creator>AquilaX</dc:creator>
				<category><![CDATA[Google Gadgets]]></category>
		<category><![CDATA[google gadgets]]></category>
		<category><![CDATA[Java Script]]></category>

		<guid isPermaLink="false">http://dev.horemag.net/2007/11/08/my-first-google-gadget/</guid>
		<description><![CDATA[A while ago I decided to give Google Gadgets a try. I looked at the API and decided to create small gadget, which shows how much time I spend on the iGoogle page. The gadget itself can be found here and the source code can be downloaded from here.
The main idea is to use _IG_Prefs [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I decided to give <a href="http://code.google.com/apis/gadgets/index.html" onclick="javascript:urchinTracker('/outbound/article/http://code.google.com/apis/gadgets/index.html');">Google Gadgets</a> a try. I looked at the <a href="http://code.google.com/apis/gadgets/docs/overview.html" onclick="javascript:urchinTracker('/outbound/article/http://code.google.com/apis/gadgets/docs/overview.html');">API</a> and decided to create small gadget, which shows how much time I spend on the <a href="http://google.com/ig" onclick="javascript:urchinTracker('/outbound/article/http://google.com/ig');">iGoogle</a> page. The gadget itself can be found <a href="http://www.google.com/ig/directory?q=spent&amp;root=%2Fig&amp;dpos=top&amp;url=http://aquilax.googlepages.com/live.xml" onclick="javascript:urchinTracker('/outbound/article/http://www.google.com/ig/directory?q=spent&amp;root=%2Fig&amp;dpos=top&amp;url=http://aquilax.googlepages.com/live.xml');">here</a> and the source code can be downloaded from <a href="http://aquilax.googlepages.com/live.xml" onclick="javascript:urchinTracker('/outbound/article/http://aquilax.googlepages.com/live.xml');">here</a>.</p>
<p>The main idea is to use <strong>_IG_Prefs</strong> to store the time every 10 seconds in the user's server session and to load it on initialization.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.horemag.net/2007/11/08/my-first-google-gadget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

