web analytics
Docy

Docy

Did You Know?

Advanced visual search system powered by Ajax

Best Answer

Use the <pre> tag for multiple lines of code. Once again, escape any angle brackets in the code for proper rendering. You may optionally add.

JavaScript Code

function general() {
$('.collapse-btn').on('click', function (e) {
e.preventDefault();
$(this).toggleClass('active')
$(".collapse-wrap").slideToggle(500);
});

$('.short-by a').click(function () {
$(this).toggleClass('active-short').siblings().removeClass('active-short');
});
}
Purchase Docy
Demos
Docy creative demo Docy classic demo Docy cool demo Docy - LMS
Unlimited Color Possibilities
Box Shadow
Real Life Examples

Click here to see what some of our customers created with Docy!