Mercurial > laserkard
comparison test.html @ 37:021a9ab1ed5b laserkard
[svn r38] added echo.pl, a test program for the backend of the website
author | rlm |
---|---|
date | Sun, 24 Jan 2010 09:37:47 -0500 |
parents | |
children | 4ebd94bfecda |
comparison
equal
deleted
inserted
replaced
36:bb048e29406b | 37:021a9ab1ed5b |
---|---|
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"> | |
3 <head> | |
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
5 | |
6 | |
7 <link href="./echo.css" rel="stylesheet" type="text/css"> | |
8 | |
9 <title>Laserkard | Design Studio</title> | |
10 | |
11 <script type="text/javascript" src="./buycode.js"></script> | |
12 <script type="text/javascript" src="./awesome_js/raphael.js"></script> | |
13 | |
14 | |
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 <div id = "disp_contain"></div> | |
28 | |
29 <div id = "output"></div> | |
30 | |
31 <div id = "perlClick" onmouseover = "echo(['output'], ['perlClick']);">click on me!!!</div> | |
32 | |
33 | |
34 <script language="javascript"> | |
35 | |
36 | |
37 | |
38 var raphe = Raphael("disp_contain", 515, 318); | |
39 | |
40 var c = raphe.rect(0, 0, 514, 317); | |
41 c.attr("stroke", "#00f"); | |
42 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); | |
43 | |
44 | |
45 tt.attr("stroke", "#f00"); | |
46 tt.attr("fill", "RED"); | |
47 | |
48 | |
49 var svg = | |
50 | |
51 //'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' + | |
52 //'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' + | |
53 //document.getElementById('disp_contain').innerHTML + | |
54 '<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk' | |
55 | |
56 ; | |
57 | |
58 | |
59 | |
60 document.getElementById('output').innerHTML = svg; | |
61 | |
62 </script> | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | |
70 </body> | |
71 | |
72 </html> | |
73 | |
74 |