view generatecard.html @ 38:07c19a58ba5a laserkard

[svn r39] creating compatability with corel draw.
author rlm
date Sun, 24 Jan 2010 10:42:16 -0500
parents 021a9ab1ed5b
children
line wrap: on
line source
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">
6 <link href="./main.css" rel="stylesheet" type="text/css">
7 <link href="./sexy.css" rel="stylesheet" type="text/css">
9 <title>Laserkard | Design Studio</title>
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>
22 </head>
24 <body id = "buy">
27 <div id = "disp_contain"></div>
30 <script language="javascript">
34 var raphe = Raphael("disp_contain", 515, 318);
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);
41 tt.attr("stroke", "#f00");
42 tt.attr("fill", "RED");
45 var svg =
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' +
52 ;
56 document.getElementById('buy').innerHTML = svg;
58 </script>
66 </body>
68 </html>