Mercurial > laserkard
comparison echo.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 | 07c19a58ba5a |
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 | |
30 | |
31 <div id = "perlClick" onClick = "echo(['disp_contain'], ['perlClick'], 'POST');">Send this shiz!</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 = document.getElementById('disp_contain'); | |
50 | |
51 | |
52 | |
53 </script> | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 </body> | |
62 | |
63 </html> | |
64 | |
65 |