473,768 Members | 7,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

window.open doesn't opens resizeable and with scrollbars

Hallo everybody,

I have in my website administration pages the following script:

function openWin(){
window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ","display","sc rollbar=yes,res izeable=yes,men ubar=no,width=5 00,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 mozzillafirebir d.

Anyone has any ideas what I am doing wrong?

Thanks,
Koyan

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 20 '05 #1
4 27351

"Koyan" <Kk****@yahoo.c om> schreef...
I have in my website administration pages the following script:

function openWin(){
window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ",
"display","scro llbar=yes,resiz eable=yes,menub ar=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,r esizeable=yes, it will do allright.

Fred
Jul 20 '05 #2
Koyan <Kk****@yahoo.c om> writes:
I have in my website administration pages the following script:

function openWin(){
window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ","display","sc rollbar=yes,res izeable=yes,men ubar=no,width=5 00,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 - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3
On Wed, 12 Nov 2003 15:58:41 +0100, Fred Serry
<fr************ ***@planet.nl> wrote:
If you use scrollbars=yes, resizable=yes instead of
scrollbar=yes,r esizeable=yes, it will do allright.

Fred

Thanks Fred,
corrected now.
Jul 20 '05 #4
On Wed, 12 Nov 2003 16:04:18 +0100, Lasse Reichstein Nielsen
<lr*@hotpop.com > 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/
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2595
by: Simon Wigzell | last post by:
I'm popping up a window with the following piece of javascript : MyWindow = window.open(filestring,'MyWindow','directories=no,status=no,scrollbars=yes,r esizeable=yes,menubar=no,toolbar=no,screenX=25,screenY=25,top=25,left=25,wid th=650,height=500').focus(); Everything about the window is correct except it is NOT resizeable - the top right expand button is insensitive and the window borders cannot be grabbed and dragged - WTF????
3
20548
by: Michael | last post by:
I am trying to allow a user to view a PDF in a new window. I currently have this working using the following: <a href="./pdf.do?parameter=01121980" target="top"><b>pdf</b></a> The problem with the above solution is the back/forward buttons and all the other browser options. Because of this, I am trying to get the following solution to work: <a href="#" onclick="popUp('./pdf.do?parameter=01121980')"><b>pdf</b></a>
3
4301
by: Mehmet Gunacti | last post by:
Hello, on our homepage, when pressing an anchor tag, a special sized popup window opens via javascript. but it opens very slowly. on other web pages, there are also javascript-opened windows, but they load very very fast, within 2-3 seconds. i tried several things such as :
29
5026
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the window properly but does not pass the parameter. (this is part of a coldfusion template) <a href="##"
4
3770
by: MrMike | last post by:
Hi. I have a hyperlink control (lnkViewLogData) which is assigned the following attribute when the page loads... Me.lnkViewLogData.Attributes.Add("onClick", _ "javascript:window.open('Input_New_Record_CustomerInformation.aspx?CustomerID=" & Me.lblCustomerID.Text & "','myWin','');") As you can see, when this attribute is assigned the hyperlink is formatted to pop open another window. The problem is that when the window opens, it...
13
22175
by: tochiromifune | last post by:
Hello The window.open method brings my window to the top only if it is new. If it's being reused, the window does not come to the foreground (with IE 6 it does). Is there a new way in Mozilla/Firefox that I can ensure that this window comes to the top? Thank you for your help
2
567
by: roN | last post by:
Hi, Why isn't following not working, well, it opens a windows but not with the size, passed to the function in variable w & h. Thank you function open_window(URL,title,w,h) { window.open(URL,title,"width=w,height=h,left=100,top=200,menubar=no,resizeable=no,scrollbars=no,status=no,toolbar=no"); }
0
1913
by: IndyChris | last post by:
I've got a button my webpage that when clicked will open another window. Different criteria on the page will deteremine which window gets opened when the button is clicked. I have a switch statement in my code and then I set up javascript that I register back to the client. This is all working fine except for one thing. The window that opens, opens behind the parent window. I was really hoping that it would open in front. I believe that...
4
3268
by: arajunk | last post by:
In Firefox this opens a full size window (maximized) . In IE it opens the partial window requiring user to click restore (upper right) to maximize. What am I missing ? var infoWindow=window.open('usgsMain.html','USGSwindow','status=no,resizable=yes,scrollbars=yes');
0
9408
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9966
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9845
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7387
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6657
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5287
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3540
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.