Thanks for the suggestions, however:

> 1. Wrap the applet in a div that provides a margin and the corners.
This is how I am currently doing it, there is a 7 pixel high block section
above and below the applet that contains the corners. The downside to this
is that people may attempt to click on this area as it has the same
background colour as the Jmol Applet. These sections then become more
distracting when the Jmol Applet starts displaying structures that touches
the edges of the Applet, thus ruining the round cornered illusion.
 
> 2. You can position GIFs in the applet as background. Well, at least one
image can be 
placed as background, not sure about four.
Since Jmol stretches the background image to fit the window I will need to
generate the graphic with the four round corners for each dimension I use.
The corners will then behave like backgrounds and not stay in front of the
structure.

For those reasons it seems like the best way would be to simply spend some
time and implement the corners inside Jmol.






------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to