The JSmol object uses a form tag as well for sending off images for the
WRITE command when it needs server support. If you are not using that, you
can probably disable it. Look tor "<form" in the JS code.
On Thu, May 9, 2013 at 1:33 PM, Angel Herráez <angel.herr...@uah.es> wrote:
> Dear Jmolers
>
> I have a weird situation and would like to hear if ay of you has had this
> experience or has a suggestion.
>
> My page had this structure:
>
> <body>
> <form>
> <div id="JmolPane">
> ...(Javascript code that inserts Jmol)...
> </div>
> <div id="mainPane">
> ...(content)...
> </div>
> </form>
> </body>
>
> So this has been working nicely with a JmolApplet. Now I changed to a
> JSmol object, and some of my controls do not work because the closing form
> tag has been moved above the mainPane div (I see it in the 'generated
> source code' in both Firefox and Chrome).
>
> The culprit has to be either the JSmol libraries or the jQuery included in
> them. The page has not any other forms that I can see in generated source.
>
> Any hints will be welcome. My only choice now is to rewrite the page to
> avoid
> using the form tag, but that would involve quite a few pages to edit.
> I am not using the form for submission, it's just a (historic) way of
> handling
> the controls easily.
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> Jmol-users@lists.sourceforge.net
> 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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users