diff --git a/fellowsTable.php b/fellowsTable.php index cb0231a..7ddea49 100644 --- a/fellowsTable.php +++ b/fellowsTable.php @@ -23,7 +23,7 @@ - .jpg" width="100px" /> + .jpg" width="100px" /> - \ No newline at end of file + diff --git a/js/iframeHeight.js b/js/iframeHeight.js new file mode 100644 index 0000000..fb9fc0e --- /dev/null +++ b/js/iframeHeight.js @@ -0,0 +1,7 @@ +jQuery(window).load(function() { + var setHeight = function(e){ + e.height = e.contentWindow.document.body.scrollHeight + 35; + }; + + jQuery('iframe.autoHeight').each(function(){ setHeight(this); }); +});