RE: Javascript - onClick - using image - on Netscape Navigator

by "Charlton, Mark" <Mark.Charlton(at)saint-gobain.com>

 Date:  Wed, 14 Mar 2001 17:50:09 -0500
 To:  "'Martha A. Liles'" <mliles(at)mliles.com>,
hwg-languages(at)hwg.org
  todo: View Thread, Original
AFAIK the onclick doesn't technically apply to images.  I'm not sure about
input images.  The best thing I could suggest is wrap the image in an anchor
tag and set that to call the function.

E.G.

<.tr>
<.td colspan="3"><.a href="Javascript:window.open('demo1.htm','',
'width=660, height=500')"><.img src="images/live_circuit.gif" name=DemoLink
border=0 name=linkFrom><./a><./td>
<./tr>

Regards

-----Original Message-----
From: Martha A. Liles [mailto:mliles(at)mliles.com]
Sent: Wednesday, March 14, 2001 4:38 PM
To: hwg-languages(at)hwg.org
Subject: Javascript - onClick - using image - on Netscape Navigator


RE: javascript - onClick - using image - on Netscape Navigator

http://www.peoplesloan.com/home_mf2.htm

There are six javascripts at the bottom of the page: 3 click button and 3
image link.

On Microsoft Internet Explorer, all six work.  On Netscape, Navigator only
the click button works, not the image link.  

How do I get the Netscape Navigator image link to work?

Thank you.


Martha Liles


Martha A. Liles, M.L.S.
Web Master
mliles(at)mliles.com
http://www.mliles.com

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.