Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

popup windows is behind my popup windows..

Status
Not open for further replies.

ott27

Programmer
Jan 13, 2004
4
US
Hi there,

I have a question. I'm trying to make a javascript link that when click it would go to the original webpage (which it does), however I need the original webpage to be in front of the popup window.

Please it's kind of hard to explain. But if you go to this link and click on "Need a quote or a pump?" on the third column. You will get a popup window. Scroll to the very bottom and click on "Redi-Flo2" the original window will change content but it is not in front of the pop up. I would like for it to be in front but not sure how. Here is the code for the link below.

<a href=&quot;javascript:;&quot; onClick=&quot;opener.top.location=' and converter</a>

Any advise as to what I need to add to make the original windows be up front?

Thanks in advance.
 
here's one way:


on (release) {
getURL (&quot;javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);&quot;);
}
 
Hi DeCojute..

<a href=&quot;javascript:;&quot; onClick=&quot;opener.top.location=' on (release) {
getURL (&quot;javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);&quot;);}>Redi-Flo2 and converter</a>

Is this the right way to insert the code? What about ShowPopup.php do I need to make the changes to my own webpage?
 
ShowPopup.php was the page this script was calling, you can call your own
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top