#142 Transparent background

closed
nobody
5
2008-10-05
2008-07-02
Anonymous
No

I have implemented 'drag and drop' movement and resizing of the jmol applet for a 'Jmol toolkit'. It would be very
nice if there were an option to set the background of the
applet to 'transparent' so that it could be dragged over
other content with minimal masking.
This is really only for 'cosmetic' reasons, and I only ask on the off-chance that it is straightforward to do.

Best wishes

S. P. Westrip

simon@publcif.co.uk

Discussion

  • Simon Westrip
    Simon Westrip
    2008-07-03

    Logged In: YES
    user_id=2134257
    Originator: NO

    Seems this question has been asked before:
    www.mail-archive.com/jmol-developers@lists.sourceforge.net/msg05611.html

    So the answer is 'No'

    simon@publcif.co.uk

     
  • Logged In: NO

    Transparent background was implemented and then removed a couple of years ago because there was an odd problem that arose from this in some browsers. One one Linux machine (Miguel's), use of the transparent background caused a massive slow down in operation. This was never explained, and I'm game to try again. I will check on this.

    Bob Hanson

     
  • Logged In: NO

    I'm not aware of this being possible for any applet. DEFINITELY not straightforward. However, it is implemented now for the application -- if a developer wants to integrate Jmol into an application that can repaint behind the Jmol window, one simply needs to add a -b flag to the setAppletContext() call.

    Bob

     
  • Simon Westrip
    Simon Westrip
    2008-08-19

    Logged In: YES
    user_id=2134257
    Originator: NO

    Thanks for your time on this. I'm looking into embedding Jmol, so this could well be useful.

    Cheers

    Simon

     
  • Logged In: NO

    ok, let me know if it needs more tweaking. I'd like to see a nice application of this sometime.

    Bob

     
  • Bob Hanson
    Bob Hanson
    2008-10-05

    • status: open --> closed