RE: Was Image Slice question - now image swap question
by "Charlton, Mark" <Mark.Charlton(at)sgcna.com>
|
| Date: |
Fri, 8 Dec 2000 08:36:23 -0500 |
| To: |
"'Steve burrill'" <steve.burrill(at)celtic-web.co.uk> |
| Cc: |
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
NN, (4.x), uses a different structure to reference it's images.
instead of
document.images.bob.src
try just
document.bob.src
or
document[bob].src
the first option should work in both browsers, (inc NN6).
If you want, put the href in with a link to
href="javascript:void(0);return false"
which, (should), do nothing. Then set the img tag to <img ... border=0>
to get rid of the blue border
Good luck.
Mark
-----Original Message-----
From: Steve burrill [mailto:steve.burrill(at)celtic-web.co.uk]
Seems to work fine as it is in IE5 but doesn't work at all in NN. I think
its something to do with HREF being a required element of the anchor tag. If
I stick <A HREF="" etc. it works in NN except that it puts a blue frame
round the image which I don't want.
HWG hwg-techniques 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.