Need to trigger another plugin's function in Ajax Infinity

2 weeks 6 days ago #8092 by arnaud@agdg.fr
Hi.
I'm using a modal plugin in a blog (Regular Labs Modals plugin). I need to trigger this plugin initialising function after Ajax Infinity loads new articles.
Where (in what file and in what line of code) do I have to put this triggering code?
Thanks !
www.arnaudgautron.com/fr/blog (still under development) -> Modal works fine in first article, not in second one.

Please Log in or Create an account to join the conversation.

2 weeks 2 days ago #8095 by Saka
That would qualify to custom development, but try api.jquery.com/jquery.getscript/

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

2 weeks 1 hour ago #8098 by arnaud@agdg.fr
OK. Thanks for the answer.
What to do to get custom development ?

Please Log in or Create an account to join the conversation.

1 week 6 days ago #8099 by arnaud@agdg.fr
I'm not a developer but I'm still trying to do this by myself.
The developer of RegularLabs Modals told me to trigger a specific function after AjaxInfinity has rendered the new articles.
The function is RegularLabsModals.init();
I am lost with jQuery/Javascript and I don't really understand how and where to put it in the AjaxInfinity plugin code. Any help, please?

Please Log in or Create an account to join the conversation.

5 days 14 hours ago #8102 by Saka
Hi,

If you contact me on email we can arrange a custom job for this.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

3 days 1 hour ago #8104 by arnaud@agdg.fr
Hi. I finally did it on my own.
It was quite easy, in fact: I simply added a call to the initializing function of RLModals plugin at the end of the callback function of Jscroll. Works well!
Thanks.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

We also recommend

Twitter

sakicnet: Register into multiple groups with AJAX Register 3.8 https://t.co/oAt6IJJxQA 279 days ago from Twitter Web Client

Stay in touch