Modal windows plugin to rails

泄露秘密 提交于 2020-01-21 00:41:04

问题


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.

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


回答1:


Check this tutorial on rails+jquery

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

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




回答2:


Thanks for the above listing. I find this link useful as well. There are a few that aren't in the list above, and it gives some screen shots in the post. http://komunitasweb.com/2009/03/jquery-modal-box-round-up/



来源:https://stackoverflow.com/questions/1656086/modal-windows-plugin-to-rails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!