Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="span-5">
- <div class="mbox freshseafood"></div>
- <div class="tbox">Fresh Seafood</div>
- </div>
- $(document).ready(function() {
- $(".mbox").bind("mouseover", function(e) {
- $(this).addClass("dim");
- $(this).parent(".tbox").show();
- });
- $(".mbox").bind("mouseleave", function(e) {
- $(this).removeClass("dim");
- $(this).parent(".tbox").hide();
- });
- });
Add Comment
Please, Sign In to add comment