Solved

Popup Windows Back to Front

Posted on 2000-02-28
2
158 Views
Last Modified: 2006-11-17
I'm having a problem bringing my popup window back up to the front.  I open a new small window with info about a product, and no menus, status, etc.  But when the user doesn't close the window, and goes back to the main windows and selects a new product, the new product loads in the small window, but stays hidden behind the main window.

IS THERE ANY WAY TO LOAD NEW INFO IN THE NEW WINDOW, AND THEN BRING THAT WINDOW TO THE FRONT?  help!!!
0
Comment
Question by:seanmonk
2 Comments
 
LVL 8

Accepted Solution

by:
jbirk earned 60 total points
ID: 2566944
Try this:
pic_win=window.open("images/"+p1+".jpg","pic","width=235,height=330");
pic_win.focus();

It will focus it...  just change the variable pic_win to whatever you want...

-Josh
0
 

Author Comment

by:seanmonk
ID: 2567044
Josh, It worked GREAT.  Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now