Solved

Popup Windows Back to Front

Posted on 2000-02-28
2
159 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

932 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

12 Experts available now in Live!

Get 1:1 Help Now