SVG Code is 21k chars. Work around to embed?

Use 2a or 2b depending on the document type.

In the example, ajaxContent is the ID of an element on your page that you want to insert the contents of the HTML file into. <div id="ajaxContent"></div> is included in the first line of code for those who are using an embed code component at the exact location of the place to insert the content. This is optional and you can use any other element on the page with the same ID as the one in the jQuery selector on line 6 $('#ajaxContent').append(data);


Also, feel free to contact me for further code help and/or customization of third-party plugins

2 Likes