Popup_javascript_function

Hi,

Would someone please explain how to use the popup_javascript_function in
urlhelper. I need to have a popup window opened when a user click on a
link and I think that action is written for that purpose. Unfortunately
I don’t quite understand what to pass to the popup parameter and perhaps
more. I have not found documentation or example on this either.
Please help! Thanks!

On 12/30/07, kevin lee removed_email_addre[email protected] wrote:

Hi,

Would someone please explain how to use the popup_javascript_function in
urlhelper. I need to have a popup window opened when a user click on a
link and I think that action is written for that purpose. Unfortunately
I don’t quite understand what to pass to the popup parameter and perhaps
more. I have not found documentation or example on this either.
Please help! Thanks!

Why not use a link_to with a :popup parameter?

http://api.rubyonrails.com/classes/ActionView/Helpers/UrlHelper.html#M000913


Greg D.
http://destiney.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs