Hi all
For some time I've been observing javascript errors when the page with Jmol
applet loads,
but without any serious consequences: everything worked fine.
"Error reading value for property 'width'. Invalid declaration"
"Error reading value for property 'height'. Invalid declaration"
(this is not literal, as my errors are in Spanish)
Today I have found (thanks to Opera console, which is more clever than
Firefox's) that it is
caused by a CSS error in Jmol.js
on line nr. 643:
"<p style='background-color:yellow;" +
"width:" + sz[0] + ";height:" + sz[1] + ";" +
lacks the proper units (pixels) for CSS property. It should read:
"<p style='background-color:yellow;" +
"width:" + sz[0] + "px;height:" + sz[1] + "px;" +
This was added between 10.00.36 and 10.00.39 and is still there in the latest
10.9.102
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users