Hi folks,
In our project we open a new window on click of an href. The code for
opening the window
from javascript is as follows.
The variable "uniqueWinID" is set to a particular numeric integer by another
function prior to
calling this function.
function openWin(type) {
if (type == "TRADE") {
var winID = window.open('', 'TRADE',
'width=675,height=640,screenX=0,left=0,screenY=0,top=0,resizable=yes,scrollb
ars=auto,status=yes');
} else if (type == "DOCVIEW") {
var winID1 = window.open("", uniqueWinID,
"height=690,width=735,screenX=0,left=0,screenY=0,top=0,channelmode=0,depende
nt=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=
1,status=1,toolbar=0");
winID1.myID = uniqueWinID;
}
return true;
}
This works fine most of the time. But sometimes(once in 2 or 3 hours),
onclick of the href, the window
opens in a new window with menu bars, tool bars.
Did anyone encountered similar type of problem before? Please share with me.
Thanks,
Prasad M
Home:- 630-595-0642
Work:- 312-234-3241
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]