$(this).parent().append(rat_text);
$(this).parent().parent().css('z-index','1000');
},
function() {
$(this).next().remove();
});
$("span.rating a").hover(function() {
rat_text = '
' +$(this).attr('alt')+ '
'; $(this).parent().parent().append(rat_text); }, function() { $(this).parent().parent().children('div.s-layer').remove(); }); // Map setup if (maLength > 0) { var bounds = getBounds(); $('#map_canvas').gmap({'center': bounds.getCenter(), 'streetViewControl': false, 'mapTypeControl': false, 'maxZoom' : 16, 'callback': function() {populateMap();} }); if (pinCnt > 1) { $("#map_canvas").gmap('getMap').fitBounds(bounds); } else { $("#map_canvas").gmap('getMap').setZoom(16); } } else { $("#map_canvas").hide(); } // Logging controls $(".bppSavingsTab a").click( function() {vp_omniLogPage("bpp:savings");} ); }); // end Doc ready var mAddrs = new Array(); var mcounts = new Array(); mAddrs[0] = {lat: 41.104001, lng: -74.148028, dist: 2.0, addr: '55 Franklin Tpke, Mahwah NJ 07430'}; mcounts[0] = {pinnumber: 1}; var maLength = mAddrs.length; function populateMap() { var map = $('#map_canvas').gmap('getMap'); var ctr = 0; $.each(mAddrs, function(index, value) { if (value) { new StyledMarker({styleIcon:new StyledIcon(StyledIconTypes.MARKER,{fore: 'ffffff', color: '1874CD', text: mcounts[ctr].pinnumber.toString()}), flat: true, position: new google.maps.LatLng(value.lat, value.lng), title: value.addr, map: map}); ctr++; } }); } function getBounds() { // Get the bounds of the mappable addresses var mapBounds = null; var mapFar = false; // Map addresses greater than radius if (mAddrs[0].dist > g_radius) { mapFar = true; } for (var i = 0; i g_radius) && !mapFar) { break; } pinCnt++; var coord = new google.maps.LatLng(mAddrs[i].lat, mAddrs[i].lng); if (mapBounds === null) { mapBounds = new google.maps.LatLngBounds(coord, coord); } else if (!mapBounds.contains(coord)) { mapBounds.extend(coord); } } } return mapBounds; } //LOG: Log content view var _vpContentViewArray = new Array(); //Create Slug Content View log data for the results list on the BPP page. This includes coupons and deals. _vpContentViewArray[0] = {czId:60, zmId:1122017} // Submit for logging vp_logContentLoad(4, _vpContentViewArray);Source: http://www.valpak.com/coupons/printable/MAHWAH-FORD-KIA-OIL-CHANGE/52275?slugId=1103691&vpref=rss
indianapolis colts joseph kony joseph kony ipad 3 release date apple store down apple live blog ohio primary
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.