right. You do that with CSS. simplest way is:
_jmol.menuCssText="style='font-style:italic' "
just before that jmolMenu call.
Bob
On Thu, Apr 1, 2010 at 11:18 AM, jo <j.ouel...@dundee.ac.uk> wrote:
>
> Hi,
>
> I'm fine-tuning our webpage (thanks to Bob who started me up the right way)
> and I'm not able to have italics characters using the jmolMenu.
>
> Here is a simplified example where I would expect the '"Name" to be
> italicised, but it's not.
>
> jmolMenu([
> ["hide model=1.1", "Select the first pdb", "selected"],
> ["load file.pdb'", "<i>Name</i>"]
> ]);
>
> Is anyone knows how to do it?
>
> cheers
>
> jo
>
>
>
> j.ouel...@dundee.ac.uk
> Jonathan Ouellet
> David M.J. Lilley's Lab
> MSI/WTB complex
> University of Dundee
> DD1 5EH, United Kingdom
> tel.: 01382-384246
> fax.: 01382-385893
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users