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 8117825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:18:04+00:00 2026-06-06T04:18:04+00:00

I am opeing a new pop up window like this in rails 3 <%=

  • 0

I am opeing a new pop up window like this in rails 3

<%= link_to image_tag("/images/signin_lin.jpg"), linkedin_connect_path, :popup => true %>

also i tried this

link_to image_tag("/images/signin_lin.jpg"), { :action => "connect" }, :popup => ['new_window','height=300,width=600']

first one does open a new window and the page comes in full size when i use the second one i get the new window but the parent window becomes blank and once the even is completed than the controller goes to new pop up window where it’s size is very small.

what i want is once the new pop up window is opened and the action is done, the pop up window should be closed and the controll should come to the parent window.

Please help me.

  • 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-06-06T04:18:06+00:00Added an answer on June 6, 2026 at 4:18 am

    Use some CSS and Javascript!

    Here’s an example you can play with: http://jsfiddle.net/cdpZg/

    Copying it here, just in case.

    HTML:

    <div id='user'>I am a user. Move your mouse over me</div>
    <div id='popup'>Extended info about a user</div>
    <div>I a piece of useless information. No use hovering over me.</div>
    

    CSS:

    #popup {
        height: 50px;
        width: 200px;
        text-align: center;
        vertical-align:middle;
        background-color: cornflowerblue;
        color: white;
        display: none;
        padding-top: 8px;
        position: absolute;
    }
    

    Javascript:

    $(document).ready(function() {
        $('#user').hover(function() {
            $('#popup').show();
        }, function() {
            $('#popup').hide();
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this ActionLink in one of my views Html.ActionLink(pop.PopName, ShowAllEncounters, Encounter, new {popId
I am opening new pop-up page in new window. Now When I am pressing
I'm showing myFormPanel includes a form.I'm opening this panel like : popUpPanel = new
When opening a new tkinter window, I only want the user to be able
print() doesn't work in IE after opening a new window. It works in Chrome.
I've run into an issue with opening a new window in safari (both ipad
I have a problem with IE8 and the opening of a new window with
How to enable opening links exposed via s:link in a new window http://www.jsftoolbox.com/documentation/seam/09-TagReference/seam-link.html
I'm kinda new to Dojo toolkit. There are certain issues which I would like
I have a script that makes barplots, and opens a new window when 6

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.