We're
just beginning to use applets more widely in the WeBWorK community and
there are still issues with portability. Certain things may need to be
tweaked by hand. Here is one way to do it which will
allow all of your faculty to use the problems without further
modification.
First grab the applet live.jar from
http://www.vis.uni-stuttgart.de/~kraus/LiveGraphics3D/download.html
Place it in ..../webwork2/htdocs/applets/
In the file union_problib/LiveGraphics3D.pl change the line
defining the address for the jar to:
jar => "http://webwork.math.rochester.edu/webwork2_files/applets/live.jar",
(you will use your own machine name not webwork.math.rochester.edu)
As a check, when you view the problem source you should see
a segment such as:
<TD WIDTH="200" HEIGHT="200" ALIGN="CENTER"> <APPLET ARCHIVE="http://webwork.math.rochester.edu/webwork2_files/applets/live.jar" CODE="Live.class" WIDTH="200" HEIGHT="200"> <PARAM NAME="BGCOLOR" VALUE="#FFFFFF"> <PARAM NAME="MAGNIFICATION" VALUE="1.4"> <PARAM NAME="INPUT_ARCHIVE" VALUE="/tmp/mth164/html/gage-822-set5-prob11-graph7-zip.html"> <PARAM NAME="INPUT_FILE" VALUE="graph7.m"> <IMG SRC="/tmp/mth164/gif/5-prob11-graph7s.gif" BORDER="0"> <SMALL>[Enable Java to make this image interactive]</SMALL><BR></APPLET></TD>
This is a bit of a hack. The alternative, which involves no change to
the LiveGraphics3D.pl file, is to place a link in each course
courseName/html/live.jar ----> ..../webwork2/htdocs/applets/live.jar
you need to make a link for each course in this case.
Good luck. They are great applets
-- Mike
<| Post or View Comments |>
|