Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
看看这个网站。
单击任何菜单项后,我希望具有相同的滑动效果。如果我单击另一个菜单项,当前内容会移出窗口,新内容来自同一侧。
我想知道我怎样才能达到这个效果?
我说清楚了吗?
http://jsfiddle.net/LeGaF/1/
纯 CSS 解决方案(样式很糟糕,只是向您展示了它背后的想法
也许你应该看看 jQuery UI ?检查这些效果。
实在看不懂你的意思。你想在你给的网站上做确切的效果吗?有许多插件可以实现这些效果。