User fa2cceb2f7
03-02-2014 19:19:32
Dear all,
is there a (probably undocumented) possibility to trigger "Zoom all" programmatically the same way as clicking the "Zoom all" button behaves? An (official) api method obviously doesn't exist. So I tried various jQuery approaches ( triggering click as well as "Enter" key events on the div, the input, and everything around) - no success.
Right now I'm picking at straws... :/
Best regards,
Daniel
ChemAxon f052bdfe3c
04-02-2014 15:10:37
Hi Daniel,
We do not have this public API option. May I ask in which scenario do you want to use it?
If it is confidential, please answer to my email directly.
Thank you,
Efi
User fa2cceb2f7
04-02-2014 15:22:27
Dear Efi,
I think my question is related to https://www.chemaxon.com/forum/ftopic12067.html. We are also trying to initialize Marvin4JS in an invisible iframe and load a molecule later on using importAsMol. While it seems that the molecule gets loaded correctly, it is invisible until one manually clicks the "Zoom all" button.
Best regards,
Daniel
ChemAxon f052bdfe3c
10-02-2014 15:50:19
Oh. I see. We try to solve the original problem then.
Best Regards,
Efi