If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.
powered by ChangeDetection
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $( function () { $('td > div.maps-map').each(function(){ var $div = $(this); //...") |
|||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
| + | |||
| + | /* Resize maps (within tables) to the full height of the table cell -- MH 03/28/2014 */ | ||
$( function () { | $( function () { | ||
$('td > div.maps-map').each(function(){ | $('td > div.maps-map').each(function(){ | ||
/* Any JavaScript here will be loaded for all users on every page load. */
/* Resize maps (within tables) to the full height of the table cell -- MH 03/28/2014 */
$( function () {
$('td > div.maps-map').each(function(){
var $div = $(this);
// Set the div's height to its parent td's height
$div.height($div.closest('td').height());
});
});