I need some help ;D
I want to insert a simple JQuery Code in my wordpress theme (avada)
I would like to insert a thing like this : http://ift.tt/24WCYdV
$(function() {
$("#tabs").tabs({ show: { effect: "blind", direction: "right", duration:300 }});
$( "#accordion" ).accordion();
var btn = $('#accordion li a');
var wrapper = $('#accordion li');
$(btn).on('click', function() {
$(btn).removeClass('active');
$(btn).parent().find('.addon').removeClass('fadein');
$(this).addClass('active');
$(this).parent().find('.addon').addClass('fadein');
}); });
in a page, but it don't work.
I tried to change and add different classes to all the HTML elements, but it doesnt work.
I tried to insert my code with a plugin named CSS & Javascript Tool box, but nothing works too.
Thanks !
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire