view onlypaths/svgpaths.htm @ 63:3d3b8671de71 laserkard

[svn r64] Changed 1. About page text to agreed on 4/1/10 2. top_menu link "The Story" --> "About"
author hong
date Thu, 01 Apr 2010 20:06:28 -0400
parents 26c2b3ad21c7
children
line wrap: on
line source
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"/>
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 }
15 </script>
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;
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 }
35 document.write(cadena);
37 </script>
38 </div>
39 </body>
40 </html>