All Questions
258
questions
0
votes
1
answer
41
views
How to keep a HTML Submenu Opened When Clicking on Other
I am trying to keep the submenu open when opening another submenu.
Currently, my code closes all previously opened submenus when trying to open another one.
Right now, my code closes any previously ...
0
votes
2
answers
88
views
jQuery infinite slideUp and slideDown without clicking
I have a title that is in the h3 tag. My code works using slideUp but slideDown looks so bad. I want the slideDown animations smooth like in slideUp. Basically, slideDown from the last array to the ...
1
vote
1
answer
903
views
How to slow down dropdown box by CSS or jQuery
I have built a dropdown button,but have no idea how to slow the the dropping process:
Html:
<div class="dropdown">
<button onclick="myFunction()" class="dropbtn"&...
0
votes
0
answers
50
views
SlideUp/SlideDown dropdown value
I would like some assistance with JavaScript.
I have the following dropdown:
All the fields in the drop down are hard coded values with set ID fields, I would like to know if it would be possible to ...
1
vote
0
answers
43
views
slideDown works, but when I change to slideUp, it stops working
I have 2 small divs, side by side in a bigger div, display flex. I want one of the small divs to appear by sliding up, and the other by sliding down. They both work fine when sliding down, but when I ...
1
vote
1
answer
463
views
Dropdown menu - slideToggle challenge
Following is my code
$(document).ready(function(){
$('.submenu').hide();
$('.menu').click(function(event){
event.preventDefault();
$(this).children('.submenu').slideToggle(1000);
...
1
vote
1
answer
80
views
slideUp() slideDown() doesn't work properly
$(document).ready(function(){
$('.outer').click(function () {
$('.inner').slideUp();
/*alert("I BIMS");*/
});
});
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;...
0
votes
1
answer
804
views
Prevent Slide down on to perform some other action on mouse-wheel scroll in Fullpage js
I am using fullpage js in a website and i need to stop a particular slide to scroll down on mouse wheel scroll. Rest slides will slide normally. On 4th slide(slide in my case), i have two images which ...
1
vote
2
answers
51
views
Prevent jQuery script from running depending on condition
I have this script which should allow slideUp/slideDown for nested ul (dropdown menu) when window is larger than 800px and disable slideUp/slideDown functionality if window's width is less than 800px ...
4
votes
1
answer
14k
views
Uncaught TypeError: $(...).find(...).slideDown/slideUp is not a function [duplicate]
I have a simple image gallery where the figcaption is hidden on each image. Here is the HTML:
<figure>
<img src="gallery/reef2.jpg" width="400" height="285" alt="Another beautiful example ...
0
votes
1
answer
74
views
jQuery firing parent functions before children (slideUp and slideDown)
In short, I have a 2 main links (Private Car and Commercial Vehicle) each with a specific class attached to their anchor tags. The same class names are used on the li tags of a second sublink ul to ...
0
votes
1
answer
277
views
onload slideDown of a div, slideUp the div on button click [duplicate]
i am attempting onload slideDown. when the page is opened, the div is slideDown automatically after 2 seconds. the div consist of responsive image and a button called "z-indexed".
now what i need is ...
0
votes
2
answers
723
views
jQuery SlideDown / SlideUp | "FAQ" | Opened
My title doesn't mean anything i guess, but it's complicated to name my problem.
So, i did a section in my html "faq" and when someone click on a question, the answer appaer with a slideDown. If we ...
0
votes
1
answer
131
views
Changing Animation in JQuery Conditional Form - SlideUp and SlideDown JQuery alternatives
Please see example on codepen.
I've got a working template for my conditional forms using JQuery and HTML if you change the drop down menu the options that appear next depend on the selection made in ...
0
votes
0
answers
43
views
reveal divs (with position:relative, in a vertical menu) from bottom to top
(I've tried to be synthetic as possible in the thread's title)
So, basically, I have a vertical menu with buttons. When you click a button, a div shows up with jQuery's slideDown(), moving away what ...