[Zope] Images and tag tag

Dieter Maurer dieter@handshake.de
Thu, 25 May 2000 21:50:45 +0200 (CEST)


peter writes:
 > I use the nifty Image object and an extra tag to it.
 > like this
 > <dtml-var "myimage_gif.tag(border=0)">
 > 
 > But what I want to do is this:
 > <IMG ONMOUSEOVER="this.style.cursor = 'HAND'"
 > ONMOUSEUP="document.bgColor='#FFCCFF'" SRC="myimage_gif" width=118 height=77
 > border=0>
 > 
 > I have tried
 > <dtml-var "myimage_gif.tag(border=0, onmouseover=blablabla">
 > This is not supported the tag tag. Only border, width, height and alt can be
 > used.
Note that most Zope objects can be accessed through URL's.

In your case, you prabably can use
<IMG SRC="myimage_gif" ONMOUSEOVER=....>

Dieter