Image tags can have their HREF defined by JavaScript code. To do this, you need to place a javascript: URL in the HREF and return a valid location on exit from the function or expression that is invoked.
See also: | IMG.src |
Prev | Home | Next |
IMG.height | Up | IMG.hspace |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |