X

Track changes made to this page

If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.



Privacy policy
Close this window

powered by ChangeDetection

Difference between revisions of "Common.js"

(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(){

Revision as of 18:58, 28 March 2014

/* 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());
    });
});