CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 13: | Line 13: | ||
void(document.getElementById('main-wraper').style.display = 'block'); | void(document.getElementById('main-wraper').style.display = 'block'); | ||
} | } | ||
+ | $(function() { | ||
+ | $('#list li a').click(function() { | ||
+ | $('#list li').removeClass(); | ||
+ | $($(this).attr('href')).addClass('active'); | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
Revision as of 13:43, 14 August 2017