rlm@37: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> rlm@37: <html xmlns="http://www.w3.org/1999/xhtml"> rlm@37: <head> rlm@37: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> rlm@37: rlm@37: rlm@37: <link href="./echo.css" rel="stylesheet" type="text/css"> rlm@37: rlm@37: <title>Laserkard | Design Studio</title> rlm@37: rlm@78: <script type="text/javascript" src="./awesome_js/buycode.js"></script> rlm@37: <script type="text/javascript" src="./awesome_js/raphael.js"></script> rlm@37: rlm@37: rlm@37: <script type="text/javascript" src="./awesome_js/cufon-yui.js"></script> rlm@37: <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: rlm@37: rlm@37: rlm@37: rlm@37: rlm@37: </head> rlm@37: rlm@37: <body id = "buy"> rlm@37: rlm@37: rlm@37: <div id = "disp_contain"></div> rlm@37: rlm@37: <div id = "output"></div> rlm@37: rlm@37: <div id = "perlClick" onmouseover = "echo(['output'], ['perlClick']);">click on me!!!</div> rlm@37: rlm@37: rlm@37: <script language="javascript"> rlm@37: rlm@37: rlm@37: rlm@37: var raphe = Raphael("disp_contain", 515, 318); rlm@37: rlm@37: var c = raphe.rect(0, 0, 514, 317); rlm@37: c.attr("stroke", "#00f"); rlm@37: tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); rlm@37: rlm@37: rlm@37: tt.attr("stroke", "#f00"); rlm@37: tt.attr("fill", "RED"); rlm@37: rlm@37: rlm@37: var svg = rlm@37: rlm@37: //'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' + rlm@37: //'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' + rlm@37: //document.getElementById('disp_contain').innerHTML + rlm@37: '<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk' rlm@37: rlm@37: ; rlm@37: rlm@37: rlm@37: rlm@37: document.getElementById('output').innerHTML = svg; rlm@37: rlm@37: </script> rlm@37: rlm@37: rlm@37: rlm@37: rlm@37: rlm@37: rlm@37: rlm@37: </body> rlm@37: rlm@37: </html> rlm@37: rlm@37: