David Landy wrote:
> how can i create an inline color image in javascript?
What browsers is it important for this to work in? If IE isn't important,
perhaps the "data:" URL scheme might be your friend. For example:
<a href="data:text/plain,Hello%20World">greeting</a>
See
http://www.ietf.org/rfc/rfc2397.txt for more details.
If this on its own isn't an option (for example, IE support is required),
it is probably possible to use the above scheme and then use some
JavaScript to decode the "data:" URL and display it in Internet Explorer.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me -
http://www.goddamn.co.uk/tobyink/?id=132