<?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>KILLERSITES.COM &#187; javascript</title>
	<atom:link href="http://www.killersites.com/blog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killersites.com/blog</link>
	<description>Real world talk about web design, programming and the business of web design.</description>
	<lastBuildDate>Fri, 06 Nov 2009 16:49:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Beginners Javascript Video Tutorial</title>
		<link>http://www.killersites.com/blog/2009/beginners-javascript-video-tutorial/</link>
		<comments>http://www.killersites.com/blog/2009/beginners-javascript-video-tutorial/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 06:33:27 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[Podcast | Videos]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/?p=775</guid>
		<description><![CDATA[
Hi,
Today, the Web is a much more sophisticated place (dynamic shopping carts, blogs, DOM scripting, Ajax etc) &#8230; a Web that requires much more sophisticated web designers. To be a competitive and modern web designer these days, you have to learn more than just HTML and CSS . 
The &#8216;foundation&#8217; languages of web design today [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killersites.com/blog/wp-content/uploads/2009/10/beginner-javascript.png" alt="beginner-javascript" title="beginner-javascript" width="230" height="256" class="alignright size-full wp-image-777" /></p>
<p>Hi,</p>
<p>Today, the Web is a much more sophisticated place (dynamic shopping carts, blogs, DOM scripting, Ajax etc) &#8230; a Web that requires much more sophisticated web designers. To be a competitive and modern web designer these days, you have to learn more than just HTML and CSS . </p>
<p><strong>The &#8216;foundation&#8217; languages of web design today are:</strong></p>
<p>1. <a href="http://www.how-to-build-websites.com/lessonTwo.php">HTML</a><br />
2. <a href="http://www.csstutorial.net/">CSS</a><br />
3. <a href="http://www.killerjavascript.com/">Javascript</a><br />
4. <a href="http://www.killerphp.com/videos/">PHP</a></p>
<p>You don&#8217;t have to become a full-fledged nerd coder but you should at least understand the basic concepts and be able to read and write basic scripts. This way, when a client or your boss comes to you with some shopping cart script that he wants you to install &#8230; you wont be freaking out because you don&#8217;t understand a thing.  </p>
<p>So in keeping with my goal of training you guys and girls up, I just wanted to announce my latest video tutorial; a course on Javascript: <a href="http://www.killerjavascript.com/videos/">Beginners Javascript</a>.</p>
<p>&#8230; OK, not the most exciting title, but the video tutorials are perfect for people new to programming. Some details:</p>
<blockquote><p>Beginners Javascript is designed to teach total beginners Javascript programming. By the end of the 5 hrs of video training (over 39 individual videos) you will feel comfortable reading and writing usable Javascript code for everyday web tasks like spawning windows, validating forms and creating simple page effects.</p></blockquote>
<p><strong>The table of contents:</strong></p>
<p>Introduction (10:09)<br />
First Javascript (10:21)<br />
What is a programming language (6:18)<br />
Javascript event handlers part 1 (8:58)<br />
Javascript event handlers part 2 (6:40)<br />
Javascript event handlers part 3 (4:50)<br />
Javascript errors part 1 (6:39)<br />
Javascript errors part 2 (4:39)<br />
Javascript variables part 1 (10:53)<br />
Javascript variables part 2 (10:01)<br />
Javascript execution (4:21)<br />
Javascript functions part 1 (8:46)<br />
Javascript functions part 2 (6:22)<br />
Javascript functions part 3 (6:32)<br />
Javascript functions part 4 (9:27)<br />
if statements part 1 (7:33)<br />
if statements part 2 (6:52)<br />
if statements part 3 (8:55)<br />
Javascript loops part 1 (8:25)<br />
Javascript loops part 2 (5:58)<br />
Javascript object; a birds eye view (8:31)<br />
Javascript arrays part 1 (3:36)<br />
Javascript arrays part 2 (7:44)<br />
Javascript arrays part 3 (5:28)<br />
Javascript functions cont. part 3 (8:13)<br />
Javascript functions cont. part 4 (10:16)<br />
Javascript functions cont. part 4-b (9:57)<br />
Javascript functions cont. part 5 (9:18)<br />
Introduction to the DOM part 1 (8:31)<br />
Introduction to the DOM part 2 (3:37)<br />
Javascript forms part 1 (14:50)<br />
Javascript forms part 2 (15:10)<br />
Javascript forms part 3 (6:58)<br />
Javascript forms part 4 (8:51)<br />
Creating a toggle menu part 1 (6:59)<br />
Creating a toggle menu part 2 (10:39)<br />
Linking to external Javascript files (5:46)<br />
Spawning windows with Javascript (9:24)<br />
Javascript frameworks, conclusion to course (4:24)</p>
<p>That&#8217;s it for now.</p>
<p>Stefan Mischook<br />
www.killersites.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2009/beginners-javascript-video-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to the Javascript DOM</title>
		<link>http://www.killersites.com/blog/2009/introduction-to-the-javascript-dom/</link>
		<comments>http://www.killersites.com/blog/2009/introduction-to-the-javascript-dom/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 03:57:01 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[document object model]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/?p=770</guid>
		<description><![CDATA[Hi,
The DOM is short for: Document Object Model. This is basically a virtual map of the currently loaded web page. You can use this map along with the help of Javascript, to travel about your web page and do things like:

Insert tags
Remove tags
Insert text

&#8230; And a whole lot more. 
The DOM is the key to [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>The DOM is short for: Document Object Model. This is basically a virtual map of the currently loaded web page. You can use this map along with the help of Javascript, to travel about your web page and do things like:</p>
<ul>
<li>Insert tags</li>
<li>Remove tags</li>
<li>Insert text</li>
</ul>
<p>&#8230; And a whole lot more. </p>
<p>The DOM is the key to all those cool Javascript and Ajax affects that we now see all over the Web. Check out my new video that introduces you to the DOM and I also teach you an exercise I came up with to help you better understand the DOM:</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/-0ZcldkGlt8&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-0ZcldkGlt8&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>You can find the entire <a href="http://www.killerjavascript.com/">Javascript beginners course</a> at killerjavascript.com.</p>
<p>Thanks for watching.</p>
<p>Stefan Mischook</p>
<p>www.killersites.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2009/introduction-to-the-javascript-dom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Javascript videos on Javascript Event Handlers.</title>
		<link>http://www.killersites.com/blog/2009/javascript-videos-on-javascript-event-handlers/</link>
		<comments>http://www.killersites.com/blog/2009/javascript-videos-on-javascript-event-handlers/#comments</comments>
		<pubDate>Sun, 17 May 2009 18:36:41 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Podcast | Videos]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/?p=589</guid>
		<description><![CDATA[Hi,
I recently put out a few new videos on Javascript event handlers:
Javascript Event Handlers Part 1
Javascript Event Handlers Part 2
Javascript Event Handlers Part 3
These are part of my new growing collection of Javascript video tutorials that aim to teach total beginners how to read and write practical Javascript. 
I would like to point out that [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,<img src="http://www.killersites.com/blog/wp-content/uploads/2006/11/video-frog-icon.gif" alt="" title="video_tutorial" width="50" height="68" class="alignright size-full wp-image-129" /></p>
<p>I recently put out a few new videos on Javascript event handlers:</p>
<p><a href="http://www.killerjavascript.com/videos/03-javascript-event-handlers-part-1/03-javascript-event-handlers-part-1.html">Javascript Event Handlers Part 1</a></p>
<p><a href="http://www.killerjavascript.com/videos/03-javascript-event-handlers-part-2/03-javascript-event-handlers-part-2.html">Javascript Event Handlers Part 2</a></p>
<p><a href="http://www.killerjavascript.com/videos/03-javascript-event-handlers-part-3/03-javascript-event-handlers-part-3.html">Javascript Event Handlers Part 3</a></p>
<p>These are part of my new growing collection of <a href="http://www.killerjavascript.com/videos/">Javascript video tutorials</a> that aim to teach total beginners how to read and write practical Javascript. </p>
<p>I would like to point out that I&#8217;ve invested in making the sound for these videos as clear as possible &#8230; so let me know what you think.</p>
<p>Thanks,</p>
<p>Stefan Mischook</p>
<p>www.killersites.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2009/javascript-videos-on-javascript-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Beginners Javascript Video Tutorials</title>
		<link>http://www.killersites.com/blog/2009/new-beginners-javascript-video-tutorials/</link>
		<comments>http://www.killersites.com/blog/2009/new-beginners-javascript-video-tutorials/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 17:14:20 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[Podcast | Videos]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/?p=522</guid>
		<description><![CDATA[Hi,
I just wanted to make a quick announcement: I&#8217;ve released about 40 minutes of new video tutorials on beginners Javascript. Check out my new micro-site:
www.killerjavascript.com
This is a &#8217;sneak peak&#8217; of a new video tutorial course that targets total beginners to Javascript and programming in general. If you want to learn Javascript, I think these videos [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I just wanted to make a quick announcement: I&#8217;ve released about 40 minutes of new <a href="http://www.killerjavascript.com/videos/">video tutorials</a> on beginners Javascript. Check out my new micro-site:</p>
<p><a href="http://www.killerjavascript.com/">www.killerjavascript.com</a></p>
<p>This is a &#8217;sneak peak&#8217; of a new video tutorial course that targets total beginners to Javascript and programming in general. If you want to learn Javascript, I think these videos will be helpful.</p>
<p>Let me know what you think.</p>
<p>Stefan Mischook</p>
<p>www.killersites.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2009/new-beginners-javascript-video-tutorials/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ajax Video Tutorials</title>
		<link>http://www.killersites.com/blog/2008/ajax-video-tutorials/</link>
		<comments>http://www.killersites.com/blog/2008/ajax-video-tutorials/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 16:07:29 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[video tutorial]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/2008/ajax-video-tutorials/</guid>
		<description><![CDATA[Hi,
I just wanted to announce that I am now giving away a series of video lectures on Ajax &#8211; about 3 hrs worth.
The Videos:
Ajax Videos
These videos are not designed to be a tutorial, but rather, they are a lecture. None the less, these videos can help give you at least a basic understanding of what [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I just wanted to announce that I am now giving away a series of video lectures on Ajax &#8211; about 3 hrs worth.</p>
<p>The Videos:</p>
<p><a href="http://killerajax.com/">Ajax Videos</a></p>
<p>These videos are not designed to be a tutorial, but rather, they are a lecture. None the less, these videos can help give you at least a basic understanding of what Ajax is all about.</p>
<p>Anyway, they are free, so what do you have to loose!</p>
<p> <img src='http://www.killersites.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you guys want a proper killersites style (simple, practical and to the point) video tutorial, please let me know.</p>
<p>Thanks,</p>
<p>Stefan Mischook</p>
<p>www.killersites.com<br />
www.killerphp.com </p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2008/ajax-video-tutorials/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automatic Table Styling with Javascript.</title>
		<link>http://www.killersites.com/blog/2008/automatic-table-styling-with-javascript/</link>
		<comments>http://www.killersites.com/blog/2008/automatic-table-styling-with-javascript/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 13:18:16 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/2008/automatic-table-styling-with-javascript/</guid>
		<description><![CDATA[A while back a wrote a JavaScript script that automatically styled an HTML table. In a nutshell, the script automatically changes the background color of every 2nd row in an HTML table. 
Anyway, someone recently sent me an updated version of the script. You will probably want to read the original article before looking at [...]]]></description>
			<content:encoded><![CDATA[<p>A while back a wrote a JavaScript script that <a href="http://www.killersites.com/articles/articles_zebraTables.htm">automatically styled an HTML table</a>. In a nutshell, the script automatically changes the background color of every 2nd row in an HTML table. </p>
<p>Anyway, someone recently sent me an updated version of the script. You will probably want to read the original article before looking at these changes.</p>
<p><strong>From the email:</strong></p>
<blockquote><p>
I did some simplification on the code for zebrastripes. I don&#8217;t bother with the last array bit because TR elements have the bgColor attribute.</p>
<p>          trs[i].bgColor = ( i &#038; 1 )  ? stripe_colour_even : stripe_colour_odd;</p>
<p>Greetings,</p>
<p>tarjei</p>
<p><strong>The complete function:</strong></p>
<p>function stripe_table(id_name) {</p>
<p>  var my_table = document.getElementById(id_name);</p>
<p>  /* For debugging */<br />
  if ( !my_table ) {<br />
     alert(&#8221;The ID &#8221; + id_name + &#8221; is not found.&#8221;);<br />
     return;<br />
  }</p>
<p>      /* Table may have more than one tbody element */<br />
  var tbodies = my_table.getElementsByTagName(&#8221;tbody&#8221;);</p>
<p>  for (var cnt = 0; cnt < tbodies.length; cnt++) {<br />
     var trs = tbodies[ cnt ].getElementsByTagName("tr");</p>
<p>     /* Walk table row for row */<br />
     for (var i = 0; i < trs.length; i++) {<br />
        if (! hasClass(trs[i]) &#038;&#038; ! trs[i].style.backgroundColor) {<br />
              trs[i].bgColor = ( i &#038; 1 )  ? stripe_colour_even : stripe_colour_odd;<br />
           }<br />
       }<br />
     }<br />
  }<br />
}</p>
</blockquote>
<p>CIAO.</p>
<p>Stefan Mischook</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2008/automatic-table-styling-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matching Columns Script &#8211; Update.</title>
		<link>http://www.killersites.com/blog/2007/matching-columns-script-update/</link>
		<comments>http://www.killersites.com/blog/2007/matching-columns-script-update/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 14:06:45 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Ajax - Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css columns]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.killersites.com/blog/2007/matching-columns-script-update/</guid>
		<description><![CDATA[Hi,
I decided to create another blog post to make it easier to find the updated version of the important matching columns script &#8211; it was buried in the originals article&#8217;s comments.
Notes:

The original matching columns video tutorial
The original discussion on the web design forum

 -
Updated script by: Jonathan del Mar 
I have modified the script to [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I decided to create another blog post to make it easier to find the updated version of the important <a href="http://www.killersites.com/blog/2006/matching-div-heigths/">matching columns script</a> &#8211; it was buried in the originals article&#8217;s comments.</p>
<p>Notes:</p>
<ul>
<li>The original <a href="http://killersites.com/videoTutorials/Tutorial_WebDesign2/matching_divs.html">matching columns video tutorial</a></li>
<li>The original discussion on the <a href="http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=4110#20896">web design forum</a></li>
</ul>
<p> -</p>
<p>Updated script by: Jonathan del Mar </p>
<p>I have modified the script to work with multiple class groups also with elements with multiple class names</p>
<p>/*<br />
Derived from a script by Alejandro Gervasio.<br />
Modified to work in FireFox by Stefan Mischook for Killersites.com</p>
<p>Modified to work with multiple class groups also with elements with multiple class names<br />
by Jonathan del Mar (dec-14-2006)</p>
<p>How it works: just apply the CSS class of ‘column’ to your pages’ main columns.</p>
<p>to work with different classes<br />
add</p>
<p>var columns = new Array(’class_name1′, ‘class_name1′…);</p>
<p>by Jonathan del Mar</p>
<p>by default the script will call<br />
matchColumns();<br />
and the default class_name is ‘column’<br />
(see the bottom of this script)<br />
by Jonathan del Mar</p>
<p>*/<br />
matchColumns=function(my_class){</p>
<p>var divs,contDivs,maxHeight,divHeight,d;</p>
<p>// get all elements in the document</p>
<p>divs=document.getElementsByTagName(’div’);</p>
<p>contDivs=[];</p>
<p>// initialize maximum height value<br />
maxHeight=0;<br />
if (!my_class) {<br />
my_class = ‘column’;<br />
}</p>
<p>my_regex = new RegExp(’(.* |^)’ + my_class + ‘( .*|$)’);</p>
<p>// iterate over all elements in the document</p>
<p>for(var i=0;i elements with class attribute ‘container’</p>
<p>//if(/\bcolumn\b/.test(divs[i].className)){<br />
// modified by Jonathan del Mar to match ‘column’ in multiple classes</p>
<p>if(my_regex.test(divs[i].className)){<br />
d=divs[i];</p>
<p>contDivs[contDivs.length]=d;</p>
<p>// determine height for element</p>
<p>if(d.offsetHeight){</p>
<p>divHeight=d.offsetHeight;</p>
<p>}</p>
<p>else if(d.style.pixelHeight){</p>
<p>divHeight=d.style.pixelHeight;</p>
<p>}</p>
<p>// calculate maximum height</p>
<p>maxHeight=Math.max(maxHeight,divHeight);</p>
<p>}</p>
<p>}</p>
<p>// assign maximum height value to all of container elements</p>
<p>for(var i=0;i<br />
var columns = new Array(’class_name1′, ‘class_name2′, …);</p>
<p>to your html header. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.killersites.com/blog/2007/matching-columns-script-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
