sure enough, Otis, Opera totally unloads the applet when you do applet.style.visibility="hidden" and reloads it from scratch when you do .visibility="visible". I checked this with a couple of other applets, and they are all the same. I thought perhaps .style.display would work, but, no, not that, either. Definitely an Opera bug. Bummer! How strange. Thank you for showing us this. Oy.

As convenient as it is to make the visible or invisible, you are going to have to use another tactic. Move the object left= -1000 or something like that instead of hiding it.

Good luck. Please get back to us about what works.

Bob Hanson


Otis Rothenberger wrote:

I use the following page for development. I think the show/hide help screen
gives enough information for basic page operations:

http://www.che.ilstu.edu/osrothen/jmol/script_page.aspx


A simple color change (fairly intuitive, I hope) to an atom in the default
methane molecule of object 01, followed by a show object 02 back to object
01 will demonstrate the Opera problem. In Opera, I also lose all DOM control
of the objects after a simple operation like this - not so in MSIE or
Firefox.

Otis

--
Otis Rothenberger
Department of Chemistry
Illinois State University
Normal, IL 61790-4160
http://chemagic.org

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:jmol-users-
[EMAIL PROTECTED] On Behalf Of Bob Hanson
Sent: Wednesday, March 01, 2006 12:29 PM
To: [email protected]
Subject: Re: [Jmol-users] Jmol and Opera

Otis, can you point us to a URL we can use to investigate this?

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to