Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: anchored gifs: msg#00005

Subject: Re: anchored gifs
>>>>> On Wed, 15 May 2002 11:36:26 -0400, Mark Klein <m_klein@xxxxxxx> said:

  Mark> I would like to make a gif into an anchor. I have tried the following:

  Mark>    (ns2.0:note-anchor  (netscape3.0:image "/cl-http/icons/blueball.gif" 
"alt")
  Mark>                        :reference "a url"
  Mark>                        :stream stream)

  Mark> but it returns the error:

  Mark> Error: value #\> is not of the expected type SEQUENCE.

  Mark> What should I be doing?

NETSCAPE3.0:IMAGE emits the HTML rather than returning it (it happens to
return #\>).  This probably does what you want:

(ns2.0:with-anchor-noted (:reference "a url" :stream stream)
  (netscape3.0:image "/cl-http/icons/blueball.gif" "alt" :stream stream))

-- 
Martin Simmons                            Email: martin@xxxxxxxxxxx
Xanalys Ltd, Barrington Hall,             TEL:   +44 1223 873826
Barrington, Cambridge CB2 5RG, England.   FAX:   +44 1223 873873



<Prev in Thread] Current Thread [Next in Thread>