图像循环jQuery [英] image cycle jQuery

查看:92
本文介绍了图像循环jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个精简的,简单的图像循环插件.我不想要灯箱,灰箱,slimbox或任何其他框,这只是一种使用箭头单击来显示某些图像的简单方法,例如... http://www.vilmagold.com/newpages/artists/hannahsawtell.htm

Am looking for a very pared down, simple image cycling plugin. I dont want a lightbox, greybox, slimbox or any other box, just a simple way to show some images using arrows to click through, like this... http://www.theapproach.co.uk/artists/phillip-allen/ but using simple triangles for navigation buttons to the right, like this... http://www.vilmagold.com/newpages/artists/hannahsawtell.htm

我在尝试使cycle.js正常工作时遇到了很大的问题,并且花了太多的时间来处理它.这是一个(不起作用的)示例 http://www.cressidahaughton.co.uk/Untitled -4.html 我不确定是什么问题,但是弹出的源代码显示出一两个明显的错误?

I've had big problems trying to get cycle.js to work and have spent way too much time faffing with it. Here is a (non)working example http://www.cressidahaughton.co.uk/Untitled-4.html I'm not sure what the problem is, but praps the source shows a glaring error or two?

也许我应该指出我正在使用Dreamweaver cs5.5,并且对Web设计/编码非常新.也许我应该在编中启用某些功能,或者应该在服务器端进行操作(我在使用Dataflame).

Maybe I should point out I'm using Dreamweaver cs5.5 and am very new to web design/ coding. Maybe there is something I am supposed to enable in the prog, or should be doing server side, (I'm with Dataflame).

即将放弃.

推荐答案

页面上确实存在明显的错误:您没有包括jquery本身:

There is a definite glaring error on your page: you didn't include jquery itself:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

它超出了您参考循环的位置.您可能有许多其他错误,但从该错误开始.我还建议获取 Firebug 或使用Chrome的内置开发人员工具.两者的控制台功能都将向您显示显式的JS错误,并且它们都具有各种出色的调试工具.

It goes above where you reference cycle. You may have any number of other errors, but start with that one. I also recommend getting Firebug or using Chrome's built-in developer tools. The console function of either will show you explicit JS errors, and they both have all sorts of great debugging tools.

这篇关于图像循环jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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