473,385 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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&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/
Jul 20 '05 #1
4 27321

"Koyan" <Kk****@yahoo.com> 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
Jul 20 '05 #2
Koyan <Kk****@yahoo.com> 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 - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.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,resizeable=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
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...
3
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...
3
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,...
29
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...
4
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", _ ...
13
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...
2
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) {...
0
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...
4
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.