2
Contributors
1
Reply
21
Views
4 Years
Discussion Span
Last Post by pritaeas
0

What you can do is to add a hidden div for each button you have, which you can then show on hover. You could have something like this:

<div class="button">
  <a href="#">Link</a>
  <div class="hidden">
    <img />
    <p />
  </div>
</div>

Then the jQuery would look like this:

$('.button').hover(
  function () {
    $(this).find('.hidden').show();
  },
  function () {
    $(this).find('.hidden').hide();
  }
);
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.