Thank you, Bob, Paul and Otis
The issue is not easy. Proteopedia has both JS and PHP code that allows
pages to be created by users. So no, I don't always know what is the name
of the particular JSmol object since it is not created manually; they have
sequential ids, but the key is that a scene
Angel,
I’m not sure if I fully understand what you are trying to do, but browser local
storage is a great way to carry on behind the scene communications between all
types of entities - objects, objects that don’t yet exist, windows, tabs,
frames, and more. You can even close your browser,
Thanks, Bob
> Well, if you wrote the page, you should know, right? ;)
Not necessarily ;-) I mean, applets are generated quasi-automated by some
back-end code.
> All applets are registered in Jmol._applets.
Could be. The problem is to know which of those is involved at a certain
instance.
Well, if you wrote the page, you should know, right? ;)
All applets are registered in Jmol._applets.
Bob
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
It’s probably not recommended, but this may do the trick
Object.keys(Jmol._applets) ?
Paul
> Le 29-06-2017 à 14:58, Angel Herráez a écrit :
>
> Callbacks return as their first parameter the ID of the JSmol object (e.g.
> "jmolApplet1")
>
> I wonder if this ID could be
5 matches
Mail list logo