I try to open a pdf file in a new window using the following code:
<%= link_to document.name, :controller => ‘member’,
:action => :show_attachment, :id => document.id,
:popup => [‘new window’, ‘width=800, height=700, left = 450, top = 100,
resizable, scrollbars=yes’ ] %>
but it opens the file in the same window.
Any ideas why?