Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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 ...
Vismaya's user avatar
  • 27
0 votes
1 answer
513 views

Jquery slidedown toggle change button text and icon when clicked

The slide down function is fine but i need to change both text and a font awesome icon in the button from 'open all questions (down icon)' to 'Close all questions (up icon)' when the button is clicked,...
leclerk's user avatar
  • 71
2 votes
0 answers
188 views

Accordion animation does not work for child elements

I'm struggling with animated accordion for my site. Second level of my accordion does not have animation and is not visible. It happens only on the second level of my accordion. This animation is from ...
Jakub Czeszejko-Sochacki's user avatar
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"&...
William's user avatar
  • 3,990
1 vote
0 answers
36 views

CHROME: Prevent jQuery slideDown() and prependTo() from moving whole screen

I have the following code that prepends an li element to a ul list: function prependListItem(entryHTML){ $(entryHTML) .hide() .css('opacity',0.0) .prependTo('#container >...
Don Vasquez's user avatar
0 votes
1 answer
316 views

Slide down and up function problem with flex: 1

$(".div3Btn").click(function() { $(".div2").show("slide", { direction: "up" }, 5000); }); .div1 { display: flex; height: 100%; flex-direction: column; background-color: #...
test test's user avatar
0 votes
0 answers
177 views

Jquery .slideDown() from top only

I am trying to slide a div down when a parent element is clicked. I am able to get the slide behavior, however, it not only slides from the top, it also expands from the left, so from the top-left ...
Bw00d's user avatar
  • 172
-6 votes
2 answers
1k views

Slide down button to show text HTML CSS

I'm trying to make a button on my website slide down to show text, but currently it only shows the button with the text under it. The button does not do anything but click. I want the text at the ...
ASG's user avatar
  • 27
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 ...
user avatar
0 votes
1 answer
578 views

how to make slide up default open with jquery script?

I found this script on stackoverflow, and really helped me. I have tried to make it default open (default slide up), without eliminating slide down. But I did not succeed. Can anyone help me for ...
Abdullah's user avatar
0 votes
0 answers
130 views

jQuery scroll to specific height then slidedown div

Ok, so I've tried looking at everything on here and many people have suggested adding a width or a height or even using jquery css to hide elements, but nothing is working for me. I am trying to ...
drooh's user avatar
  • 648
0 votes
0 answers
52 views

Show and remove div animation

I have something like this: $(document).ready(function() { $(".green").slideDown("slow", function(){ }); }); .blue { background-color: blue; height: 20px; display: none; } ...
workhard's user avatar
0 votes
1 answer
632 views

jQuery slideDown/slideUp laggy animation on Android devices

I have problem with jQuery slide animation. I'm trying to make menu which is hiding when user scrolls the page. Here is live example (works only on mobile): $(document).ready(function() { if ...
JohnnyXecutor's user avatar
0 votes
1 answer
607 views

jQuery slideUp and slideDown on a div with a fixed position?

I am trying to slide up a header on scroll down and show again on scroll up Can you use jQuery slideUp and slideDown on a div with a fixed position?
Paul Stephen Davis's user avatar
1 vote
1 answer
1k views

Adding slide down to the navbar on hover

I want the content of class=dropdown to be sliding down slowly when hover on class=header__nav-item--drobdownButton (PRODUKT) but I am not sure how to add it to my code in CSS. I tried to add ...
stackmack's user avatar

15 30 50 per page
1
2 3 4 5
7