jquery - CraftMap JS - Not loading map image in IE -


i using craftmap js produce "interactive map". map image loads fine in, firefox , chrome no @ internet explorer.

i have tried in versions of ie 10 down 7 , image of map not load.

i have tried craftmap demo, linked above in ie , works fine. cannot see obvious have missed. hoping 1 of can me out.

my html markup follows :

                    <div class="interactive-map">                     <img src="<?php bloginfo( 'template_url' ); ?>/assets/img/world_map.jpg?23456897" class="imgmap" />                     <div class="marker" id="uk" data-coords="933, 340">                         <h3>united kingdom</h3>                         <ul>                             <li>(uk) ltd - tel: +44</li>                         </ul>                         <a class="map-more" href="#united-kingdom">find out more</a>                     </div><!-- #uk --> </div> 

and js....

$(function(){      $('.interactive-map').craftmap({         image: {             width: 1994,             height: 1303,             name: 'imgmap' // (string) class name image         },         map: {             position: '800 10' // (string) map position after loading - 'x y', 'center', 'top_left', 'top_right', 'bottom_left', 'bottom_right'         },         controls: {             init: true, // (bool) set true control map place on page             name: 'controls', // (string) class name controls container             onclick: function(marker)             {             }         }     }); }); 

hope can me out, driving me crazy..

i don't know if that's issue, check if objects correctly coded. example:

obj = {     key1: val1,     key2: val2,     key3: val3, //comma after last key-value pair } 

see comma after key-value pair? wouldn't cause problems @ chrome, firefox etc, raise error in ie.

again, suggestion, not sure if it's problem, check issue.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -