jamietre/ImageMapster — Issue #45: Issue with IE 8 and below
Author: jonathandeclan
Created: 2012-03-03 18:47:06+00:00
State: open

Did the most basic test with html:

with javascript

$(document).ready(function() {

$('#bg').mapster({

mapKey: 'data-mapkey',

areas: [
{ key: 'hat'

},
{ key: 'sock'
},
{ key: 'woman'

},
{ key: 'sticks'
},
{ key: 'mirror'
},

{ key: 'feather'
},
{ key: 'fairy'
},
{ key: 'logo'
},
{ key: 'triangle'
},
{ key: 'cup'
},
{ key: 'clock'
},

]
});

});

and I get the error below

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Sat, 3 Mar 2012 18:40:21 UTC

Message: 'key' is null or not an object
Line: 893
Char: 17
Code: 0
URI: http://localhost/pp/prod200212/js/jquery.imagemapster.js