Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8184265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:26:35+00:00 2026-06-07T01:26:35+00:00

Im having trouble with my jquery slide. $(document).ready(function() { $(.events).hover(function() { $(this).next().slideToggle(400); }, function()

  • 0

Im having trouble with my jquery slide.

$(document).ready(function() 
{
  $(".events").hover(function() 
  {
      $(this).next().slideToggle(400);
  }, function() {
      $(this).next().slideToggle(400);
  });
});

When i hover over my image, the hiden content slides out and when im not hovered it slides in, thats great but i need to minipulate it so that the hidden content will stay open when i hover over the content and not just the image.
can anyone help me, im new to web desighn and have been stuck on this for some time.
Thanks in advance.

I spoke too fast, i tryied the solution above and its not working. My slide wont even open and its stoped all the other slides on my page from opening when i only changed one of them not sure what the problem is. this is my html:

info text goes here

–

Hi thebiffboff i copied my html and css to the fiddle link u sent and used the solution you showed me and it worked perfectly but it wont in my own page, how could i go about looking for the problem

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:26:38+00:00Added an answer on June 7, 2026 at 1:26 am

    You could wrap your image and hidden content in a wrapper, then bind your hover event to this wrapper. I have created an example fiddle for you. I have also added the .stop() method which clears the current animation queue, otherwise if you hovered in and out a number of times quickly, the slide would keep sliding up and down after you’d finished.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble with jQuery Slide Toggle. $(document).ready(function() { $(a).click(function() { $(this).parent().parent().children(p).Toggle(400); return
I'm having trouble getting jQuery's $(this) function to work as expected... or rather, to
Having trouble with this jQuery function: $(#content).siblings().each(function(i){ heightOfSiblings = heightOfSiblings + this.outerHeight(); }); Error
I'm making an image scroller with jQuery but I'm having a little trouble. I've
I'm having trouble with IE, jquery's slidedown() function and the cufon script. The website
This is my jquery for a simple drop-down-esq menu. I'm having trouble, though. I
I'm having a bit of trouble making this JQuery work in Internet Explorer, it
http://buildinternet.com/project/supersized/ I'm having trouble figuring out the javascript that goes along with this jquery
I'm using the jQuery UI slider and having trouble saving the position of the
I'm having trouble using jQuery.ajax() to post a gist to Github. The gist is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.