I suppose that, if the lyte-embed got loaded with enablejsapi=1 (cfr. faq), it should be possible to tie into it with jquery, but I don’t really know how, to be honest.
Hope this helps nonetheless!
Thanks, I’ll investigate further! On a related note, do you know how to reinitialise the plugin from jquery? as I need to do this after using quicksand.
you can reinitialise by issuing ly.te()
Thanks for that. In case anyone else has the same problem, there is a slight issue in that sometimes d (document) is overwritten (either by quicksand or the reinitalisation), and the plugin stops working. I copied d=document into ly.te and it’s fine now.
Thanks for that last point. It is nteresting, as I (incorrectly, apperantly) supposed ‘d’ was protected as it was defined in a closure.
Anyway, instead of re-defining d, could you try if changing line 2 solves the bug as well;
d = document;
into
var d = document;
I would expect that to fix the problem as well (and it’s … cleaner 🙂 )
I’ll include this small tweak in 1.2.0 if it turns out OK.