Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > window.open doesn't opens resizeable and with scrollbars

Reply
Thread Tools

window.open doesn't opens resizeable and with scrollbars

 
 
Koyan
Guest
Posts: n/a
 
      11-12-2003
Hallo everybody,

I have in my website administration pages the following script:

function openWin(){
window.open("/multimedia/display?frmNm=0&obj=imageid&capobj=imgcaption","di splay","scrollbar=yes,resizeable=yes,menubar=no,wi dth=500,height=500");

When this script is called, a popup window opens. The problem is that it
opens allright (with scrollbars and resizeable) in Opera and Mozzilla, it
is not resizeable and it has no scrollbars, when I open it from iexplorer
and mozzillafirebird.

Anyone has any ideas what I am doing wrong?

Thanks,
Koyan

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
Reply With Quote
 
 
 
 
Fred Serry
Guest
Posts: n/a
 
      11-12-2003

"Koyan" <(E-Mail Removed)> schreef...
> I have in my website administration pages the following script:
>
> function openWin(){
>

window.open("/multimedia/display?frmNm=0&obj=imageid&capobj=imgcaption",
"display","scrollbar=yes,resizeable=yes,menubar=no ,width=500,height=500"
);

> Anyone has any ideas what I am doing wrong?


Hi,

For short: RTFM.

If you use scrollbars=yes,resizable=yes instead of
scrollbar=yes,resizeable=yes, it will do allright.

Fred


 
Reply With Quote
 
 
 
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      11-12-2003
Koyan <(E-Mail Removed)> writes:

> I have in my website administration pages the following script:
>
> function openWin(){
> window.open("/multimedia/display?frmNm=0&obj=imageid&capobj=imgcaption","di splay","scrollbar=yes,resizeable=yes,menubar=no,wi dth=500,height=500");


> Anyone has any ideas what I am doing wrong?


It is spelled "scrollbars" (plural) and "resizable" (without the "e").
Since you don't give the properties "scrollbars" and "resizable" they
default to "no".

/L
--
Lasse Reichstein Nielsen - http://www.velocityreviews.com/forums/(E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
Koyan
Guest
Posts: n/a
 
      11-12-2003
On Wed, 12 Nov 2003 15:58:41 +0100, Fred Serry
<(E-Mail Removed)> wrote:

> If you use scrollbars=yes,resizable=yes instead of
> scrollbar=yes,resizeable=yes, it will do allright.
>
> Fred

Thanks Fred,
corrected now.
 
Reply With Quote
 
Koyan
Guest
Posts: n/a
 
      11-12-2003
On Wed, 12 Nov 2003 16:04:18 +0100, Lasse Reichstein Nielsen
<(E-Mail Removed)> wrote:

> It is spelled "scrollbars" (plural) and "resizable" (without the "e").
> Since you don't give the properties "scrollbars" and "resizable" they
> default to "no".
>
> /L

Thanks, corrected now.



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a resizeable shape hatic Java 0 02-27-2008 07:41 PM
about resizeable problem in JFrame/JDialog!!! James Java 1 09-20-2004 04:17 PM
Background image, fixed and resizeable, watermark. HELP. surjit Java 1 02-19-2004 08:32 PM
resize to full screen but leave window resizeable? Els Javascript 8 07-31-2003 04:50 PM
Popped up window not resizeable as defined Simon Wigzell Javascript 1 07-22-2003 05:37 AM



Advertisments