--- loncom/interface/loncommon.pm 2023/11/28 17:53:15 1.1424 +++ loncom/interface/loncommon.pm 2023/12/31 23:03:40 1.1425 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1424 2023/11/28 17:53:15 raeburn Exp $ +# $Id: loncommon.pm,v 1.1425 2023/12/31 23:03:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1764,8 +1764,6 @@ the id of the element to resize, second surrounds everything that comes after the textarea, this routine needs to be attached to the for the onload and onresize events. -=back - =cut sub resize_textarea_js { @@ -2443,6 +2441,12 @@ END =item * &iframe_wrapper_headjs() +emits javascript containing two global vars to facilitate handling of resizing +by code in iframe_wrapper_resizejs() used when an iframe is present in a page +with standard LON-CAPA menus. + +=cut + # # Where iframe is in use, if window.onload() executes before the custom resize function # has been defined (jQuery), two global javascript vars (LCnotready and LCresizedef) @@ -2450,11 +2454,6 @@ END # do not obscure the Functions menu. # -=back - -=cut - - sub iframe_wrapper_headjs { return <<"ENDJS";