Re: anchored gifs
Thomas Russ <[email protected]>
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, May 15, 2002, at 08:36 AM, Mark Klein wrote:
>
> I would like to make a gif into an anchor. I have tried the following:
>
> (ns2.0:note-anchor (netscape3.0:image "/cl-http/icons/blueball.gif"
> "alt")
> :reference "a url"
> :stream stream)
>
> but it returns the error:
>
> Error: value #\> is not of the expected type SEQUENCE.
That is because the netscape3.0:image call prints rather than returning a
value. The #\> is just the last character printed, and is returned. The
ns2.0:note-anchor is expecting a string.
> What should I be doing?
Something like
(ns2.0:with-anchor-noted (:stream stream :reference "some URL")
(ns3.0:image #u"icons/button-info.gif" "i?"
:stream stream :width 12 :height 14
:border 0 :alignment :bottom))
>
> Thanks!
>
> Mark
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-=-
>
> Mark Klein, PhD
> Principal Research Scientist
> Center for Coordination Science
> Massachusetts Institute of Technology
> 3 Cambridge Center, NE20-336
> Cambridge MA 02142
>
> Tel: +1 (617) 253-6796
> Fax: +1 (617) 452-3231
> Email: [email protected]
> WWW: http://ccs.mit.edu/klein/
>
--
Thomas A. Russ, Ph.D. Senior Research Scientist [email protected]
USC/Information Sciences Institute http://www.isi.edu
4676 Admiralty Way, Marina del Rey, CA 90292 (310) 448-8775