Well, it does not work. "i" is higher than the nr of Jmol objects
> BTW, this works though it's unnecessary convoluted in my opinion > var i=0; > for (j in Jmol._applets) { i++; } > alert(i) i comes out as 0, 3, 5, 7 ... That's because each item in Jmol._applets is kind of multiple (text, object, something else). I can see that but don't know how to get around it. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users