同一div(区域)中的多个jquery幻灯片
我遇到了一个令人头疼的问题,至少对我来说是这样。我一生都无法弄清楚如何让新的幻灯片“在上面”播放或“替换”另一个幻灯片。它需要位于同一个 div/空间中。
请查看实时页面@ http://infin80.com/new /print-design/las-vegas-graphic-design.php
当单击每个类别的查看按钮时,我希望在同一空间中播放不同的幻灯片(照片集)。这是我需要的显示/隐藏脚本吗?如果可能的话,我想保留“输出”描述功能。预先感谢大家。
这是功能循环幻灯片:
$('#rotate').cycle({
fx: 'fade',
speed: 500,
timeout: 4000,
pause: 1,
next: '#next2',
prev: '#prev2',
before: onBefore,
after: onAfter
});
function onBefore() {
$('#output').html('<h5>' + "CURRENT IMAGE (Scroll over to pause):" + '</h5>');
}
function onAfter() {
$('#output').append('<h3>' + this.alt + '</h3>');
}
I've got a head-scratcher of a problem, at least for me. I can not for the life of me figure out how to have a new slideshow play "on top" or "replace" another. It needs to be in the same div/space.
Please view the live page @ http://infin80.com/new/print-design/las-vegas-graphic-design.php
When clicking on the view button for each category, i'd like a different slideshow (set of photos) to play in that same space. Is it a show/hide script that I need? If at all possible, I'd like to maintain the "output" description function. Thank you all in advance.
This is the functioning cycle slideshow:
$('#rotate').cycle({
fx: 'fade',
speed: 500,
timeout: 4000,
pause: 1,
next: '#next2',
prev: '#prev2',
before: onBefore,
after: onAfter
});
function onBefore() {
$('#output').html('<h5>' + "CURRENT IMAGE (Scroll over to pause):" + '</h5>');
}
function onAfter() {
$('#output').append('<h3>' + this.alt + '</h3>');
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论