Log Message:
-----------
brings the pg copy in line with the copy in NPL/macros/Union
Modified Files:
--------------
pg/macros:
LiveGraphics3D.pl
Revision Data
-------------
Index: LiveGraphics3D.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/LiveGraphics3D.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lmacros/LiveGraphics3D.pl -Lmacros/LiveGraphics3D.pl -u -r1.2 -r1.3
--- macros/LiveGraphics3D.pl
+++ macros/LiveGraphics3D.pl
@@ -65,7 +65,9 @@
sub LiveGraphics3D {
my %options = (
size => [250,250],
- jar => findAppletCodebase("live.jar")."/live.jar",
+ jar => "live.jar", # "${htmlURL}live.jar",
+ codebase => findAppletCodebase("live.jar"),
+ # codebase => "http://hosted2.webwork.rochester.edu/webwork2_files/applets/", # used for testing
background => "#FFFFFF",
scale => 1.,
tex_size => 500,
@@ -103,7 +105,7 @@
# start the applet
#
$out .= qq{
- <APPLET ARCHIVE="$options{jar}" CODE="Live.class" WIDTH="$w" HEIGHT="$h">
+ <APPLET CODEBASE="$options{codebase}" ARCHIVE="$options{jar}" CODE="Live.class" WIDTH="$w" HEIGHT="$h">
<PARAM NAME="BGCOLOR" VALUE="$options{background}">
<PARAM NAME="MAGNIFICATION" VALUE="$options{scale}">
};
|