annotate generatecard.html @ 43:329638a361cc laserkard

[svn r44] implemented redraw memory.
author rlm
date Thu, 28 Jan 2010 00:32:54 -0500
parents 021a9ab1ed5b
children
rev   line source
rlm@37 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
rlm@37 2 <html xmlns="http://www.w3.org/1999/xhtml">
rlm@37 3 <head>
rlm@37 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
rlm@37 5
rlm@37 6 <link href="./main.css" rel="stylesheet" type="text/css">
rlm@37 7 <link href="./sexy.css" rel="stylesheet" type="text/css">
rlm@37 8
rlm@37 9 <title>Laserkard | Design Studio</title>
rlm@37 10
rlm@37 11 <script type="text/javascript" src="./buycode.js"></script>
rlm@37 12 <script type="text/javascript" src="./awesome_js/raphael.js"></script>
rlm@37 13 <script type="text/javascript" src="./awesome_js/prototype.js"></script>
rlm@37 14 <script type="text/javascript" src="./awesome_js/Base64.js"></script>
rlm@37 15 <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
rlm@37 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>
rlm@37 17
rlm@37 18
rlm@37 19
rlm@37 20
rlm@37 21
rlm@37 22 </head>
rlm@37 23
rlm@37 24 <body id = "buy">
rlm@37 25
rlm@37 26
rlm@37 27 <div id = "disp_contain"></div>
rlm@37 28
rlm@37 29
rlm@37 30 <script language="javascript">
rlm@37 31
rlm@37 32
rlm@37 33
rlm@37 34 var raphe = Raphael("disp_contain", 515, 318);
rlm@37 35
rlm@37 36 var c = raphe.rect(0, 0, 514, 317);
rlm@37 37 c.attr("stroke", "#00f");
rlm@37 38 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75);
rlm@37 39
rlm@37 40
rlm@37 41 tt.attr("stroke", "#f00");
rlm@37 42 tt.attr("fill", "RED");
rlm@37 43
rlm@37 44
rlm@37 45 var svg =
rlm@37 46
rlm@37 47 //'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' +
rlm@37 48 //'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' +
rlm@37 49 //document.getElementById('disp_contain').innerHTML +
rlm@37 50 '<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk' +
rlm@37 51
rlm@37 52 ;
rlm@37 53
rlm@37 54
rlm@37 55
rlm@37 56 document.getElementById('buy').innerHTML = svg;
rlm@37 57
rlm@37 58 </script>
rlm@37 59
rlm@37 60
rlm@37 61
rlm@37 62
rlm@37 63
rlm@37 64
rlm@37 65
rlm@37 66 </body>
rlm@37 67
rlm@37 68 </html>
rlm@37 69
rlm@37 70