The SVG converter is a web frontend to a jQuery Plugin, that allows you to include those line drawings on your webpage.
BOOKING SOLUTIONS 202x This is my take on a subset of booking, appointment, PMS or… Read More
THE GOAL Create a system cron for WordPress, that is accessible and can be easily… Read More
2024, what's cooking? Slowly getting into the 2024 spirit. 3 projects coming to a close… Read More
Short look back at 2023 This has been a busy and interesting year. I am… Read More
Elementor Pro provides grid containers as an experimental feature. The options provided are limited, when… Read More
Archaeology Travel is an online travel guide for people who enjoy exploring the world’s pasts.… Read More
View Comments
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( ....
Regards
Alex
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
Regards
Alex