图像循环 jQuery

发布于 2024-12-25 11:52:08 字数 725 浏览 4 评论 0原文

我正在寻找一个非常精简、简单的图像循环插件。我不需要灯箱、灰箱、纤薄箱或任何其他盒子,只是一种使用箭头单击来显示一些图像的简单方法,就像这样... http://www.theapproach.co.uk/artists/phillip-allen/ 但使用简单的三角形作为右侧的导航按钮,就像这样.. 。 href="http://www.vilmagold.com/newpages/artists/hannahsawtell.htm" rel="nofollow">http://www.vilmagold.com/newpages/artists/hannahsawtell.htm

我'我们在尝试让 Cycle.js 工作时遇到了很大的问题,并且花了太多时间在它上面。这是一个(非)工作示例 http://www.cressidahaughton.co.uk/Untitled -4.html 我不确定问题是什么,但是源代码显示了一两个明显的错误?

也许我应该指出我正在使用 Dreamweaver cs5.5 并且对网页设计/编码非常陌生。也许我应该在程序中启用某些东西,或者应该在服务器端执行某些操作(我使用 Dataflame)。

快要放弃了。

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

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?

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).

About to give up with it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

盛夏已如深秋| 2025-01-01 11:52:08

您的页面上有一个明显的错误:您没有包含 jquery 本身:

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

它位于您引用循环的位置之上。您可能还有许多其他错误,但请从该错误开始。我还建议使用 Firebug 或使用 Chrome 的内置开发人员工具。两者的控制台功能都会向您显示显式的 JS 错误,并且它们都有各种很棒的调试工具。

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>

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文