Hi Tobias

> What it boils down to is merely changing the string replace in the "g" 
> macro (g as for "glossary") ...which is not an utterly difficult job, 
> but I am unaware of all options of NestedSlidersPlugin and what needs 
> concatenation in which way and possibly what needs to be implemented 
> as another parameter (or document-wide config variable) in the code of 
> the g macro. 
>

I think I just might try that:

Sth like this might work?? (will test later...):

"config.macros.g = { 
handler:function(place,macroName,params){ 
var dText = params[0].replace(/\'/,""); 
if (dText.substring(0,1) == "$") { 
var noHead = 1; 
dText = dText.substring(1); 
} 
var gText 
=@@position:relative;+++^SomeAutoWidthDefinitionIdon'tKnow^@*[xyz]..."<"+"<tiddler
 
[[Glossary::"+params[1]+"]]>>===@@"; 
if (!noHead){gText = "^" + gText;} 
var gEntry="(("+dText+"("+gText; 
wikify(gEntry,place,null,null); 
return false; 
} 
} "
 

>
> However, I am pretty sure that you can assign any css class you want 
> to the element that triggers any sliders or popups to open. As for 
> now, I would want for Eric to skim through this and propose a solution 
>

This css class question is probably the easiest part - because I could keep 
the css class seperate from the script, applying it to the macro output 
{{someClass{<<g "term xyz" xyz>>}}}... However it *would* be nice to have it 
all in one script :-)

Thanks for answering my question! 

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en.

Reply via email to