Ama

Ama

Did You Know?

Ama theme has private reply feature, that only admins can see.

Forum Replies Created

Viewing 5 replies - 26 through 30 (of 35 total)

1 2 3 5 6 7

angela smith

I think is fine tbh

angela smith

Accusantium vero iure, rerum incididunt adipiscing nullam venenatis commodi erat commodo. Recusandae cumque assumenda cum diamlorem minima voluptas porro?

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');
});
}
New to Communities?

New to Communities?

Ask a Question