Neil wrote:

> I demand that James Ross may or may not have written...
> 
>> I can't seem to find an easy way to get the name of the current theme
> 
> That's not foolproof, as you may have a custom package that uses a 
> custom theme, so that theme is always selected as well as the global 
> theme. I don't even know how you would find out which theme is selected 
> for a given package, sorry.

I'm only interested in whether *my* theme is selected. And I have 
sort-of got that working. I just pass the internal name of my theme to 
isSelectedSkin, but I don't know what the second parameter does? It only 
seems to work if it's true... any *documentation* on this 'shit' [1] 
anywhere?

-- 
James Ross <[EMAIL PROTECTED]>
Webmaster, The University of Warwick Computing Society
http://www.warwickcompsoc.co.uk/

No, really it is a feature! Trust me!
                     -- Bugzilla (bugzilla.mozilla.org) quip list

[1] Sorry for the language, but I'm getting mighty anoyed at the *lack* 
of any documentation for this JS stuff.


Reply via email to