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 [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/