Most voted "jquery-toggleclass" questions
6 questions
Sort by count of
-
3
votes3
answers135
viewsProblem with Hover event in Firefox
The following code is to use the event Hover in the first image and change the class of the second. But after testing, it did not work in the Firefox browser, working only in Chrome, Safari and…
-
2
votes2
answers134
viewsToggleclass is not working
I’m trying to create a list of elements with elements hidden inside each tag li. When you click on li, the hidden elements appear, but when I click again they do not close. This is the JS code:…
-
1
votes1
answer82
viewsHow to control classes individually in jQuery?
I recently created this HTML document: <div class="wrap"> <div class="container"> <a class="button" href="#" title="Abrir as opções."></a> <div class="option-box">…
-
1
votes1
answer149
viewsSlidetoggle on left side with icon
I have the following code: HTML: <div id="slideleft" class="slide"> <button type="button" class="btn-event">ICON</button> <div class="inner" style="left: -338px;">Efeito…
jquery-toggleclassasked 9 years, 6 months ago Hitch Leonardo 623 -
0
votes1
answer255
viewsPerforming a function on two different elements without one affecting the other
By clicking on the "See More" button, I need to make the div containing the text of the post expand, if it affects the div next to it. I tried to use toggleClass() but both open at the same time, or…
-
0
votes1
answer214
viewsHow to set toggleClass (jquery) speed?
I would like to define the animation speed of toggleClass but it didn’t work. I solved the problem with CSS: -webkit-transition: all .5s ease; transition: all .5s ease; But still, I’d like to know…