Thanks for your answers.
I solved my problem by adding a little jquery code without plugin.
In the tab plugin I used, when I clicked on the tab, the tab’s id was added to the address bar. When I clicked tab, I refreshed the page (address with id) with jquery code and my h5p content was displayed in the tab.
My code:
(function($) {
$(document).ready(function(){
setTimeout(function() {
$('#plethorapluginstab_1_tablink_2').click(function(e) {
e.preventDefault();
location.reload(true);
});
}, 100);
});
})(jQuery);
Maybe it will be of use to someone.
Thank you for your time.
-
This reply was modified 2 years, 2 months ago by qwertyu77.
-
This reply was modified 2 years, 2 months ago by qwertyu77.