(also, using an echo your corners will be appropriately in FRONT of the model; using background and one large image you could make those go BEHIND the model if you preferred.)
Oh, the corners will reposition appropriately if the applet is resized. On Tue, Dec 22, 2009 at 6:41 PM, Robert Hanson <[email protected]> wrote: > I think this thread also relates to the other one -- about the problem with > transparent images. > > Graeme, basically what you are asking for is the idea of "skins". With the > fix I just added, there should be no problem positioning four corner images > using > > set echo topLeft [0 100%] > set echo topLeft IMAGE "topLeft.gif" > > set echo topRight [100 100%] > set echo topRight IMAGE "topRight.gif" > > etc. > > The image will be positioned correctly to be right in the corner, and the > desired pixels will be transparent. > > I don't see any need to create all new shapes for this sort of thing. Hope > you agree. > > Bob > > > > > On Mon, Dec 21, 2009 at 3:02 PM, Graeme Kidd <[email protected]>wrote: > >> >I've tested my ideas on >> >http://biomodel.uah.es/angel/Jmol/rounded/ >> Nice! >> >> >1. uses just CSS (good only for Firefox, Chrome and Safari, but I guess >> you >> already have >> >your solutions for rounded corners) >> Sadly I need to support IE 6 :( >> >> >2. Jmol can position 4 images using "echo", but seems to have problems >> with >> GIF >> >transparency in 3 out of 4 corner images. Is that a bug, Bob? >> This method looks more promising and certainly seems like a less intrusive >> way of adding the corners. >> >> Thanks >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> > > > > -- > Robert M. Hanson > Professor of Chemistry > St. Olaf College > 1520 St. Olaf Ave. > Northfield, MN 55057 > http://www.stolaf.edu/people/hansonr > phone: 507-786-3107 > > > 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 > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 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 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
