模态Windows插件到轨 [英] Modal windows plugin to rails

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

问题描述

我开始挖掘一些Rails插件以在Rails中创建模式形式.您发现的几乎所有文档都太旧了(2006、2007),或者更多地集中在php上.我想创建一个反馈"选项卡,当您单击该选项卡时,它将打开一个表单.例如,您可以检查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

6个步骤来实现不显眼的Rails(使用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

  • Simplemodal
  • Thickbox
  • FancyBox
  • nyroModal
  • Simple JQuery Modal Window
  • Modal Panels
  • Lightbox
  • Block UI
  • JqModal
  • Pirobox
  • JQuery UI Dialog
  • Facebox
  • Impromptu
  • jDialog
  • FancyZoom
  • Choose Component
  • jBox
  • Greybox Redux
  • Modal Dialog
  • Smart Modal

不必麻烦插入指向所有链接的链接

Can't be bothered to insert links to all of them

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

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