Javascript前进后退按钮 [英] Javascript forward backward buttons

查看:76
本文介绍了Javascript前进后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用我正在开发的网站首页上的s3Slider javascript幻灯片:

I'm using the s3Slider javascript slideshow on the homepage of a site I am developing:

http://alexisparkinn.com/

我真的很喜欢这张幻灯片,但是它无法使用户转到下一张或上一张图片.

I really like this slideshow but it has no way to enable the user to go to the next or previous image.

如何添加这些按钮?有人知道我需要使用必要的javascript代码还是应该进行哪些更改.

How can I add these buttons? Does anybody know the necessary javascript code I need to use or what changes should be made.

建议?任何帮助将不胜感激.

Suggestions? Any help would be greatly appreciated.

谢谢!

推荐答案

我知道您没有提出建议,但让我将其扔掉作为解决方案: http://jquery.malsup.com/cycle/

I know you didn't ask for suggestions, but let me just throw this out there as a solution: http://jquery.malsup.com/cycle/

在弄乱了很多滑块之后,我不得不一次又一次回到这一点. (如果您想要的只是淡入淡出效果,则有一个4KB的版本)

After messing around with a ton of sliders, I've ended up going back to this one time after time. (and there is a 4KB version if all you want is the fade effect)

它具有相当不错的文档,并且总体上非常易于使用.

It has pretty decent documentation and is overall pretty easy and straightforward to use.

无论如何,只是想把那个扔出去.祝您好运!

Anyway, just wanted to throw that out there. Best of luck to you!

这篇关于Javascript前进后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆