Ok. Here's a plugin. This isn't great, but it might give someone an idea 
for making something better.

I think that the underlying code at the main Glider.js site depends on 
tricking the browser into invoking the same code multiple times. This may 
or may not work, depending on the browser and platform. So, the same 
limitations will almost certainly show up in TW. 

I strongly recommend testing this only in an empty or otherwise unimportant 
TW. I put in error catching code, which I think reduces problems, but .... 
who knows whether it covers all the bases. Absolutely be sure to have 
backups before using this anywhere important!!

There are 3 components in making Glider(s) work:

1. HTML code with parts identified by ID or Class
2. A Query selector to find those parts
3. A JSON string to provide options for how the parts are to work together.

There is a usage tiddler ... but I feel that my powers of prose may not 
have been at their best.

All of the examples at the original site, and one of my included one's need 
FontAwesome to look right. I did not include that technology, but you can 
obtain it from the usual suspects.

Good luck!

-- Mark

On Monday, November 12, 2018 at 12:27:18 PM UTC-8, Mohammad wrote:
>
> How we can have this in tiddlywiki:
>
> https://github.com/NickPiscitelli/Glider.js
>
>
> Cheers
> Mohammad
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/afc4ec7a-c8f9-4fdf-b842-7e2090863806%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: MAS_Glider-0-0-6.json
Description: application/json

Reply via email to