diff buy.html @ 79:343dc947f999 laserkard

read JavaSctipt: the good parts
author Robert McIntyre <rlm@mit.edu>
date Sun, 25 Jul 2010 01:33:22 -0400
parents 4ebd94bfecda
children
line wrap: on
line diff
     1.1 --- a/buy.html	Thu Jul 22 09:56:12 2010 -0400
     1.2 +++ b/buy.html	Sun Jul 25 01:33:22 2010 -0400
     1.3 @@ -1,88 +1,81 @@
     1.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.5  <html xmlns="http://www.w3.org/1999/xhtml">
     1.6 -<head>
     1.7 -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.8 +  <head>
     1.9 +    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    1.10 +      
    1.11 +      <link href="./css/main.css" rel="stylesheet" type="text/css">
    1.12 +	<link href="./css/sexy.css" rel="stylesheet" type="text/css">
    1.13 +	  
    1.14 +	  <title>Laser Kard | Design Studio</title>
    1.15 +	  
    1.16 +	  <script type="text/javascript" src="./awesome_js/buycode.js"></script>
    1.17 +	  <script type="text/javascript" src="./awesome_js/raphael.js"></script>
    1.18 +	  <script type="text/javascript" src="./awesome_js/robert.js"></script>
    1.19 +	  <script type="text/javascript" src="./awesome_js/json2.js"></script>
    1.20 +	  <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
    1.21 +	  <script type="text/javascript"
    1.22 +		  src="./awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js"></script>
    1.23 +	  
    1.24 +	</head>
    1.25 +	
    1.26 +	<body id = "buy">
    1.27 +	  PERL-REPLACE::TOP_MENU
    1.28 +	  <div id="whole">
    1.29 +	    <div id="templates" > PERL-REPLACE::TEMPLATES </div>
    1.30 +	    <div id="centerbox" >
    1.31 +	      <div id="trifold" >
    1.32 +		<div id="disp_contain"></div>
    1.33 +		<div id="display">PERL-REPLACE::DISPLAY</div>
    1.34 +	      </div>
    1.35 +	      <div id="pokedex">PERL-REPLACE::POKEDEX</div>
    1.36 +	    </div>
    1.37 +	    <div id="inputbox" >PERL-REPLACE::INPUTBOX</div>
    1.38 +	    <div id="materials" 
    1.39 +		 onmouseover="pokedex(['args__materials'],['pokedex']);">
    1.40 +	      PERL-REPLACE::MATERIALS
    1.41 +	    </div>
    1.42 +	  </div>
    1.43 +	  
    1.44 +	  <div id = "formValues">PERL::INITIALVALUES</div>
    1.45 +	  
    1.46 +	  <div id = "currentSpec">PERL::INITIALCARD</div>
    1.47 +	  
    1.48 +	  <div id = "cardDefs">PERL::DEFS</div>
    1.49 +	  
    1.50 +	  <div id = "output">OUTPUT</div>
    1.51 +	  
    1.52  
    1.53 -<link href="./css/main.css" rel="stylesheet" type="text/css">
    1.54 -<link href="./css/sexy.css" rel="stylesheet" type="text/css">
    1.55 +	  <!--
    1.56 +	  <div id = "copyright">&copy; 2010 LaserKard, LLC</div>
    1.57 +	  -->
    1.58 +	  
    1.59 +	  
    1.60 +	  <script language="javascript">
    1.61 +	    //this is the main painting object, 
    1.62 +	    //established here and created with Initial painting values
    1.63 +	    
    1.64 +	    JSONtex = document.getElementById('cardDefs').innerHTML;
    1.65 +	    laserkard = new Object();
    1.66 +	    laserkard = eval('(' + JSONtex + ')');
    1.67 +	    
    1.68 +	    var raphe = Raphael("disp_contain", 515, 318);
    1.69 +	    redraw("bold");
    1.70 +	  </script>
    1.71 +	  
    1.72 +	  
    1.73 +	  <script type="text/javascript">
    1.74 +	    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    1.75 +	    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    1.76 +	  </script>
    1.77 +	  <script type="text/javascript">
    1.78 +	    try {
    1.79 +	    var pageTracker = _gat._getTracker("UA-15235673-1");
    1.80 +	    pageTracker._trackPageview();
    1.81 +	    } catch(err) {}</script>
    1.82 +	  
    1.83 +	</body>
    1.84 +	
    1.85 +      </html>
    1.86  
    1.87 -<title>Laser Kard | Design Studio</title>
    1.88 -
    1.89 -<script type="text/javascript" src="./awesome_js/buycode.js"></script>
    1.90 -<script type="text/javascript" src="./awesome_js/raphael.js"></script>
    1.91 -<script type="text/javascript" src="./awesome_js/robert.js"></script>
    1.92 -<script type="text/javascript" src="./awesome_js/json2.js"></script>
    1.93 -<script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
    1.94 -<script type="text/javascript" src="./awesome_js/HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_700-HelveticaNeue_LT_55_Roman_italic_700-HelveticaNeue_LT_55_Roman_italic_700.font.js"></script>
    1.95 -
    1.96 -
    1.97 -
    1.98 -
    1.99 -
   1.100 -</head>
   1.101 -
   1.102 -<body id = "buy">
   1.103 -
   1.104 -
   1.105 -
   1.106 -PERL-REPLACE::TOP_MENU
   1.107 -<div id="whole">
   1.108 -	<div id="templates" >PERL-REPLACE::TEMPLATES</div>
   1.109 -	<div id = "centerbox" >
   1.110 -		
   1.111 -		<div id= "trifold" >
   1.112 -			<div id = "disp_contain"></div>
   1.113 -			<div id="display">PERL-REPLACE::DISPLAY</div>
   1.114 -		</div>
   1.115 -		
   1.116 -		<div id="pokedex">PERL-REPLACE::POKEDEX</div>
   1.117 -	</div>
   1.118 -
   1.119 -	<div id="inputbox" >PERL-REPLACE::INPUTBOX</div>
   1.120 -	<div id="materials" onmouseover="pokedex(['args__materials'],['pokedex']);">PERL-REPLACE::MATERIALS</div>
   1.121 -</div>
   1.122 -
   1.123 -<div id = "formValues">PERL::INITIALVALUES</div>
   1.124 -
   1.125 -<div id = "currentSpec">PERL::INITIALCARD</div>
   1.126 -
   1.127 -<div id = "cardDefs">PERL::DEFS</div>
   1.128 -
   1.129 -<div id = "output">OUTPUT</div>
   1.130 -
   1.131 -
   1.132 -
   1.133 -<div id = "copyright">&copy; 2010 LaserKard, LLC</div>
   1.134 -
   1.135 -
   1.136 -
   1.137 -<script language="javascript">
   1.138 -//this is the main painting object, established here and created with Initial painting values
   1.139 -
   1.140 -JSONtex = document.getElementById('cardDefs').innerHTML;
   1.141 -laserkard = new Object();
   1.142 -laserkard = eval('(' + JSONtex + ')');
   1.143 -
   1.144 -var raphe = Raphael("disp_contain", 515, 318);
   1.145 -redraw("bold");
   1.146 -
   1.147 -
   1.148 -
   1.149 -</script>
   1.150 -
   1.151 -
   1.152 -<script type="text/javascript">
   1.153 -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
   1.154 -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
   1.155 -</script>
   1.156 -<script type="text/javascript">
   1.157 -try {
   1.158 -var pageTracker = _gat._getTracker("UA-15235673-1");
   1.159 -pageTracker._trackPageview();
   1.160 -} catch(err) {}</script>
   1.161 -
   1.162 -</body>
   1.163 -
   1.164 -</html>
   1.165 -
   1.166 -
   1.167 +      
   1.168 +