within your javascript you can have a global variable and increment that, 
use -

$tw.config.imagesliderplugin.instancecount++

On Wednesday, February 11, 2015 at 7:56:14 AM UTC-6, sini-Kit wrote:
>
>
> Ok. I have found the next problem . I can`t paste 2 sliders on one page 
>> because their buttons will have the same id . I solve this problem by 
>> adding random number to id.
>>
>  But I think it is not a good idea (but it works). How can I count how 
> many times macros was run?  here is the demo 
> http://novye-podarki.ru/heeg46.html#test2%201
> here is my code  
> http://novye-podarki.ru/heeg46.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fimg_slider2.js
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to