Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户单击按钮时,我希望 iframe* 在单独的对话框中弹出。任何指针?
*
除了一个简单的 js 警告框之外,Rails 没有任何开箱即用的功能。你可以自己动手制作一个自定义助手来做你想做的事,或者尝试使用像 facebox_link_to 这样的插件。
http://handlino.com/blog/2008/02/26/57/