About popup window

I want something behavioring like ajax:when click a link,invoke a
method in some class,then the response content will be displayed in a
mini popup window below the link,what’s more,user can close this mini
window.how do i realize this?

who can help me?

who can help me?

Here’s one example implementation you could look at that is nicely
packaged up:


and here’s a post describing another approach:


Michael S.
Resources for Rails Developers

On May 9, 12:04 am, Guo Y. [email protected]

You might need to give us a little more context for your problem.

If you want to make a popup window, add in a target to a link
(assuming you want a link)

link_to(‘something’, {:action => ‘blah’}, {:target => ‘_new’})

That should work.


Learn Ruby on Rails! Check out the FREE VIDS (for a limited time)
VIDEO #4 parts a and b now available!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs