Need to trigger another plugin's function in Ajax Infinity
- arnaud@agdg.fr
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 7 months 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.
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.
- Saka
- Offline
- Administrator
5 years 7 months ago #8095
by Saka
Emir Sakic
www.sakic.net
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.
- arnaud@agdg.fr
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 7 months ago #8098
by arnaud@agdg.fr
OK. Thanks for the answer.
What to do to get custom development ?
What to do to get custom development ?
Please Log in or Create an account to join the conversation.
- arnaud@agdg.fr
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 7 months 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?
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.
- Saka
- Offline
- Administrator
5 years 7 months ago #8102
by Saka
Emir Sakic
www.sakic.net
Hi,
If you contact me on email we can arrange a custom job for this.
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.
- arnaud@agdg.fr
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
5 years 7 months 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.
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.