Monday, November 27, 2006

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:

Anonymous said...

What should be the code in controller to show the popup

Unknown said...

Kamal: Hi Dude, thank you. It was useful to me

Abby Debra J said...

Hi..... thank you .... muah muah muha lots of kissses to u ....

Chaitanya said...

Short and Sweet, Thanks a lot, saves much time.....

Pay Pal

Sign up for PayPal and start accepting credit card payments instantly.

Ruby Corner

Earn Money