Re: Another Pop-Up problem..
| From: | Marek Kilimajer | Date: | Thu, 27 Jun 2002 09:47:20 +0000 |
| Subject: | Re: Another Pop-Up problem.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104127@lists.php.net to get a copy of this message | ||
My guess is that there is no new window opened, because you call window.open with
window name that allready exists, so instead of:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
try:
var threadWindow;
function MM_openBrWindow(theURL,winName,features) { //v2.0
if(threadWindow){
threadWindow.location.href=theURL;} else {
threadWindow = open(theURL,winName,features);} } Doug Coning wrote:
Thanks all who have helped with my Javascript / PHP pop-up. I've got it to work now where it will pop up a window. However, now it returns the same record each time. So which ever record you click first, it will bring that window up for each item. How do I reset or clear out the value so that when you click a different link it brings up the proper record. You can see what I mean by visiting the code at: http://www.coning.com/phptest/73things_view5.php. Thanks! Doug Coning