annotate echo.html @ 48:b2a11435a89b laserkard

[svn r49] implemented resizing text :)
author rlm
date Sun, 31 Jan 2010 20:26:16 -0500
parents 07c19a58ba5a
children 95fa4bcc5d67
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
rlm@37 30
rlm@37 31 <div id = "perlClick" onClick = "echo(['disp_contain'], ['perlClick'], 'POST');">Send this shiz!</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@38 40 var c = raphe.rect(0, 0, 514, 317, 40);
rlm@37 41 c.attr("stroke", "#00f");
rlm@38 42 ta = raphe.print(10, 150, "Robert McIntyre", raphe.getFont("HelveticaNeue", 700), 63);
rlm@38 43 ta.attr('stroke', '#f00');
rlm@38 44 ta.attr('fill', 'TRANSPARENT');
rlm@37 45
rlm@38 46 tb = raphe.print(300, 270, "rlm@mit.edu", raphe.getFont("HelveticaNeue", 700), 25);
rlm@38 47 tb.attr('stroke', '#f00');
rlm@38 48 tb.attr('fill', 'TRANSPARENT');
rlm@37 49
rlm@38 50 tc = raphe.path("M 0 269 L 270 269");
rlm@38 51 tc.attr('stroke', '#f00');
rlm@37 52
rlm@37 53
rlm@38 54
rlm@38 55
rlm@37 56
rlm@37 57
rlm@37 58
rlm@37 59 </script>
rlm@37 60
rlm@37 61
rlm@37 62
rlm@37 63
rlm@37 64
rlm@37 65
rlm@37 66
rlm@37 67 </body>
rlm@37 68
rlm@37 69 </html>
rlm@37 70
rlm@37 71