Forum: Ruby on Rails How to make up :popup as the top-most window?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Horace H. (Guest)
on 2009-02-07 12:07
In the main windows, 10 project names are shown. Each project name is a
link to a popup to show the project detail. Code:

<%= link_to h(project.code), project, :popup =>
['detail_window','height=560,width=900,resizable=yes'] %>

This works fine if the user closes the detail window after viewing it.

There is a problem if the user clicks another project _without_ closing
the detail window first. Since the project window is bigger than the
detail windows, the detail window is refresh but it is not the top-most

It seems to the user nothing refresh when clicking different project
(the reality is the popup window is refreshed behind the project

So, how can I set the popup detail windows to be top-most (even it's
opened before)?


p.s. Browser is IE 6
This topic is locked and can not be replied to.