diff onlypaths/css/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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/onlypaths/css/svgpaths.htm	Sun Jan 31 12:33:33 2010 -0500
     1.3 @@ -0,0 +1,40 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xml:lang="en" lang="en">
     1.5 +  <head>
     1.6 +    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     1.7 +    <meta http-equiv="keywords" content="SVG,scalable vector graphics,tutorial,XML"/>
     1.8 +    
     1.9 +   
    1.10 +    <title>SVG</title> 
    1.11 +     <script type="text/javascript" src="js/svgpaths.js"></script>
    1.12 +    <script>
    1.13 +function ini(){
    1.14 +var colorpage= parent.colorpage; 
    1.15 +//document.body.style.backgroundColor =colorpage;
    1.16 +} 
    1.17 +
    1.18 +    </script>
    1.19 +    
    1.20 +<style>
    1.21 +body{border-style:outset;border-width:0px;background-color:#ffffff;font-family:verdana,arial; font-size:10pt;} 
    1.22 +.front{position:absolute;top:4px;left:1px;width:200px;overflow:hidden;}
    1.23 +.color1{color:#ff5500} 
    1.24 +.color2{color:#220044}
    1.25 +</style>    
    1.26 +  </head>
    1.27 +  <body onload="ini()";> 
    1.28 +  <div class="front">
    1.29 + <script>   
    1.30 +        var cadena='';  var a=1;
    1.31 +
    1.32 +var color='';
    1.33 + for(var a=0; a < paths.length; a++)
    1.34 +{       if(a%2==0){color='color1';}else{color='color2';}
    1.35 +        cadena+='<a onclick="parent.document.forms[0].codebase.value='+"'"+paths[a].data+"'"+';parent.setShape()"><span class="'+color+'">'+paths[a].name+' </span></a>';
    1.36 +}  
    1.37 +
    1.38 +  document.write(cadena);  
    1.39 +
    1.40 + </script>      
    1.41 + </div>                       
    1.42 +          </body>
    1.43 +</html>