scrollbars dummy question

L

leCuongintum

how does it work?
i've tried but it hasn't worked.
here is my code:
<HTML>
<HEAD><TITLE>Window Open</TITLE></HEAD>
<BODY>
<SCRIPT>
var salon_window;
function windowOpen(){
salon_window=window.open("http://
www.salon.com","salon","height=200,width=200","resizeable","scrollbars.visible=true");
//salon_window.scrollbars.visible=true;
/*if (salon_window.scrollbars) {
if (salon_window.scrollbars.visible == false)
salon_window.close();
} else {
alert("Ihr Browser erlaubt das Abfragen der Scrollbars nicht.");
}*/
}
function windowClose(fenster){
salon_window.close();
}
</SCRIPT>
<!--wenn maus on link over, wird eine neues window erscheint,wenn es
out,
wird das window geschlossen-->
<A href="#" onmouseover="windowOpen();"
onclick="return false;">open new window</A>
</BODY>
</HTML>

thanks for your attention
 
L

Lee

(e-mail address removed) said:
how does it work?
i've tried but it hasn't worked.
here is my code:
<HTML>
<HEAD><TITLE>Window Open</TITLE></HEAD>
<BODY>
<SCRIPT>
var salon_window;
function windowOpen(){
salon_window=window.open("http://
www.salon.com","salon","height=200,width=200","resizeable","scrollbars.visible=true");
}

What does "hasn't worked" mean?
What do you expect it to do?
What does it do instead, or what error messages do you see?

It works for me, as far as opening the window.
There's no code that tries to close the window.

The syntax of your window.open() call is incorrect.
It expects 3 arguments, not 5, and "scrollbars.visible"
is not one of the attributes that can be part of the
third argument.


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top