<?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>Victorelu &#187; javascript</title>
	<atom:link href="http://victorelu.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://victorelu.com</link>
	<description>Romanian studying in Aarhus</description>
	<lastBuildDate>Sun, 29 Jan 2012 18:10:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Find Concerts in Your City</title>
		<link>http://victorelu.com/find-concerts-in-your-city/</link>
		<comments>http://victorelu.com/find-concerts-in-your-city/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 12:28:24 +0000</pubDate>
		<dc:creator>Victor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://victorelu.com/?p=827</guid>
		<description><![CDATA[I have recently launched a platform for easing the finding of concerts in your city or country. By sharing your location with SupM8.com, you are given the opportunity of finding which are the next musical events in your area, by basically not even using a single click! Saving a concert for later viewing is done [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently launched a platform for easing the finding of concerts in your city or country.</p>
<p style="text-align: center;"><a title="Concerts in your City" href="http://supm8.com/"><img class="aligncenter" title="SupM8" src="http://i.imgur.com/4NYp7.png" alt="" width="400" height="118" /></a></p>
<p>By sharing your location with <a href="http://supm8.com" target="_blank">SupM8.com</a>, you are given the opportunity of finding which are the next musical events in your area, by basically not even using a single click! Saving a concert for later viewing is done easily, just by dragging and dropping the concerts poster in one of the available boxes! And if that is not enough, how about sharing the concert, spreading the word and having fun with your friends during one of the concerts listed?</p>
<p>The website is fully functional only for HTML5 compliant browsers such as the latest versions of Firefox, Chrome or Safari. However, mobile users have the possibility of visiting the mobile version of supm8.com, which they automatically get redirected to.</p>
<p>SupM8.com is proudly powered by APIs from Last.fm, Google Maps and the passion for fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://victorelu.com/find-concerts-in-your-city/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: hide DIV with Javascript</title>
		<link>http://victorelu.com/tutorial-hide-div-with-javascript/</link>
		<comments>http://victorelu.com/tutorial-hide-div-with-javascript/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 10:54:48 +0000</pubDate>
		<dc:creator>Victor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://victorelu.com/?p=12</guid>
		<description><![CDATA[Ok, so I am giong to show you the easiest way to hide a DIV with Javascript. The effect is nice if you tweak it a little bit and this is just to be going you on with. I am going to write the code of the page here and then I will explain the [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I am giong to show you the easiest way to hide a DIV with Javascript. The effect is nice if you tweak it a little bit and this is just to be going you on with.</p>
<p>I am going to write the code of the page here and then I will explain the important actions which take place. It is not the best html code ever but as I said, this is not important.</p>
<pre>    &lt;html&gt;
    &lt;head&gt;
    &lt;script type="text/javascript"&gt;

    function hidediv()
    { document.getElementById("mydiv").style.display="none"; }
    function showdiv()
    { document.getElementById("mydiv").style.display="block"; }

    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;div id="mydiv"&gt;This is the text that hides or shows&lt;/div&gt;
    &lt;input type="submit" value="Hide!" onclick="hidediv()"&gt;
    &lt;input type="submit" value="Show!" onclick="showdiv()"&gt;
    &lt;/body&gt;
    &lt;/html&gt;</pre>
<p>Ok, so it wasn&#8217;t that hard, was it? Maybe the thing that looks the hardest is the javascript code located in the head section of the html code but then again, let&#8217;s check it out:</p>
<pre>function hidediv()
    { document.getElementById("mydiv").style.display="none"; }</pre>
<p>Alright so, <em>hidediv()</em> is the name of the function and the next line is self explanatory. <em>document.getElementById(&#8220;mydiv&#8221;).style.display=&#8221;none&#8221;</em> does exactly what it says: it searches the document for the element with the id &#8220;mydiv&#8221; and sets it&#8217;s display style to none. Take care because <em>getElementById</em> is case sensitive!</p>
<p>All we have to do next is to call the function on the click of the button&#8221;&lt;input type=&#8221;submit&#8221; value=&#8221;Hide!&#8221; onclick=&#8221;<em>hidediv()</em>&#8220;&gt; and our DIV hiding is done. Hope this will help! <img src='http://victorelu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  For a demo, click <a href="http://victorelu.com/tutorials/hidediv.htm" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://victorelu.com/tutorial-hide-div-with-javascript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

