diff awesome_js/robert.js @ 47:4431dc7d4bb5 laserkard

[svn r48] almost fixed "hover over" bug
author rlm
date Sun, 31 Jan 2010 14:21:14 -0500
parents 26c2b3ad21c7
children b2a11435a89b
line wrap: on
line diff
     1.1 --- a/awesome_js/robert.js	Sun Jan 31 12:33:33 2010 -0500
     1.2 +++ b/awesome_js/robert.js	Sun Jan 31 14:21:14 2010 -0500
     1.3 @@ -1,4 +1,35 @@
     1.4  
     1.5 +descHash = new Object();
     1.6 +
     1.7 +
     1.8 +
     1.9 +
    1.10 +descHash.classic_acrylic_clear = 
    1.11 +"<h1>The Classic LaserKard.</h1>Balanced and Complete.  The original LaserKard.  For those that wish to leave no stone unturned.  It's all there.";
    1.12 +
    1.13 +descHash.big_acrylic_clear = 
    1.14 +"<h1>The Bold Kard.</h1>Austere and Iconic.  For those that wish to leave an impression with the power of their name accompanied only by their main method of contact.  Bold, period.";
    1.15 +
    1.16 +descHash.basic_acrylic_clear = 
    1.17 +"<h1>The Arrow Kard.</h1>Precise and Straightforward.  For those that seek to make a statement while being clear and concise. Straight as an arrow.";
    1.18 +
    1.19 +descHash.lines_acrylic_clear = 
    1.20 +"<h1>The Direct Kard.</h1>Thorough and Distinct.  For those that aim to demonstrate their professionalism with style.  Push the envelope.  Be Direct.";
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +
    1.27 +function pokedex(target)
    1.28 +{
    1.29 +
    1.30 +
    1.31 +var description = eval ("descHash." + target);
    1.32 +
    1.33 +document.getElementById('pokedex').innerHTML = description;
    1.34 +	
    1.35 +}
    1.36  
    1.37  
    1.38