--- loncom/homework/functionplotresponse.pm 2016/09/14 18:14:48 1.105.2.3 +++ loncom/homework/functionplotresponse.pm 2024/06/06 15:55:19 1.112 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # Functionplot responses # -# $Id: functionplotresponse.pm,v 1.105.2.3 2016/09/14 18:14:48 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 @@ sub html5_geogebra_startcode { 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-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 }