Hi. 

Has anyone here tried the jQuery svg lib http://keith-wood.name/svg.html? 

I tried to use it in web2py but with no success. 

the necessary lib was imported: <script 
src="{{=URL('static','js/jquery/jquery.svg.js')}}"></script>
but is seems that the svg function is not present :

<div class="test">svg should be here</div>

<script>

$('.test').svg();

var svg=$('.test').svg('get'); 
svg.circle(130, 75, 50, {fill: 'none', stroke: 'red', strokeWidth: 3});

</script>

the above snippet doesn't work. anyone tried this? 

-- 



Reply via email to