Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQuery SVG

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27822
    TT_Mark
    Member

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.