Mercurial > laserkard
diff generatecard.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 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/generatecard.html Sun Jan 24 09:37:47 2010 -0500 1.3 @@ -0,0 +1,70 @@ 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 +<link href="./main.css" rel="stylesheet" type="text/css"> 1.10 +<link href="./sexy.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 +<script type="text/javascript" src="./awesome_js/prototype.js"></script> 1.17 +<script type="text/javascript" src="./awesome_js/Base64.js"></script> 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 +<script language="javascript"> 1.34 + 1.35 + 1.36 + 1.37 +var raphe = Raphael("disp_contain", 515, 318); 1.38 + 1.39 +var c = raphe.rect(0, 0, 514, 317); 1.40 +c.attr("stroke", "#00f"); 1.41 +tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); 1.42 + 1.43 + 1.44 +tt.attr("stroke", "#f00"); 1.45 +tt.attr("fill", "RED"); 1.46 + 1.47 + 1.48 +var svg = 1.49 + 1.50 +//'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">' + 1.51 +//'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ' + 1.52 +//document.getElementById('disp_contain').innerHTML + 1.53 +'<h1> jdaksljd </h1>' + 'sdfjlskjflskajf skds a dksjflk' + 1.54 + 1.55 +; 1.56 + 1.57 + 1.58 + 1.59 +document.getElementById('buy').innerHTML = svg; 1.60 + 1.61 +</script> 1.62 + 1.63 + 1.64 + 1.65 + 1.66 + 1.67 + 1.68 + 1.69 +</body> 1.70 + 1.71 +</html> 1.72 + 1.73 +