#360 Default background color

closed-rejected
Bob Hanson
Applet (71)
5
2006-08-22
2006-06-15
Anonymous
No

Hi,

With earlier versions of jmol, the user could setup the
default color for background, which I prefer to be
white instead of black.

With this new version this is not possible, unless jmol
is started with a startup script with a line
"background white". This procedure is not very obvoius.
However if I want to open a new window this will appear
with a black background. Couldn't the new window have
the same background as parent window?

Luis

Discussion

  • Bob Hanson
    Bob Hanson
    2006-06-15

    Logged In: YES
    user_id=1082841

    Luis,

    Although this was tagged "application", I think it refers to
    the applet. Just use

    jmolSetAppletColor("white");
    jmolApplet(300,...);

    I'm not sure what you mean by "a new window" in this
    context. If you are opening browser windows, you have full
    control over what the background is using CSS or HTML. If by
    "window" you mean the applet frame itself, then just use the
    jmolSetAppletColor() command from Jmol-js.

    Bob Hanson

     
  • Bob Hanson
    Bob Hanson
    2006-06-15

    • labels: 690718 --> Applet
    • assigned_to: nobody --> hansonr
    • status: open --> open-works-for-me
     
  • Logged In: NO

    Thank you for your response.

    I actually meant the application and not the applet.

    Luis

     
  • Bob Hanson
    Bob Hanson
    2006-08-22

    Logged In: YES
    user_id=1082841

    We need to keep this functionality as is.

     
  • Bob Hanson
    Bob Hanson
    2006-08-22

    • status: open-works-for-me --> closed-rejected