I am looking to write a macro to have multiple quotes fade in and fade
out on a timer.
I have set it up so it just loops through the Params.
I figured I'd start by having it simply change the text before
attempting to fade it.

My problem is that it says I am getting too much recursion.
Any suggestions as how to fix it.

Here is the contents of the tiddler:

version.extensions.Fader={major: 0, minor: 1, revision: 1, date: new
Date("Nov 15, 2008")};
config.macros.Fader = {};
config.macros.Fader.displaynumber = 0;
config.macros.Fader.handler = function(place, macroName,
Params,wikifier,paramString,tiddler) {

config.macros.Fader.displaynumber ++;
if (config.macros.Fader.displaynumber > Params.length - 1) {
config.macros.Fader.displaynumber = 0;
}

var theSection = createTiddlyElement(place, "Div");
theSection.innerHTML = Params[config.macros.Fader.displaynumber];
story.refreshTiddler(tiddler.title,DEFAULT_VIEW_TEMPLATE,true);
setTimeout("config.macros.Fader.handler(place, macroName, Params)",
1000);

}

If anyone can help me make this work I would be very appreciative.

--~--~---------~--~----~------------~-------~--~----~
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