On 12/30/07, kevin lee
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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 Donald
http://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---