Hi,
trying to debug one of my webpages that doesn’t display the HTML5 Jmol (without
throwing any error) but that does display the Java version, I’ve looked at the
generated code (jmolApplet0._code) and saw this for the canvas2D version :
"</div><div id="jmolApplet0_2dappletdiv"
style="position:absolute;width:100%;height:100%;overflow:hidden;display:none"></div><div
id="jmolApplet0_infotablediv"
style="width:100%;height:100%;position:absolute;top:0px;left:0px"><div
id="jmolApplet0_infoheaderdiv"
style="height:20px;width:100%;background:yellow;display:none"><span
id="jmolApplet0_infoheaderspan"></span><span id="jmolApplet0_infocheckboxspan"
style="position:absolute;text-align:right;right:1px;"><a
href="javascript:Jmol.showInfo(jmolApplet0,false)">[x]</a></span></div><div
id="jmolApplet0_infodiv"
style="position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto"></div></div></div><br
/><input type="text" id="jmolApplet0_query"
onkeypress="if(13==event.which){Jmol._applets['jmolApplet0']._search();return
false}" size="32" value="" /><br /><nobr><select
id="jmolApplet0_select"><option value="$" selected>NCI(small
molecules)</option><option value=":" >PubChem(small molecules)</option><option
value="=" >RCSB(macromolecules)</option></select><button
id="jmolApplet0_submit"
onclick="Jmol._applets['jmolApplet0']._search()">Search</button></nobr> »
I think that the first closing div might break my design, preventing the
display.
The java version HTML code generated doesn’t begin by a closing tag.
-Paul
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users