comparison 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
comparison
equal deleted inserted replaced
78:4ebd94bfecda 79:343dc947f999
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
6 <link href="./css/main.css" rel="stylesheet" type="text/css">
7 <link href="./css/sexy.css" rel="stylesheet" type="text/css">
8
9 <title>Laser Kard | Design Studio</title>
10
11 <script type="text/javascript" src="./awesome_js/buycode.js"></script>
12 <script type="text/javascript" src="./awesome_js/raphael.js"></script>
13 <script type="text/javascript" src="./awesome_js/robert.js"></script>
14 <script type="text/javascript" src="./awesome_js/json2.js"></script>
15 <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
16 <script type="text/javascript"
17 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>
18
19 </head>
20
21 <body id = "buy">
22 PERL-REPLACE::TOP_MENU
23 <div id="whole">
24 <div id="templates" > PERL-REPLACE::TEMPLATES </div>
25 <div id="centerbox" >
26 <div id="trifold" >
27 <div id="disp_contain"></div>
28 <div id="display">PERL-REPLACE::DISPLAY</div>
29 </div>
30 <div id="pokedex">PERL-REPLACE::POKEDEX</div>
31 </div>
32 <div id="inputbox" >PERL-REPLACE::INPUTBOX</div>
33 <div id="materials"
34 onmouseover="pokedex(['args__materials'],['pokedex']);">
35 PERL-REPLACE::MATERIALS
36 </div>
37 </div>
38
39 <div id = "formValues">PERL::INITIALVALUES</div>
40
41 <div id = "currentSpec">PERL::INITIALCARD</div>
42
43 <div id = "cardDefs">PERL::DEFS</div>
44
45 <div id = "output">OUTPUT</div>
46
5 47
6 <link href="./css/main.css" rel="stylesheet" type="text/css"> 48 <!--
7 <link href="./css/sexy.css" rel="stylesheet" type="text/css"> 49 <div id = "copyright">&copy; 2010 LaserKard, LLC</div>
50 -->
51
52
53 <script language="javascript">
54 //this is the main painting object,
55 //established here and created with Initial painting values
56
57 JSONtex = document.getElementById('cardDefs').innerHTML;
58 laserkard = new Object();
59 laserkard = eval('(' + JSONtex + ')');
60
61 var raphe = Raphael("disp_contain", 515, 318);
62 redraw("bold");
63 </script>
64
65
66 <script type="text/javascript">
67 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
68 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
69 </script>
70 <script type="text/javascript">
71 try {
72 var pageTracker = _gat._getTracker("UA-15235673-1");
73 pageTracker._trackPageview();
74 } catch(err) {}</script>
75
76 </body>
77
78 </html>
8 79
9 <title>Laser Kard | Design Studio</title> 80
10 81
11 <script type="text/javascript" src="./awesome_js/buycode.js"></script>
12 <script type="text/javascript" src="./awesome_js/raphael.js"></script>
13 <script type="text/javascript" src="./awesome_js/robert.js"></script>
14 <script type="text/javascript" src="./awesome_js/json2.js"></script>
15 <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
16 <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>
17
18
19
20
21
22 </head>
23
24 <body id = "buy">
25
26
27
28 PERL-REPLACE::TOP_MENU
29 <div id="whole">
30 <div id="templates" >PERL-REPLACE::TEMPLATES</div>
31 <div id = "centerbox" >
32
33 <div id= "trifold" >
34 <div id = "disp_contain"></div>
35 <div id="display">PERL-REPLACE::DISPLAY</div>
36 </div>
37
38 <div id="pokedex">PERL-REPLACE::POKEDEX</div>
39 </div>
40
41 <div id="inputbox" >PERL-REPLACE::INPUTBOX</div>
42 <div id="materials" onmouseover="pokedex(['args__materials'],['pokedex']);">PERL-REPLACE::MATERIALS</div>
43 </div>
44
45 <div id = "formValues">PERL::INITIALVALUES</div>
46
47 <div id = "currentSpec">PERL::INITIALCARD</div>
48
49 <div id = "cardDefs">PERL::DEFS</div>
50
51 <div id = "output">OUTPUT</div>
52
53
54
55 <div id = "copyright">&copy; 2010 LaserKard, LLC</div>
56
57
58
59 <script language="javascript">
60 //this is the main painting object, established here and created with Initial painting values
61
62 JSONtex = document.getElementById('cardDefs').innerHTML;
63 laserkard = new Object();
64 laserkard = eval('(' + JSONtex + ')');
65
66 var raphe = Raphael("disp_contain", 515, 318);
67 redraw("bold");
68
69
70
71 </script>
72
73
74 <script type="text/javascript">
75 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
76 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
77 </script>
78 <script type="text/javascript">
79 try {
80 var pageTracker = _gat._getTracker("UA-15235673-1");
81 pageTracker._trackPageview();
82 } catch(err) {}</script>
83
84 </body>
85
86 </html>
87
88