[Zope] How to do a mouse over in Zope
Paul Zwarts
paz@oratrix.com
Mon, 29 Oct 2001 09:42:18 +0100
Gord,
The outcome of <dtml-var imagename> is to insert an <img> tag into the
html on publishtime. You must use a normal path for the image such as
/image/somewhere/<dtml-var thisIsOnlyAString>/image.gif.
Notice that the var I use will only be the string used in the path
rather than trying to insert the actual image object.
Read your source and you will see....
Regards,
Paul Zwarts
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Gordon Holtslander
Sent: Monday, October 29, 2001 8:56 AM
To: Zope List (E-mail)
Subject: [Zope] How to do a mouse over in Zope
I'm trying to get a mouse over to work and all I get is the text. This
is
what I'm trying to make work:
<a href=3D"feedback.html" =
onMouseOver=3D"document.the_image.src=3D<dtml-var
"images['feedback_dn.gif']">;"
onMouseOut=3D"document.the_image.src=3D<dtml-var
"images['feedback_up.gif']">;"> <img src=3D<dtml-var
"images['feedback_up.gif']"> name=3D"the_image" border=3D"0"></a>
What am I doing wrong?=A0
Talk to you soon,
=A0
Gord
=A0
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -=20
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )