使用图像上的上一页和下一页自定义可滚动插件? (参见模拟)
我正在为投资组合画廊实现一个可滚动的。
(scrollable = 来自 http://flowplayer.org/tools/index.html 的可滚动插件)
一次只能看到一个项目。
默认情况下,可滚动将上一个/下一个按钮放置在图像区域之外,并且单击当前图像前进可滚动内容。
- 我希望在图像区域内显示上一个/下一个渲染。
- 我希望当鼠标悬停在图像的下部时出现图像标题。
小样: http://i303.photobucket.com/albums/nn160/upstagephoto/ mockups/scrollable_mockup.jpg
关于如何实现其中一项或两项有什么想法吗?
谢谢你!
I am implementing a scrollable for a portfolio gallery.
(scrollable = scrollable plugin from http://flowplayer.org/tools/index.html )
There will be one item visible at a time.
By default, scrollable positions the prev/next buttons outside of the image area and clicking on the current image advances the scrollable content.
- I would like to have the prev/next render within the image area.
- I would like to have an image caption appear when mousing over the lower part of the image.
Mock-up:
http://i303.photobucket.com/albums/nn160/upstagephoto/mockups/scrollable_mockup.jpg
Any ideas on how to achieve one or both of these?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你的方法的主要部分将在你的 html 中像这样:
在你的 CSS 中像这样:
javascript 应该是相当标准的。希望这有帮助!
The main part of your approach will be like this in your html:
And like so in your CSS:
The javascript should be fairly standard. Hope this helps!
演示: http://jsbin.com/ijede/2 来源: http://jsbin.com/ijede/2/edit
CSS 来源!
注意:由于阅读插件文档比从头开始制作幻灯片需要更多的时间,所以我制作了一个新的幻灯片!
希望你喜欢它!
DEMO: http://jsbin.com/ijede/2 SOURCE: http://jsbin.com/ijede/2/edit
CSS on source!
NOTE: since read the plugin doc require more time for me than make a slideshow from scratch, i have maked a fresh one!
hope you like it!