diff test.html @ 37:021a9ab1ed5b laserkard

[svn r38] added echo.pl, a test program for the backend of the website
author rlm
date Sun, 24 Jan 2010 09:37:47 -0500
parents
children 4ebd94bfecda
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test.html	Sun Jan 24 09:37:47 2010 -0500
     1.3 @@ -0,0 +1,74 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +<head>
     1.7 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.8 +
     1.9 +
    1.10 +<link href="./echo.css" rel="stylesheet" type="text/css">
    1.11 +
    1.12 +<title>Laserkard | Design Studio</title>
    1.13 +
    1.14 +<script type="text/javascript" src="./buycode.js"></script>
    1.15 +<script type="text/javascript" src="./awesome_js/raphael.js"></script>
    1.16 +
    1.17 +
    1.18 +<script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
    1.19 +<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>
    1.20 +
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +</head>
    1.26 +
    1.27 +<body id = "buy">
    1.28 +
    1.29 +
    1.30 +<div id = "disp_contain"></div>
    1.31 +
    1.32 +<div id = "output"></div>
    1.33 +
    1.34 +<div id = "perlClick"  onmouseover = "echo(['output'], ['perlClick']);">click on me!!!</div>
    1.35 +
    1.36 +
    1.37 +<script language="javascript">
    1.38 +
    1.39 +
    1.40 +
    1.41 +var raphe = Raphael("disp_contain", 515, 318);
    1.42 +
    1.43 +var c = raphe.rect(0, 0, 514, 317);
    1.44 +c.attr("stroke", "#00f");
    1.45 +tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75);
    1.46 +
    1.47 +
    1.48 +tt.attr("stroke", "#f00");
    1.49 +tt.attr("fill", "RED");
    1.50 +
    1.51 +
    1.52 +var svg = 
    1.53 +
    1.54 +//'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' +
    1.55 +//'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' + 
    1.56 +//document.getElementById('disp_contain').innerHTML + 
    1.57 +'<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a      dksjflk' 
    1.58 +
    1.59 +;
    1.60 +
    1.61 +
    1.62 +
    1.63 +document.getElementById('output').innerHTML = svg;
    1.64 +
    1.65 +</script>
    1.66 +
    1.67 +
    1.68 +
    1.69 +
    1.70 +
    1.71 +
    1.72 +
    1.73 +</body>
    1.74 +
    1.75 +</html>
    1.76 +
    1.77 +