Skip to content

Commit 412ae69

Browse files
committed
trying to fix loading.gif
1 parent fc4c200 commit 412ae69

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

generate/lib/Example.class.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,12 @@ function display()
101101
$html .= " archive: 'media/" . $this->name . ".jar,media/core.jar',\n";
102102
$html .= " width: '" . $this->width . "',\n";
103103
$html .= " height: '" . $this->height . "',\n";
104-
#$html .= " image: 'media/loading.gif'\n";
105104
$html .= "};\n";
106-
#$html .= "deployJava.runApplet(attributes, { }, '1.5');\n";
107-
$html .= "deployJava.runApplet(attributes, { image: 'media/loading.gif' }, '1.5');\n";
105+
$html .= "var parameters = {\n";
106+
$html .= " image: 'media/loading.gif',\n";
107+
$html .= " centerimage: 'true'\n";
108+
$html .= "};\n";
109+
$html .= "deployJava.runApplet(attributes, parameters, '1.5');\n";
108110
$html .= "/* ]]> */\n";
109111
$html .= "</script>\n\n";
110112

0 commit comments

Comments
 (0)