$(function(){ $("#stage").load('interactive.svg',function(response){ $(this).addClass("svgLoaded"); if(!response){ // Error loading SVG $(this).html('Error loading SVG. Be sure you are running from a the http protocol (not locally) and have read <a href="http://tympanus.net/codrops/?p=13831#the-javascript">this important part of the tutorial</a>'); } }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)