Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Window Properties


Message #1 by Nicholas Maffei <nmaffei@a...> on Thu, 14 Feb 2002 03:37:07 -0500
Nitin....and others, thanks. It was a typo on my part.
Deepak.....turns out that the windowVar was not absolutely essential.
Works fine now.
Nick Maffei
Nitin Madhbushi wrote:

> You can get the scrollbars if the page needs scrolling.
> I mean if the content of the page doesnt entirely set in the deimensions
> of the new window, you will be able to see the scrollbars in
> netscape4.7.
> However you should be able to see the scroll bars in IE5.
>
> I am sending you the sample code that I have made along with this mail.
> See if you are missing something.
>
> <HTML>
> <HEAD>
> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
> <TITLE></TITLE>
> </HEAD>
> <SCRIPT>
> function fun(){
>         ClientWin=window.open("New HTML
> Page3.htm","name1","width=400,height=400,scrollbars=yes")
>
> }
> </SCRIPT>
> <BODY>
> <form>
> <P><INPUT id=button1 name=button1 type=button value=Button
> onClick="javascript:fun();"></P>
> </form>
> </BODY>
> </HTML>
>
> Thanks and Regards,
> Nitin.
>
> -----Original Message-----
> From: Deepak Vohra [mailto:dvohra09@y...]
> Sent: Friday, February 15, 2002 10:42 PM
> To: javascript
> Subject: [javascript] Re: Window Properties
>
> window.open("client1stuff.html","name1","width=400,height=400,scrollbars
> =yes");
>
> windowVar required. windowVar is the name of new
> window.
>
> ClientWin=window.open("client1stuff.html","name1","width=400,height=400,
> scrollbars=yes")
>
> --- Nicholas Maffei <nmaffei@a...> wrote:
> > Perhaps someone can quickly see the eror of my ways
> > on some simple code.
> >
> > function launchwin1()
> > {
> >
> window.open("client1stuff.html","name1","width=400,height=400,scrollbars
> =yes");
> >
> > }
> >
> > <A HREF="javascript:launchwin1">Client1</A>
> >  The scrollbars property is not effective in either
> > IE or NN.
> >
> > What did I not do correctly.
> > Nick Maffei
> >
> >
> >
> >
> >
> $subst('Email.Unsub').
>
> __________________________________________________
> Do You Yahoo!?
> Got something to say? Say it better with Yahoo! Video Mail
> http://mail.yahoo.com
>
> $subst('Email.Unsub').
>


  Return to Index