Hello All,

How can I add a popup in link_to image_tag?

I am trying as :-
<%= link_to image_tag(@user.avatar.url(:small)), '/users/edit', 
:popup=>['original_image', 'height=700,width=900'] %>

It goes to the edit page. But it doesn't opens popup.
Is this the correct way to call a popup?
How can I achieve this?


Thanks,
Avinash

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/072470f7-d646-415e-900d-b58568c37311%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to