[system] / trunk / pg / macros / LiveGraphics3D.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/LiveGraphics3D.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6288 Revision 6289
63# 63#
64 64
65sub LiveGraphics3D { 65sub LiveGraphics3D {
66 my %options = ( 66 my %options = (
67 size => [250,250], 67 size => [250,250],
68 jar => "live.jar", # "${htmlURL}live.jar",
68 jar => findAppletCodebase("live.jar")."/live.jar", 69 codebase => findAppletCodebase("live.jar"),
70 # codebase => "http://hosted2.webwork.rochester.edu/webwork2_files/applets/", # used for testing
69 background => "#FFFFFF", 71 background => "#FFFFFF",
70 scale => 1., 72 scale => 1.,
71 tex_size => 500, 73 tex_size => 500,
72 tex_cener => 0, 74 tex_cener => 0,
73 @_ 75 @_
101 $out .= qq{<TD WIDTH="$w" HEIGHT="$h" ALIGN="CENTER">}; 103 $out .= qq{<TD WIDTH="$w" HEIGHT="$h" ALIGN="CENTER">};
102 # 104 #
103 # start the applet 105 # start the applet
104 # 106 #
105 $out .= qq{ 107 $out .= qq{
106 <APPLET ARCHIVE="$options{jar}" CODE="Live.class" WIDTH="$w" HEIGHT="$h"> 108 <APPLET CODEBASE="$options{codebase}" ARCHIVE="$options{jar}" CODE="Live.class" WIDTH="$w" HEIGHT="$h">
107 <PARAM NAME="BGCOLOR" VALUE="$options{background}"> 109 <PARAM NAME="BGCOLOR" VALUE="$options{background}">
108 <PARAM NAME="MAGNIFICATION" VALUE="$options{scale}"> 110 <PARAM NAME="MAGNIFICATION" VALUE="$options{scale}">
109 }; 111 };
110 # 112 #
111 # include the file or data 113 # include the file or data

Legend:
Removed from v.6288  
changed lines
  Added in v.6289

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9