0

我想从左边滑入一个 div 并将当前移动到右边,就像在 iOS 中你来回移动一样。

我试过这个,但似乎没有用:

jQuery(".post .order").click(function() {
        jQuery(this).parents(".post-front")
            .hide("slide", { direction: "right" }, 1000);
            .next(".post-back")
            .show("slide", { direction: "left" }, 1000);
    });

标记:

<div class="post">
    <div class="post-front">
        <a href="#" class="next"></a>   
        ...
    </div>
    <div class="post-back">
        <a href="#" class="back"></a>
        ...
    </div>
</div>
4

1 回答 1

1

是一个现场演示。这是你想要达到的目标吗?请给出意见。

于 2012-09-08T13:11:24.790 回答