Javascript/CSS 翻转菜单
我的一位过去的客户联系我,希望为他的网站制作一个滚动菜单。 他有几个不同的业务,他希望在他的主网站上能够有一个图像菜单,显示他的每个其他业务及其网站的链接。 我知道可以使用 javascript 和 css 制作翻转菜单,但他问我的一件事我不确定。引用他的话:
我基本上只是希望悬停在上面的那个更大并亮起。我认为如果它们能像传送带一样旋转那就太好了。例如...如果我有 10 个企业,但页面上只显示 5 个...那么当用户将鼠标移到那里或单击“上方按钮”时,它将显示下一个排队的企业图形。
这可行吗?做这样的事情是不是一个巨大的工程?我怎样才能准确地做到这一点?
A past client of mine contacted me about doing a rollover menu for his website.
He has a couple different businesses, and from his main site he wants to be able to have a image menu that shows each of his other businesses and links to their sites.
I know that it is possible to do a rollover menu using javascript and css but one thing he asked me about I'm not sure. To quote him:
I basically just want the one that is hovered over to be bigger and lit up. I think it would be neat if they would spin like a conveyor belt. For example... if I had 10 businesses but only 5 show on the page..then as the person moves there mouse over or clicks an "over button" then it would reveal the next business graphics in line.
Is that doable? Is it a huge project to do something like that? How could I do that exactly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
听起来像旋转木马。有大量的。
Sounds like a carousel. There are plenty of them out there.
如果您愿意使用 Flash,有几种现成的工具可以帮助您完成此任务。例如,类似这样的内容:
http://www.flashloaded.com/flashcomponents/3dstack/
如果这不正是您想要的,他们还提供了其他几种具有类似功能的工具。
这可能更接近您正在寻找的内容:
http://www.flashloaded.com/flashcomponents /照片流/
If you're willing to work with Flash, there are several ready-made tools that can get this done for you. For example, something like this:
http://www.flashloaded.com/flashcomponents/3dstack/
If that isn't exactly what you're looking for, they also offer several other tools with similar functionality.
This may be closer to what you're looking for:
http://www.flashloaded.com/flashcomponents/photoflow/
我不是 100% 确定,但这就是他所说的菜单类型吗?我在描述中有点迷失了,但是当您悬停并使用 jquery/javascript 时,此菜单会展开项目:
http ://www.wizzud.com/jqDock/
I'm not 100% sure, but is this the type of menu he's talking about? I got lost in the description a little, but this menu will expand items as you hover and uses jquery/javascript:
http://www.wizzud.com/jqDock/
您可以使用类似 jCarousel 来执行此操作。
You could use something like jCarousel to do this.