Hello

I am trying to use setStylesheet to define a default style for a
plugin.
I have tried the following but it does not seem to work.


{{{
setStylesheet(".ippThumbSize { max-height: 60px; border: 1px solid
gray; padding: 2px; margin: 1px; }","thumbImageStylesheet");

config.macros.imagePopupPlugin = {};
config.macros.imagePopupPlugin.handler =
function(place,macroName,params,wikifier,paramString,tiddler)

....

}
}}}

The problem is that the ippThumbSize CSS class
does not appear to exist within the imagePopupPlugin.
Defining the class within the StyleSheet does work.

Where does the call setStylesheet go relative to the plugin
and how do I reference the style within the plugin?

Thanks
Steve W



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to