Home › Forums › CSS › [Solved] jQuery: Menus appear/disappear on click › Re: [Solved] jQuery: Menus appear/disappear on click
November 22, 2010 at 1:06 pm
#72785
Member
you could use the HTML5 custom data attributes…
Link 1
And modify the javascript to do take the custom attribute
$('ul li span').click(function () {
.... Code ...
linkUrl = $(this).attr('data-target');
..... Code ....
});