Mercurial > laserkard
comparison generatecard.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 |
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 <link href="./main.css" rel="stylesheet" type="text/css"> | |
7 <link href="./sexy.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 <script type="text/javascript" src="./awesome_js/prototype.js"></script> | |
14 <script type="text/javascript" src="./awesome_js/Base64.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 <div id = "disp_contain"></div> | |
28 | |
29 | |
30 <script language="javascript"> | |
31 | |
32 | |
33 | |
34 var raphe = Raphael("disp_contain", 515, 318); | |
35 | |
36 var c = raphe.rect(0, 0, 514, 317); | |
37 c.attr("stroke", "#00f"); | |
38 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); | |
39 | |
40 | |
41 tt.attr("stroke", "#f00"); | |
42 tt.attr("fill", "RED"); | |
43 | |
44 | |
45 var svg = | |
46 | |
47 //'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' + | |
48 //'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' + | |
49 //document.getElementById('disp_contain').innerHTML + | |
50 '<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk' + | |
51 | |
52 ; | |
53 | |
54 | |
55 | |
56 document.getElementById('buy').innerHTML = svg; | |
57 | |
58 </script> | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 </body> | |
67 | |
68 </html> | |
69 | |
70 |