I've encountered numerous problems with Netscape 4.0X and don't really work
it in the mix any longer. Sheesh, I wonder why the code just doesn't work
on my machine (IE5.5).
Cheers -
George L Smyth
-----Original Message-----
From: Nicholas Maffei [mailto:nmaffei@a...]
Sent: Monday, February 11, 2002 8:26 AM
To: javascript
Subject: [javascript] Re: Pop-up Problem
George,et al:
I used basically the idential code.
The width and height spec worked fine, but scrollbars=yes, was ignored.
I'm using NN4.07, and it did not wor either online or offline.
Anyone ever encounter this glitch.
Nick Maffei
George Smyth wrote:
> The following code does indeed work:
>
> <html>
> <head>
> <title>test</title>
> <script language="JavaScript">
> function ShowLast() {
> window.open
>
("ReadPopup.htm","test","width=100,height=100,scrollbars=yes,resizable=yes")
> ;
> }
> </script>
> </head>
> <body>
> <a href="javascript:void(0)" onClick="ShowLast();">Test</a>
> </body>
> </html>
>
> Thank you for the solution.
>
> I guess I'm now at the point of wanting to know why my code didn't work.
In
> my mind, everything was there to make it work, and the single stumbling
> block was the reference to the width and height. How in the world would
> this have made a difference with anything?
>
> Thanks -
>
> George L Smyth
>
> -----Original Message-----
> From: alona [mailto:alonas@m...]
> Sent: Tuesday, February 12, 2002 3:03 AM
> To: javascript
> Subject: [javascript] Re: Pop-up Problem
>
> Try to define name to window not just "" and add href="javascript:void(0)"
>
>
> > I've got a problem with a popup window that is driving me buggy.
> Hopefully,
> > another set of eyes will see something blatant.
> >
> > The following code works just fine:
> >
> > <html>
> > <head>
> > <title>test</title>
> > <script language="JavaScript">
> > function ShowLast(MID) {
> > var loc = "ReadPopup.htm?" + MID;
> > window.open (loc,"","scrollbars=yes,resizable=yes");
> > return false;
> > }
> > </script>
> > </head>
> >
> > <body>
> >
> > <a href="" onClick="return ShowLast(240);">Test</a>
> >
> > </body>
> > </html>
> >
> > This is pretty simple and straightforward, and if it were what I wanted,
> I
> > would be done. However, I don't want the window to be quite as large,
> so I
> > change the open statement to read:
> >
> > window.open
> (loc,"","height=200,width=200,scrollbars=yes,resizable=yes");
> >
> > Now, the open statement bombs out, the function is left, and since false
> is
> > never returned, the browser tries to open the blank href.
> >
> > Why is this not working? Simply adding either the height or the width
> > causes the function to no longer work, but for the life of me, I can't
> > figure out why this is the case.
> >
> > Thanks -
> >
> > George L Smyth
> >
>
$subst('Email.Unsub').
>
$subst('Email.Unsub').