Conflict Jquery
-
Here is the code:
<script type="text/javascript"> jQuery(document).ready(function($) { var mapdiv = jQuery("#responsive_map_<?php echo $mapid; ?>"); mapdiv.gMapResp({ maptype: google.maps.MapTypeId.ROADMAP, zoom: <?php echo $atts['zoom']; ?>, markers: <?php echo $markers; ?>, panControl: true, zoomControl: true, draggable: true, scrollwheel: true, mapTypeControl: true, scaleControl: true, streetViewControl: true, overviewMapControl: true, styles: <?php echo $atts['style']; ?> }); resmap_simp_fixDisplayInTabs(mapdiv, 'true'); }); window.onresize = function() { jQuery('.responsive-map').each(function(i, obj) { data2 = jQuery(this).data2('gmap'); if (data) { var gmap = data2.gmap; google.maps.event.trigger(gmap, 'resize'); jQuery(this).gMapResp('fixAfterResize'); } }); }; </script>Causes Jquery conflict with ALL! the plug-ins LightBox (for pictures)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Conflict Jquery’ is closed to new replies.