Rolf Huehne wrote:

>Reinhold Stoermann wrote:
>  
>
>>Maybe I'm looking in the wrong places, but I can't seem to find a 
>>description of the syntax for the Jmol functions
>>
>>jmolSetCheckboxCssClass(...)
>>jmolSetMenuCssClass(...)
>>
>>and similar.
>>
>>What is the parameter to be given to these functions? A string with the 
>>location of the css file?
>>
>>    
>>
it's the CSS class name. The classes themselves are usually in a 
separate file and referenced in the HEAD with something like:

<link rel="stylesheet" type="text/css" href="styles.css" />




>>Or the class name that I want the menu items to have? And if this is the 
>>case, do I have to lead the css file before calling 
>>jmolSetMenuCssClass(...). Probably, but I cannot find anything in the 
>>JMol Wiki on this subject.
>>
>>    
>>
nah, you can call that anytime.

>The CSS file is usually loaded within the "<HEAD>" section of a HTML
>document. I don't know if it really would make a difference but I would
>advice to load the Jmol Javascript library afterwards to be on the safe
>side.
>
>  
>
doesn't matter.


Bob

-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to