模态窗口插件到rails [英] Modal windows plugin to rails

查看:16
本文介绍了模态窗口插件到rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始挖掘一些 Rails 插件来在 Rails 中创建模态表单.您发现的几乎所有文档都太旧(2006,2007)或更专注于 php.ini 文件.我想创建一个反馈"选项卡,当您单击它时,它会打开一个表单.例如,您可以查看 railscast 网站 http://railscasts.com/.Ryan Bates 在他的网站上制作了它,但没有制作任何关于它的截屏视频.

I'm starting to digg some rails plugins to create modal forms in rails. Almost all documents that you find are too old (2006,2007) or more focused in php. I would like to create a "feedback" tab that when you click on that, it opens a form. For example, you can check the railscast website, http://railscasts.com/. Ryan Bates made it in his website, but didnt make any screencast about it.

关于使用 jquery 并执行这些表单的 rails 插件的任何想法/提示?

any idea/tip about a rails plugin to work with jquery and to do those forms?

推荐答案

在rails+jquery上查看这个教程

Check this tutorial on rails+jquery

不显眼 Rails 的 6 个步骤(使用 jQuery)(2008 年 11 月你可以吗?)

6 Steps to Unobtrusive Rails (with jQuery) (Nov 2008 ok for you?)

然后只需选择一个适合您并支持某种模态显示的 jquery 插件.给你一个小选择

Then just pick a jquery plugin that suits you and supports some kind of modal display. A little selection for you

懒得插入所有链接

这篇关于模态窗口插件到rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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