I think if I keep the value of each tiddler's counting in a custom field (called "VerseCount") I can solve my problem, even if "window.fetStartIndex" is changed by another tiddler. My problem is I don't know how to properly handle all the different types of variables here.
I tried adding this before the above FET: <script> var CountValue = store.getValue(tiddler, "VerseCount"); </script> and then change the button code to this createTiddlyButton(context.place,"<",null, function(e) { CountValue -= window.fetItemsPerPage; store.setValue (tiddler.title, "VerseCount", "CountValue"); window.fetStartIndex = CountValue; story.refreshTiddler (context.viewerTiddler.title,null,true); }); createTiddlyButton(context.place,">",null, function(e) { CountValue += window.fetItemsPerPage; store.setValue (tiddler.title, "VerseCount", "CountValue"); window.fetStartIndex = CountValue; story.refreshTiddler (context.viewerTiddler.title,null,true); }); this doesn't work because I don't really know how to handle the different uses of variables. Could someone smart please tell me what I'm doing wrong? Thanks, DP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---