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

All Questions

Tagged with
0 votes
2 answers
1k views

slideDown/slideUp for scrollbar

I wish my navbar had an effect slideDown instead of fideIn. It is possible? This is the code with .fideIn: $(document).ready(function () { $("#navbar").hide(); $(window).scroll(function () {...
Skyne's user avatar
  • 3
0 votes
1 answer
455 views

Variable heights for .slideDown effect loading dynamic content

I've already looked at a few examples on SO, but to no avail. Probably because my situation is slightly different. If you look at this example site, all the content slides down from the div #panel ...
Adam Bell's user avatar
  • 1,045
0 votes
1 answer
1k views

Slide Down Div on toggle button

I have the following code which works to create the div on click, but I would like the div to slide down slowly and not appear immediately: function hideshow(which) { if (!document.getElementById) ...
user2604977's user avatar
0 votes
1 answer
2k views

SlideUp DIV of same class before SlideDown Jquery

I'm sure the answer is simple but; I'm trying to write a simple bit of Jquery for a restaurant menu system on a website. I want the menu_list item to that is visible to slideUp before the selected one ...
JakeLabz's user avatar
0 votes
5 answers
1k views

slideDown and slideUp multiple fields with jQuery

I'm trying to slide multiple contents down with show fields. This works fine. Also the class changes nicely to "up". Yet, when I click the text again, nothing happens. Why doesn't this work? Does ...
Iwe M's user avatar
  • 31
0 votes
4 answers
5k views

slideup,change content,then slide down with jQuery

I develop following code to slide up register panel, then change its content and then slide down logged in panel. function ValidLogin(data) { var content = null;; content = '<a id="link-...
Moein Hosseini's user avatar
3 votes
2 answers
335 views

getting drop-down query script to trigger only when user hovers over a child div

I have the following hover script that handles the sliding down of sub menus in my navigation bar: $j('body').ready(function() { $j('.menu-item').hover(function() { $j(this).find('.sub-...
Nick's user avatar
  • 4,432
3 votes
3 answers
22k views

jquery slidedown on page load

How can slide down a div with jquery on page load where css is set to display:none? I see a lot of solutions but none can slide div if css is set display:none. The best way is to hide it on load and ...
Aol Shqip's user avatar
0 votes
2 answers
1k views

jQuery .slideDown executes twice instead of once

I'm new to jquery and bumped into a problem i can't fix I want that on pageload my content is sliding down so i use the next code: $(document).ready(function () { $("#content").hide(); $("#...
user891684's user avatar
0 votes
2 answers
225 views

Slide new items into a list

I have a list of links I'm getting from the server, via AJAX, and I'm updating it with the new links I get from the server. I want the list to slide down and the new servers to slide on top. My list ...
rafa's user avatar
  • 356
1 vote
3 answers
193 views

problem to hide image when slideUp menu

I've a menu with slideUp and SlideDown. The user clicks in menuArea and the menu is opened and an image with a cross becomes visible. To close the button the user click in the image, and that image ...
saomi's user avatar
  • 877
1 vote
2 answers
957 views

SlideDown Div with Close link

Greetins, I wanna use a sliding DIV for displaying some messages like "Profile Updated". This is my code. The DIV slides down when i load the page and dissapers after a few seconds (the delay). But ...
Dannemannen's user avatar
1 vote
2 answers
4k views

jQuery click event to make a div slide down and push next div out of viewport

I'm trying to figure out how to make jQuery slide #content2 down and replace #content1 with it while making it look like #content1 is actually being pushed down by #content2 removing it from view... ...
Josh's user avatar
  • 13