comparison buy.html @ 30:293275d50722 laserkard

[svn r31] Implemented Centering on the dynamic text display in a static context
author rlm
date Sun, 17 Jan 2010 08:08:20 -0500
parents 7742910e0479
children 0deeb2d5d1db
comparison
equal deleted inserted replaced
29:7742910e0479 30:293275d50722
50 <div id="display">PERL-REPLACE::DISPLAY</div> 50 <div id="display">PERL-REPLACE::DISPLAY</div>
51 51
52 <script language="javascript"> 52 <script language="javascript">
53 53
54 54
55 var raphe = Raphael("disp_contain", 518, 320); 55 var raphe = Raphael("disp_contain", 502, 320);
56 56
57 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); 57 tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75);
58 58
59 tt.attr("stroke", "#f00"); 59 tt.attr("stroke", "#f00");
60 tt.attr("fill", "RED"); 60 tt.attr("fill", "RED");