diff echo.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 07c19a58ba5a
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/echo.html	Sun Jan 24 09:37:47 2010 -0500
     1.3 @@ -0,0 +1,65 @@
     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 +
    1.33 +
    1.34 +<div id = "perlClick"  onClick = "echo(['disp_contain'], ['perlClick'], 'POST');">Send this shiz!</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 = document.getElementById('disp_contain');
    1.53 +
    1.54 +
    1.55 +
    1.56 +</script>
    1.57 +
    1.58 +
    1.59 +
    1.60 +
    1.61 +
    1.62 +
    1.63 +
    1.64 +</body>
    1.65 +
    1.66 +</html>
    1.67 +
    1.68 +