Mercurial > laserkard
comparison onlypaths/svgpaths.htm @ 46:26c2b3ad21c7 laserkard
[svn r47] saving progresswww.cinemassacre.com/new/?page_id=30
author | rlm |
---|---|
date | Sun, 31 Jan 2010 12:33:33 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
45:bff96abdddfa | 46:26c2b3ad21c7 |
---|---|
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xml:lang="en" lang="en"> | |
2 <head> | |
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
4 <meta http-equiv="keywords" content="SVG,scalable vector graphics,tutorial,XML"/> | |
5 | |
6 | |
7 <title>SVG</title> | |
8 <script type="text/javascript" src="js/svgpaths.js"></script> | |
9 <script> | |
10 function ini(){ | |
11 var colorpage= parent.colorpage; | |
12 //document.body.style.backgroundColor =colorpage; | |
13 } | |
14 | |
15 </script> | |
16 | |
17 <style> | |
18 body{border-style:outset;border-width:0px;background-color:#ffffff;font-family:verdana,arial; font-size:10pt;} | |
19 .front{position:absolute;top:4px;left:1px;width:200px;overflow:hidden;} | |
20 .color1{color:#ff5500} | |
21 .color2{color:#220044} | |
22 </style> | |
23 </head> | |
24 <body onload="ini()";> | |
25 <div class="front"> | |
26 <script> | |
27 var cadena=''; var a=1; | |
28 | |
29 var color=''; | |
30 for(var a=0; a < paths.length; a++) | |
31 { if(a%2==0){color='color1';}else{color='color2';} | |
32 cadena+='<a onclick="parent.document.forms[0].codebase.value='+"'"+paths[a].data+"'"+';parent.setShape()"><span class="'+color+'">'+paths[a].name+' </span></a>'; | |
33 } | |
34 | |
35 document.write(cadena); | |
36 | |
37 </script> | |
38 </div> | |
39 </body> | |
40 </html> |