E-mail List Archives
RE: popup windows
From: Keith Patton
Date: Feb 20, 2004 9:18AM
- Next message: Jared Smith: "Re: popup windows"
- Previous message: Tim Beadle: "Re: popup windows"
- Next message in Thread: Jared Smith: "Re: popup windows"
- Previous message in Thread: Tim Beadle: "Re: popup windows"
- View all messages in this Thread
Hi,
Don't forget to also include onkeypress as well as onlick, i double up all
these type of links to make sure they work with keyboard and mice.
Keith Patton
Technical Director
Ethical Media
www.ethicalmedia.com
-----Original Message-----
From: Tim Beadle [mailto: <EMAIL REMOVED> ]
Sent: 20 February 2004 16:02
To: <EMAIL REMOVED>
Subject: Re: popup windows
On Fri, Feb 20, 2004 at 03:38:17PM +0000, Ben Morrison wrote:
> You should use the pop up address as the url - incase javascript is turned
> off.
>
> <a href="popup.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>
Even better:
<a href="popup.html"
onclick="javascript:NewWindow(this.href,'popup',300,400,1);return
false;">link text</a>
Then you only have to change the href once, should it need to change.
Tim
--
"Internet Explorer is like a box of chocolates. You never know what you're
gonna get." -- Sjors
----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/
----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Jared Smith: "Re: popup windows"
- Previous message: Tim Beadle: "Re: popup windows"
- Next message in Thread: Jared Smith: "Re: popup windows"
- Previous message in Thread: Tim Beadle: "Re: popup windows"
- View all messages in this Thread