Pim, I can't reproduce this problem with Windows/Mozilla/Jmol 11.9.39_dev

What do you see in the Java console?

Bob

pim schravendijk wrote:

>Test of the resize script:
>
>Most models there automatically resize fine.
>BUT: watermo, bdno, and t2 seem to crash (black screen, mouse still
>works) when I increase the size above a certain point (or too fast).
>
>Memory usage at the point of crash is still under 64 MB. Reloading the
>page doesn't help. Also not when the page is first resized to a
>smaller point. Closing and opening helps.
>It might be the complex isosurfaces, but then again the cartoon views
>render fine no matter what I do.
>
>Using: java 1.5.0 in firefox, under linux
>
>On 10/19/07, Bob Hanson <[EMAIL PROTECTED]> wrote:
>  
>
>>Check my new POV-Ray example,
>>
>>http://chemapps.stolaf.edu/jmol/docs/examples-11/povray.htm
>>
>>It provides a simple example of a page with a popup based on a script.
>>In this case, the xxx.pov file.
>>
>>
>>Angel Herraez wrote:
>>
>>    
>>
>>>Nick,
>>>
>>>As Rolf says, the function is not in Jmol.js, but in one of Bob's
>>>files, new.js  It says:
>>>
>>>function newAppletWindow() {
>>>var sm=""+Math.random()
>>>sm=sm.substring(2,10)
>>>var newwin=open("JmolPopup.htm","jmol_"+sm,woptions)
>>>}
>>>
>>>So, it just opens a resizable* window loading JmolPopup.htm page
>>>
>>>(*) since it uses
>>>woptions="menubar=yes,resizable=1,scrollbars,alwaysRaised,width=600,
>>>height=600,left=50"
>>>
>>>BTW, as far as I know you can shorten to
>>>woptions="menubar,resizable,scrollbars,alwaysRaised,width=600,
>>>height=600,left=50"
>>>
>>>JmolPopup.htm has a standard call to jmolApplet
>>>but with the size arguments made to fit the window:
>>>      jmolApplet(["100%","90%"]
>>>and then to collect a script from the opening page
>>>
>>>El 19 Oct 2007 a las 16:27, Nick Greeves escribió:
>>>
>>>
>>>
>>>      
>>>
>>>>I'm still struggling with creating a button to pop out a large Jmol
>>>>window like you have below your windows as standard.
>>>>
>>>>
>>>>        
>>>>
>>>So, you can just do something like
>>>
>>><input type="button" value="new window"
>>>onClick='newAppletWindow()'>
>>>
>>>if you
>>>1) create a JmolPage.htm or copy Bob's JmolPopup.htm
>>>2) define (or copy) newAppletWindow() in your page
>>>3) a mechanism for passing the script from parent to child window, or
>>>to read it from opener window as Bob's does.
>>>
>>>
>>>
>>>-------------------------------------------------------------------------
>>>This SF.net email is sponsored by: Splunk Inc.
>>>Still grepping through log files to find problems?  Stop.
>>>Now Search log events and configuration files using AJAX and a browser.
>>>Download your FREE copy of Splunk now >> http://get.splunk.com/
>>>_______________________________________________
>>>Jmol-users mailing list
>>>Jmol-users@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>>      
>>>
>>--
>>Robert M. Hanson
>>Professor of Chemistry
>>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
>>
>>
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc.
>>Still grepping through log files to find problems?  Stop.
>>Now Search log events and configuration files using AJAX and a browser.
>>Download your FREE copy of Splunk now >> http://get.splunk.com/
>>_______________________________________________
>>Jmol-users mailing list
>>Jmol-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>    
>>
>
>
>  
>


-- 
Robert M. Hanson
Professor of Chemistry
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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to