El 8 Sep 2005 a las 14:02, Craig T Martin escribió: > My apologies. This was MY mistake. Going against the rules, I had re- > written one of the Jmol.js routines (added two lines - see below),
Craig, instead of redefining functions or adding lines to Jmol.js, you can **repeat** the function and edit it, and add the new lines, in a separate js file of your own (or write the new lines in the header of your pages, after calling Jmol.js). Then call this file after calling Jmol.js. That way, the second definition (yours) of the function will take precedence over the first but, since you arenot editing Jmol.js, you will be safe against updates. (I learnt this trick from Bob Hanson, trying to give better support for applet in frames) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

