jQuery 幻灯片效果

发布于 2024-08-27 18:53:11 字数 300 浏览 4 评论 0原文

我正在寻找导航的幻灯片效果。但在我看来jQuery的幻灯片效果有点奇怪,或者说不太符合我的需求。当我应用 SlideDown、slideUp、toggleSlide 效果时,列表项会出现,但不会动画(容器仅动画)。我也希望列表项具有动画效果。

我找到了一个这样的例子: http://www.creative-exposure.co.uk/

如果有人能帮助我,我将非常感激。

你如实的

I'm looking for a slide effect for a navigation. But in my opinion the slide effect of jQuery is a little strange, or doesn't really fit my needs. The list items kind of appear but aren't animated (the container is only animated) when I apply the slideDown,slideUp,toggleSlide effect. I would like to have the list items animated as well.

I've found an example of this: http://www.creative-exposure.co.uk/

If you someone could help me out, I would really appreciate it.

yours truthfully

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

小嗲 2024-09-03 18:53:11

如果有帮助的话,这里有一个论坛的链接,该网站已发布以供原始设计师进行批评 http://www.estetica-design-forum.com/graphic-design-web-design-critique/19701-wedding-photography-kent.html
你可以随时去那里直接问他

Theresa

If it helps here is a link to the forum the site was posted on for critique by the original designer http://www.estetica-design-forum.com/graphic-design-web-design-critique/19701-wedding-photography-kent.html
You could always go there and ask him directly

Theresa

自由范儿 2024-09-03 18:53:11

如果在

    上使用,.slideDown() 应该会产生这种效果。但是,如果您正在寻找完整的菜单包,我会查看 Superfish 插件,您只需将菜单布局为

    • 层次结构,然后让它处理其余的事情。

使用 animation: {height:'show'} 选项进行垂直向下滑动,就像您链接的页面一样,请参阅此处的示例(这是垂直的,但在水平菜单上也可以相同)。

.slideDown() should produce that effect if used on the <ul>. But, if you're looking for a full menu package, I'd check out the Superfish plugin, you can just layout your menu as a <ul> and <li> hierarchy and let it take care of the rest.

Use the animation: {height:'show'} option for the vertical slide down like the page you linked, see here for an example (this is vertical, but it can be the same on a horizontal menu).

北斗星光 2024-09-03 18:53:11

如果你在 cssdrive.com 的菜单位下查看,应该可以看到我网站上的导航是如何进行的。

问候

特蕾莎(创意曝光)

If you check out on cssdrive.com under the menu bit, it should be on there how the navigation on my website was made.

Regards

Theresa (creative-exposure)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文