annotate not-used/generatecard.html @ 95:5fb202915c11 laserkard

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