-
Use Jquery to strip your table
check the <a href="http://15daysofjquery.com/examples/zebra/code/demoFinal.php">result</a>. Or check the <a href="http://15daysofjquery.com/examples/zebra/">tutorial</a> -
Namespace
<pre data-sub="prettyprint:_"> var MSDNMagNS = {}; // nested namespace "Examples" MSDNMagNS.Examples = {}; -
javascript inheritance
Javascript has not class, it has only function. So its inheritance is somewhat confusing. Before we talk about inheritance, let's make sure we understanding the basic. Here is the fact. <ol> <li>a function has property "prototype", the prototype object's points back to the function itself. <img src="http://msdn.microsoft.com/msdnmag/issues/07/05/JavaScript/fig03.gif" /> -
page event beforeunload vs unload
<p>beforeunload happend before unload. beforeunload can give user a message, asking user if want to contine or not, if yes, unload event will trigger and unload can show user a message, but can not block to unload the page. Below is the sample.</p> -
Animation
<h4>Slide In</h4> <p>A Function for Slowly Revealing a Hidden Element by Increasing Its Height Over a Matter of One Second.</p>