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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
46c5b07a7107ef8cfd16d9cbf7d05b08?d=identicon&s=25 Horace Ho (horaceho)
on 2009-02-07 11: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
window.

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

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

Thanks
horace

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