diff buy.html @ 29:7742910e0479 laserkard

[svn r30] implemented drawing text on the picture dynamically. still need to center stuff
author rlm
date Sat, 16 Jan 2010 12:25:43 -0500
parents 5b5c03a850b9
children 293275d50722
line wrap: on
line diff
     1.1 --- a/buy.html	Mon Jan 04 21:12:22 2010 -0500
     1.2 +++ b/buy.html	Sat Jan 16 12:25:43 2010 -0500
     1.3 @@ -9,22 +9,60 @@
     1.4  <title>Laserkard | Design Studio</title>
     1.5  
     1.6  <script type="text/javascript" src="./buycode.js"></script>
     1.7 +<script type="text/javascript" src="./awesome_js/raphael.js"></script>
     1.8 +<script type="text/javascript" src="./awesome_js/robert.js"></script>
     1.9 +<script type="text/javascript" src="./awesome_js/cufon-yui.js"></script>
    1.10 +<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.11 +
    1.12 +
    1.13 +
    1.14 +
    1.15 +
    1.16  
    1.17  </head>
    1.18  
    1.19  <body id = "buy">
    1.20  
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +
    1.27 +
    1.28  PERL-REPLACE::TOP_MENU
    1.29  
    1.30 +<script type="text/javascript">
    1.31 +robert.process();
    1.32 +</script>
    1.33 +
    1.34  
    1.35  <div id="whole">
    1.36  
    1.37  <div id="templates" >PERL-REPLACE::TEMPLATES</div>
    1.38  
    1.39  
    1.40 +
    1.41  <div id = "centerbox" >
    1.42 +
    1.43 +<div id = "disp_contain"></div>
    1.44 +	
    1.45  <div id="display">PERL-REPLACE::DISPLAY</div>
    1.46  
    1.47 +<script language="javascript">
    1.48 +
    1.49 +
    1.50 +var raphe = Raphael("disp_contain", 518, 320);
    1.51 +
    1.52 +tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75);
    1.53 +
    1.54 +tt.attr("stroke", "#f00");
    1.55 +tt.attr("fill", "RED");
    1.56 +
    1.57 +</script>
    1.58 +
    1.59 +
    1.60 +
    1.61  <div id= "trifold" >
    1.62  
    1.63  <div id="trileft">
    1.64 @@ -58,6 +96,12 @@
    1.65  <div id="materials" onmouseover="pokedex(['args__materials'],['pokedex']);">PERL-REPLACE::MATERIALS</div>
    1.66  
    1.67  
    1.68 +
    1.69 +
    1.70 +
    1.71 +
    1.72 +
    1.73 +
    1.74  </body>
    1.75  
    1.76  </html>