jQuery hover to slide?
问题 Check the bottom for revised edition Alright, here's the issue. I have a li with a div inside, and I'm trying to hover the li to get the div to slide up into view. Here's the HTML: <li id="one"> <div> <h4>title</h4> <p>description</p> </div> </li> Right now I have this in my CSS: #one div { display: none; } And this for my JS: $(document).ready(function() { $('#one').hover(function() { $('#one > div').css({ display : 'block' }); }); }); I know I could just used CSS psuedo :hover to make it