17. March 2015
The SVG converter is a web frontend to a jQuery Plugin, that allows you to include those line drawings on your webpage.
Lazy Line Painter
Hi. I’m looking for help using this with Visual Composer. I have no idea how to make it work. I am trying the “Raw JS” box. But nothing happens when I copy and paste my code.
Hi amanda, under WordPress jQuery is loaded in compatibility mode, which means the dollar sign is not available. You need to use jQuery(document).ready(function().... jQuery('#yourID').lazylinepainter( ....
jQuery(document).ready(function().... jQuery('#yourID').lazylinepainter( ....
Thanks Alex. Do I simply post the code in the Raw JS Box? Do I need to put my svg somewhere (as an image, or html or anything?)
The examples over at Github should give you a pretty good idea what is required (https://github.com/camoconnell/lazy-line-painter/tree/master/examples). The Raw JS Box will allow you to execute the JS, but you will still have to include a container for the SVG data and attach the SVG data itself