Grow your CSS skills. Land your dream job.

JQuery SVG

  • # February 1, 2010 at 1:53 pm

    Does anyone have experience using the JQuery SVG plugin? I’m having an absolute nightmare getting it to work in IE. Instead of loading the actual SVG image it just loads the blank.svg and stays blank. All other browsers work though.

    Here is the code

    Code:
    $(“#map”).svg({
    onLoad: function(){
    var svg = $(“#map”).svg(‘get’);
    svg.load(‘test.svg’, {addTo:true});
    },
    settings: {}}
    );

    Live example can be found at http://homepages.shu.ac.uk/~msinkins/

    (Yes it is a university website, but no, I am not being marked on the coding. It is an investigation into whether or not something is possible, but if I cannot get the image loaded then I cannot start my investigation!)

    Cheers for any help!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".