Might be a real question whether relocating a DOM element reinitializes a
canvas....
On Mon, May 6, 2013 at 1:57 PM, Angel Herráez <[email protected]> wrote:
> > You need to use "opener.xxx" for the opener's variables.
>
> Yes, I was using that and it was failing. Then it started to work again.
> Don't
> know the cause, I will keep digging. I've had some problems with opener
> before.
>
>
> > "If child is a reference to an existing node in the document,
> appendChild moves it from its
> > current position to the new position (i.e. there is no requirement to
> remove the node from its
> > parent node before appending it to some other node)."
> >
> > The outermost div created by JSmol is id="ID_appletinfotablediv" where
> ID is the name you have
> > given the applet, such as "jmol" or "jmolApplet0"
>
> Ah, Ok, yes I saw _appletinfotablediv is the div, but was just thinking if
> I
> needed an outer one to be able to use innerHTML or the sorts. I did not
> realize about "relocating" with appendNode. Sounds good.
>
> Thanks
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users