Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3754778
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:35:50+00:00 2026-05-19T09:35:50+00:00

Rails 2.3.5 (work server, no choice to be on Rails 3). Currently I’m still

  • 0

Rails 2.3.5 (work server, no choice to be on Rails 3). Currently I’m still using Prototype but just went through also adding JQuery (noconflict) to experiment with it’s UI Dialog. I’m a newb with no javascript or JQuery experience and a few months Rails experience.

I have an index page that lists ‘teams’. The listings don’t show all the information and have text fields truncated. So, on each ‘team’ listing I have a show and edit link going to a popup:

<%= link_to "Team_Details", {:controller => 'teams', :action => 'show', :id => t.id},
popup => ['show','toolbar=no,location=no,directories=no,status=no,
menubar=no,scrollbars=yes,resizable=yes,autosize=yes'] %>

Where I’m stuck is:

  • having the popup open center screen
  • making the popup auto-size
  • The link_to title doesn’t work (seems to be
    over-written by the view title)
  • The general look isn’t great (and no animation for open/close)

I tried getting this to work in a JQuery UI Dialog but I only got as far as an empty dialog window opening. I thought being able to open a view into a popup would be pretty common where there would be a lot of Google info out there but I’m not having any luck tonight. A lot of the information I found is about displaying the contents of a hidden div in the UI Dialog.

I guess I’m wondering what direction to go here? I just want to pass an :id param to a view and have that view display in a popup. If JQuery UI Dialog is a good way to go, is there a simple usage example out there somewhere for something like this?

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T09:35:51+00:00Added an answer on May 19, 2026 at 9:35 am

    I’d use unobstrusive javascript with the jQuery’s UI lightbox or with:

    http://colorpowered.com/colorbox/

    If you use the latest, don’t forget to put layout to false.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(Using Rails 2.3.5 on an internal work server with no choice of versions, and
I am just beginning to work with Rails. I have a model, User and
I'm doing maintenance work on a Rails site that's deployed using Phusion Passenger .
I want to run rails server in one Terminal window and work in another
Rails console doesn't work on my production server. Here is what happens: root@myapp:/webapps/myapp/current# rails
Rails 2.3.5 (internal work server - stuck at this version for inside apps) The
One of my rails apps (using passenger and apache) is changing server hosts. I've
I am using Flex/Flash to build a UI which front-ends my Rails server application.
Have been trying to get a fresh, just created rails application to work on
For non-Rails work, regular Ruby works fine on my Windows 7 machine. But I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.