About ruby on rails, hackintosh, iphone3g and etc.

Wednesday, December 2, 2009

link_to popup error in IE

If you encounter problems that the popup does not appear in link_to function in IE browser, below will solve your problem.

Make sure there is no space between the names of the window

e.g.

link_to "View This Image", :action=>:show_image, :popup=>['window_name', 'height=300,width=300']

window_name should not have spaces.

No comments: