Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Modal Window Help Needed


Message #1 by "Web Developer" <ijohnson@r...> on Mon, 18 Jun 2001 19:47:38
never mind...

-----Original Message-----
From: Johnson, Israel [mailto:IJohnson@R...]
Sent: Wednesday, June 20, 2001 7:14 AM
To: javascript
Subject: [javascript] Re: Modal Window Help Needed


Is there a way to keep it always raised in IE outside of the Modal Window,
Perhaps an API call or something?  

-----Original Message-----
From: Michael Wong [mailto:go2net@p...]
Sent: Tuesday, June 19, 2001 10:59 PM
To: javascript
Subject: [javascript] Re: Modal Window Help Needed


Hello,

In IE, the format of window feature string is a bit different than 
Netscape.

The name value pair is separated by a colon rather than the usual equal 
operator, i.e. "dialogHeight:300px;dialogWidth:300px".

Try these lines for IE.

var newWindow ;
newWindow = window.showModalDialog
("yourURL", , "dialogHeight:300px;dialogWidth:300px") ;

Hope this help.

Cheers.

Michael Wong

  Return to Index