Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("a.mbl").click(function() {
- var mblid = $(this).attr("id");
- $("#mid-box-left").fadeOut(250, function() {
- $("#mid-box-left").html($("#mbl" + mblid).html())
- .hide()
- .fadeIn(250, function () {
- $('#mid-box-left')
- $("#mid-box").on("mouseenter", "a.testbox", function() {
- var tbid = $(this).attr("id");
- $("#mid-box-right").fadeOut(250, function() {
- $("#mbr" + tbid).css("display", "block")
- .hide()
- .fadeIn(250, function () {
- $("#mbr" + tbid)
- });
- });
- });
- $("#mid-box").on("mouseleave", "a.testbox", function() {
- var tbid = $(this).attr("id");
- $("#mbr" + tbid).fadeOut(250, function() {
- $("#mbr" + tbid).css("display", "none");
- $("#mid-box-right").fadeIn(250);
- });
- });
- });
- });
- return false;
- })
Add Comment
Please, Sign In to add comment