In JSmolCore.js it reads:
if (isHeader) {
...
s = "\
...<div id=\"ID_appletinfotablediv\"
style=\"width:Wpx;height:Hpx;position:relative;font-size:14px;text-align:left\">IMG\
......<div id=\"ID_appletdiv\" style=\"z-index:" + Jmol._z.header +
";width:100%;height:100%;position:absolute;top:0px;left:0px;\">";
...
} else {
s = "\
......</div>\
......<div id=\"ID_2dappletdiv\"
style=\"position:absolute;width:100%;height:100%;overflow:hidden;display:none\"></div>\
......<div id=\"ID_infotablediv\"
style=\"width:100%;height:100%;position:absolute;top:0px;left:0px\">\
.........<div id=\"ID_infoheaderdiv\"
style=\"height:20px;width:100%;background:yellow;display:none\"><span
id=\"ID_infoheaderspan\"></span><span id=\"ID_infocheckboxspan\"
style=\"position:absolute;text-align:right;right:1px;\"><a
href=\"javascript:Jmol.showInfo(ID,false)\">[x]</a></span></div>\
.........<div id=\"ID_infodiv\"
style=\"position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto\"></div>\
......</div>\
...</div>";
Pretty sure those are all balanced.
Bob
On Thu, Dec 12, 2013 at 10:04 AM, Robert Hanson <hans...@stolaf.edu> wrote:
> should be a first half of that as well. That's the footer.
>
>
> On Wed, Dec 11, 2013 at 11:59 PM, Paul Pillot <
> paul.pil...@ac-orleans-tours.fr> wrote:
>
>> 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
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users