Rick Davis Posted March 27, 2012 at 12:53 AM Share Posted March 27, 2012 at 12:53 AM On my listing page, I've succesfully moved the maps to the sidebar. I have them stacked with the main map on top and streetview on the bottom. I'd like to hide the <div id="gm_map_detail_streetview"... when the result is "Street view not available for this address." I've been playing with this in the map_detail.thtml page- if (panoData.code != 200) { jQuery('#gm_map_detail_streetview').css('display','none'); } I think I'm close but I need some more direction. Here is an example of a page with NO streetview: http://www.eatlocalgrown.com.php5-25.dfw1-2.websitetestlink.com/farms/3009-dons-eggs Here is a page with the streetview: http://www.eatlocalgrown.com.php5-25.dfw1-2.websitetestlink.com/farms/989-3-boys-farm Thanks! Link to comment
Alejandro Posted March 27, 2012 at 02:04 AM Share Posted March 27, 2012 at 02:04 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Rick Davis Posted March 27, 2012 at 02:49 AM Author Share Posted March 27, 2012 at 02:49 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted March 27, 2012 at 02:53 AM Share Posted March 27, 2012 at 02:53 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Rick Davis Posted March 27, 2012 at 03:39 PM Author Share Posted March 27, 2012 at 03:39 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts