Skip to main content

Questions tagged [slidetoggle]

slidetoggle is a function of jQuery which displays or hides the matched elements with a sliding motion.

slidetoggle
0 votes
1 answer
170 views

Im using mat-slide-toggle but it is not showing like in angular/material documentation

Here is in angular material documentation And here is in my project Why cant i have the slide toggle like the first image. I need to show the slide toggle like in the angular material documentation, i ...
FaraonDev90's user avatar
0 votes
1 answer
67 views

JavaScript .siblings method doesn't work in mobile menu with drop-down sub-links in Wordpress

On website bemchemia.pl I have a Wordpress mobile menu with drop-down sub-links. I want to reveal sublinks using JavaScript .slideToggle only by clicking an arrow and not by clicking a parent link. ...
Mateusz Rokicki's user avatar
1 vote
2 answers
89 views

Angular Material SlideToggle Not Sliding

I have an Angular component ("new-form"), which has a slide toggle from Angular Material. The slide toggle renders on the client, but nothing happens when I click on it. I've installed ...
newby73's user avatar
  • 191
0 votes
2 answers
65 views

Settings of side navigation bar

I'm trying to change the visibility of side navigation bar. Currently, <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> ...
Natasha's user avatar
  • 1,431
0 votes
0 answers
26 views

Navbar Toggler is closing on clicking anywhere on screen

I have a dropdown in my navbar. When I resize the screen and make it smaller then navbar toggler button appear and when I click on it then the menu of navbar open to the left side of screen. I can ...
Muhammad Ismail's user avatar
1 vote
1 answer
43 views

Stop padding change during jquery slideToggle

Is there a way to stop the text from moving during a call to jQuery slideToggle? In the following example, the text moves up while the <div> is being hidden, and moves down while it is becoming ...
freefaller's user avatar
  • 19.8k
1 vote
0 answers
14 views

Slidetoggle same in two site but not working in one site

I use slidetoggle in one site , working perfectly. when use in other site not working. These two site have same theme , same jquery version , almost everything same, but in other site not working. ...
Raza Imran's user avatar
1 vote
1 answer
1k views

How to Create a Smooth Slide Toggle with ReactJS

Can we create a Smooth SlideToggle with ReactJS like this https://www.w3schools.com/jquery/jquery_slide.asp Also please refer: http://jsfiddle.net/rFn5v/3/ I have seen too many tutorials and every one ...
Ren Jitsm's user avatar
  • 437
0 votes
0 answers
21 views

jQuery Toggle list changing img src (Plus-Minus)

I'm new to jQuery. I made a list of toggle-able items where only is opened at a time. This works. However I want to change the img src plus/minus and I can't get it to work. Any help would be greatly ...
sxp2high's user avatar
0 votes
2 answers
912 views

Removing element after sliding up animation and contrary, mounting the element before sliding down in Vue 3.X

The vue-slide-up-down library working with pre-mounted elements only. Sliding down case: It will not mount the element before animation starts Sliding up case: It will not unmount the element after ...
Takeshi Tokugawa YD's user avatar
1 vote
1 answer
219 views

Why does mat-slide-toggle not work when we use a custom directive to send it into the reusable generic component?

Here is the link of POC on stackblitz. In above POC I have app component as a root component, app-expansion-panel component as a reusable generic component and custom-expansion-panel directive as a ...
Jignesh Parmar's user avatar
0 votes
1 answer
101 views

jQuery slidetoggle keeps toggling after window resize/ready combined

I want to add slidetoggle only when screen size is less than 768px. I also want this to work when user for some reason would resize the window manually. I have come across a bug with jQuery where my ...
in2d's user avatar
  • 618
0 votes
0 answers
33 views

JavaScript Toggle Mobile Menu, not working

My JavaScript isn't working. I am attempting to toggle the mobile menu. This is the console error message. enter image description here const button = document.getElementById('menu-button') const nav =...
sbtech's user avatar
  • 1
0 votes
1 answer
1k views

Toggle Button to change text, icon and show search bar

I do have a header with a navigation bar. The navigation includes a search button that each time is clicked should change the word from "Search" to "Close Search" and open the ...
Valentina Nardini's user avatar

15 30 50 per page
1
2 3 4 5
87