旋转图像,AJAX式的,在Ruby on Rails的 [英] Rotating images, AJAX-like, in Ruby on Rails

查看:153
本文介绍了旋转图像,AJAX式的,在Ruby on Rails的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个网站,我想循环的图像,类似于幻灯片,而用户在页面上。我已搜索周围,一直没能找到一个领先。

I'm working on a site where I'd like to cycle images, similar to a slideshow, while the user is on the page. I've searched around and haven't been able to find a lead.

有没有人做到了这一点使用Rails和JavaScript框架,它支持?

Has anyone done this with Rails and the Javascript frameworks it supports?

推荐答案

您可以尽可能使用jQuery的周期插件,这里的链接:的 http://malsup.com/jquery/cycle/ 。它看起来像它会做你想要的。

you could possible use the jquery cycle plugin, here's the link: http://malsup.com/jquery/cycle/ . It looks like it would do what you want.

这篇关于旋转图像,AJAX式的,在Ruby on Rails的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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