Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (2024)

Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (1)

Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (66)

Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (67)

'+''+''; } else { contentString = ''+ '

'+ '

'+'
'+''; } var infowindow = new google.maps.InfoWindow({ content: contentString }); var marker = new google.maps.Marker({ position: location.position, icon: icons['base'].icon, map: globalMap, infowindow: infowindow }); allMarkers.push(marker); // event listener for info window marker.addListener('click', function() { hideInfoWindows(globalMap); marker.setIcon(icons['active'].icon); infowindow.open(globalMap, marker); }); function hideInfoWindows(map) { allMarkers.forEach(function(marker) { marker.infowindow.close(map, marker); marker.setIcon(icons['base'].icon); }); } // hide all infowindows on map click google.maps.event.addListener(globalMap, "click", function(event) { hideInfoWindows(globalMap); }); /* * The google.maps.event.addListener() event waits for * the creation of the infowindow HTML structure 'domready' * and before the opening of the infowindow defined styles * are applied. */ google.maps.event.addListener(infowindow, 'domready', function() { // Reference to the DIV which receives the contents of the infowindow using jQuery var iwOuter = jQuery('.gm-style-iw'); /* The DIV we want to change is above the .gm-style-iw DIV. * So, we use jQuery and create a iwBackground variable, * and took advantage of the existing reference to .gm-style-iw for the previous DIV with .prev(). */ var iwBackground = iwOuter.prev(); var iwClose = iwOuter.next(); // Remove the background shadow DIV iwBackground.css({'display' : 'none'}); // Remove the close button iwClose.css({'display' : 'none'}); }); }); // Create post markers. postPositions.forEach(function(location) { var contentString; // Create info window if (location.image) { contentString = ''+ '

Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (68)'+ '

'+'
'+''; } else { contentString = ''+ '

'+ '

'+'
'+''; } var infowindow = new google.maps.InfoWindow({ content: contentString }); var marker = new google.maps.Marker({ position: location.position, icon: icons['base'].icon, map: map, infowindow: infowindow }); postMarkers.push(marker); // event listener for info window marker.addListener('click', function() { hideInfoWindows(map); marker.setIcon(icons['active'].icon); infowindow.open(map, marker); }); function hideInfoWindows(map) { postMarkers.forEach(function(marker) { marker.infowindow.close(map, marker); marker.setIcon(icons['base'].icon); }); } // hide all infowindows on map click google.maps.event.addListener(map, "click", function(event) { hideInfoWindows(map); }); /* * The google.maps.event.addListener() event waits for * the creation of the infowindow HTML structure 'domready' * and before the opening of the infowindow defined styles * are applied. */ google.maps.event.addListener(infowindow, 'domready', function() { // Reference to the DIV which receives the contents of the infowindow using jQuery var iwOuter = jQuery('.gm-style-iw'); /* The DIV we want to change is above the .gm-style-iw DIV. * So, we use jQuery and create a iwBackground variable, * and took advantage of the existing reference to .gm-style-iw for the previous DIV with .prev(). */ var iwBackground = iwOuter.prev(); var iwClose = iwOuter.next(); // Remove the background shadow DIV iwBackground.css({'display' : 'none'}); // Remove the close button iwClose.css({'display' : 'none'}); }); }); }

Sign Up For Our Newsletter

Please enter valid email.

Thanks for subscribing!

Close X

Most and Least Amount of Legroom by Airline - Peter Greenberg Travel Detective (2024)
Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 5783

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.