Mercurial > laserkard
view 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 |
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">7 <link href="./echo.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>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>31 <div id = "perlClick" onClick = "echo(['disp_contain'], ['perlClick'], 'POST');">Send this shiz!</div>34 <script language="javascript">38 var raphe = Raphael("disp_contain", 515, 318);40 var c = raphe.rect(0, 0, 514, 317, 40);41 c.attr("stroke", "#00f");42 ta = raphe.print(10, 150, "Robert McIntyre", raphe.getFont("HelveticaNeue", 700), 63);43 ta.attr('stroke', '#f00');44 ta.attr('fill', 'TRANSPARENT');46 tb = raphe.print(300, 270, "rlm@mit.edu", raphe.getFont("HelveticaNeue", 700), 25);47 tb.attr('stroke', '#f00');48 tb.attr('fill', 'TRANSPARENT');50 tc = raphe.path("M 0 269 L 270 269");51 tc.attr('stroke', '#f00');59 </script>67 </body>69 </html>