OS: Linux Mint 12 Lisa x64
Browser: Google Chrome 17.0
jZebra Version: 1.4.3
Sample file "loading.html" never appends the Java applet. Putting the browser
in debug shows that the "appendApplet" is called properly, but the
"jzebraReady()" function is never called.
After troubleshooting, realized this is caused by a width and height of zero in
the appendApplet code.
Recommendation is to append the applet with 1px width and 1px height to
work-around this issue on Google Chrome.
Change:
document.getElementById('applet').innerHTML = '<applet name="' + APPLET_NAME +
'" code="' + APPLET_CLASS +
'" archive="' + APPLET_URL + '" width="0" height="0" mayscript></applet>';
To:
document.getElementById('applet').innerHTML = '<applet name="' + APPLET_NAME +
'" code="' + APPLET_CLASS +
'" archive="' + APPLET_URL + '" width="1px" height="1px" mayscript></applet>';
-Tres
Original issue reported on code.google.com by tres.fin...@gmail.com on 17 Jul 2012 at 2:09
Original issue reported on code.google.com by
tres.fin...@gmail.com
on 17 Jul 2012 at 2:09