Open New Window in Rails
Open New Window in Rails
by using the following methods of rails
example:
link_to 'Cool site', "http://chennairails.blogspot.com", :target => '_blank'
link_to "Busy loop", { :action => "busy" }, :popup => ['new_window',
'height=300,width=600']
ok bye
4 comments:
What should be the code in controller to show the popup
Kamal: Hi Dude, thank you. It was useful to me
Hi..... thank you .... muah muah muha lots of kissses to u ....
Short and Sweet, Thanks a lot, saves much time.....
Post a Comment