Re: Pop-up windows

by Jeff Demel <jeff(at)cosmiczombie.com>

 Date:  Fri, 20 Oct 2000 21:02:35 -0500
 To:  H W G <hwg-techniques(at)hwg.org>
 References:  electronerdz
  todo: View Thread, Original
You can find all the attributes for the Window.Open() method here:
http://www.webreference.com/js/column7/attributes.html

HTH

-Jeff

----- Original Message -----
From: "Jason C. Greb" <jgreb(at)electronerdz.com>
To: "H W G" <hwg-techniques(at)hwg.org>
Sent: Friday, October 20, 2000 7:43 PM
Subject: Pop-up windows


> What is the best way of doing popup windows? I know it would have to
involve
> JavaScript
>
> This is what I have been doing:
>
> <a href="lala.htm" target="LaLa"
> onClick="LaLa=window.open('','LaLa','width=200,height=200');">
>
> This works fine, it pops up the window with no borders or toolbars. But
then
> when I seen a client use it on his AOL browsers.... it wasn't pretty.
>
> It popped up a full second window, then it popped up another window like
it
> was supposed to but made that the original file that the link came out of,
> and then the new blank window that it popped up originally on top.
>
> I have since then been using this:
>
> <a href="javascript:void(0)"
> onClick="window.open('lala.htm','popup','width=200,height=200');">
>
> Can anyone give me some input and some ideas?
>
>
> Jason C. Greb
> jgreb(at)electronerdz.com
> http://www.electronerdz.com/
> 2765548 / JayTekInc
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA