On 11 Sep 2007 at 11:01, Bob Hanson wrote:

> That's a good suggestion. -- Just a suggested guideline, I think. The 
> command is simply:
> 
> load menu ""
> 
> I suppose we could make that automatically inserted at the bottom, but 
> that seems a bit heavy-handed. Maybe there's a reason NOT to have the 
> full menu in certain cases. 

Right, no need to force it by default. Anyone who decides to put effort into 
writing a custom 
menu can easily add that if (s)he wants. We can put it as a suggested item 
together with the 
instructions for building menus.



> If we wanted to, though, we could have "Full 
> Menu" part of the translation set, so if any one uses it, it will show 
> up translated, even though it's not on the full menu itself.

I don't understand this.


> By the way, What do you think of a "Load Model" menu item that calls up 
> a prompt preloaded with the current file name? That's easy for the 
> applet. Just:
> 
> fname = javascript("prompt(\"Enter a file name\",\""+_modelfile+"\")");
> if (fname !="null" && fname !="");x =script("load "+fname);endif;

Cute!



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to