annotate test.html @ 77:bf68c9ea9528 laserkard

saving
author Robert McIntyre <rlm@mit.edu>
date Thu, 22 Jul 2010 09:30:45 -0400
parents 021a9ab1ed5b
children 4ebd94bfecda
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
rlm@37 7 <link href="./echo.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
rlm@37 14
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 <div id = "output"></div>
rlm@37 30
rlm@37 31 <div id = "perlClick" onmouseover = "echo(['output'], ['perlClick']);">click on me!!!</div>
rlm@37 32
rlm@37 33
rlm@37 34 <script language="javascript">
rlm@37 35
rlm@37 36
rlm@37 37
rlm@37 38 var raphe = Raphael("disp_contain", 515, 318);
rlm@37 39
rlm@37 40 var c = raphe.rect(0, 0, 514, 317);
rlm@37 41 c.attr("stroke", "#00f");
rlm@37 42 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75);
rlm@37 43
rlm@37 44
rlm@37 45 tt.attr("stroke", "#f00");
rlm@37 46 tt.attr("fill", "RED");
rlm@37 47
rlm@37 48
rlm@37 49 var svg =
rlm@37 50
rlm@37 51 //'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' +
rlm@37 52 //'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' +
rlm@37 53 //document.getElementById('disp_contain').innerHTML +
rlm@37 54 '<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk'
rlm@37 55
rlm@37 56 ;
rlm@37 57
rlm@37 58
rlm@37 59
rlm@37 60 document.getElementById('output').innerHTML = svg;
rlm@37 61
rlm@37 62 </script>
rlm@37 63
rlm@37 64
rlm@37 65
rlm@37 66
rlm@37 67
rlm@37 68
rlm@37 69
rlm@37 70 </body>
rlm@37 71
rlm@37 72 </html>
rlm@37 73
rlm@37 74