back soft

مطالب مرتبط با «toggleclass not working in firefox» در back soft | نویسنده: استخدام کار

.toggleClass not working, no idea why

Vote count: 0 I am trying to get a div box to expand when clicked, and go back to normal size when clicked again. Seems simple enough, but I can not get it to work no matter what I try. I have no idea what could be going wrong as the part of the code where the error is most likely to be occurring is not very long. Thanks for your time!https://jsfiddle.net/uL1r08am/ .panels { position:relative; border:2px solid silver; transition:transform 1.5s; } .panels:hover { transform:skewY(3deg); } #panel1.clicked{ width:460; height:290; } $('#panel1').on('click', function() { $(this).toggleClass('clicked'); }); $(document).ready(main) asked 2 mins agoJoshua Let's block ads! بخوانید...

ادامه مطلب

برچسب‌های مرتبط

toggleclass not working | toggleclass not working jquery | toggleclass not working ie8 | toggleclass not working in ie | toggleclass not working in firefox | toggleclass not working in chrome | toggleclass not working on mobile | toggleclass not working in ipad | toggleclass not working properly | toggleclass not working in safari