[LON-CAPA-cvs] cvs: loncom /homework functionplotresponse.pm

raeburn raeburn at source.lon-capa.org
Thu Jun 6 11:55:19 EDT 2024


raeburn		Thu Jun  6 15:55:19 2024 EDT

  Modified files:              
    /loncom/homework	functionplotresponse.pm 
  Log:
  - Modify changes in rev 1.111 so GeoGebra 5.0.426 and later display works 
    well with LON-CAPA Authoring Space menus for all supported web browsers.
  
  
Index: loncom/homework/functionplotresponse.pm
diff -u loncom/homework/functionplotresponse.pm:1.111 loncom/homework/functionplotresponse.pm:1.112
--- loncom/homework/functionplotresponse.pm:1.111	Wed May 29 16:23:10 2024
+++ loncom/homework/functionplotresponse.pm	Thu Jun  6 15:55:19 2024
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # Functionplot responses
 #
-# $Id: functionplotresponse.pm,v 1.111 2024/05/29 16:23:10 raeburn Exp $
+# $Id: functionplotresponse.pm,v 1.112 2024/06/06 15:55:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -159,9 +159,11 @@
     unless ($height) { $height=400; }
     my $code=&geogebra_internal_program();
     return (<<ENDSTARTCODE);
+<div class="LC_left_float" style="margin:0; width:100%;">
 <article class="geogebraweb" data-param-enableLabelDrags="false" data-param-enableShiftDragZoom="false" 
 data-param-width="$width" data-param-height="$height" data-param-id="ggbApplet$appid" 
-data-param-useBrowserForJS="true" data-param-allowUpscale="true" data-param-ggbbase64="$code"></article>
+data-param-useBrowserForJS="true" data-param-ggbbase64="$code"></article>
+</div><div style="padding:0;clear:both;margin:0;border:0"></div>
 ENDSTARTCODE
 }
 




More information about the LON-CAPA-cvs mailing list