[thelist] Pop-up Blocker v. Opening a new window
Keith Gaughan
keith at digital-crew.com
Tue Jun 7 14:56:36 CDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
T-- wrote:
> Greetings, all.
>
> I am not "new window" crazy, but I do like to open certain pages (e.g.,
> larger view image, order form, ext web page) in a new smaller window.
>
> Something along these lines:
>
> <a href="WebPhotos/Candids/Cartoon.jpg" target="_blank"
> onClick="openPhoto('WebPhotos/Candids/Cartoon.jpg'); return false"
> title="Click to view larger image. Resize new window to enlarge photo
> more.">
What Volkan said. However, I'm posting to mention something else.
You could rewrite the above code (snipping a few details) as:
<a href="WebPhotos/Candids/Cartoon.jpg" target="_blank"
onclick="openPhoto(this.href);return false">...</a>
K.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCpfvzmSWF0pzlQ04RAiitAKCChWKuwyC0Z8ilS9iIbgZDkVkl1gCg7jSX
eMpOGX7tB3akD254sMq5SLQ=
=eLFq
-----END PGP SIGNATURE-----
More information about the thelist
mailing list