AW: [Zope] How to do a mouse over in Zope

Christian Prokopp christian.prokopp@wheel-it.de
Mon, 29 Oct 2001 18:33:37 +0100


Hi Gord,

The Problem is that the sources arent in -> ' ' <-.

Try this:

<a href="feedback.html" onMouseOver="document.the_image.src='<dtml-var
"images['feedback_dn.gif'].absolute_url()">'"
onMouseOut="document.the_image.src='<dtml-var
"images['feedback_up.gif'].absolute_url()">'"> <img src='<dtml-var
"images['feedback_up.gif'].absolute_url()">' name="the_image"
border="0"></a>

Hope this works...mine does.

Christian

p.s.
i deleted the ';' at the end of the dtml-var tags...dont know if that
changes sth but there is no need for it afaik.


-----Ursprungliche Nachricht-----
Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von
Gordon Holtslander
Gesendet: Montag, 29. Oktober 2001 16:15
An: 'Peter Bengtsson'; 'Zope List (E-mail)'
Betreff: RE: [Zope] How to do a mouse over in Zope


This solves the problem of all the instructions showing up in my page.
Thanks for that, but it still doesn't make the image "mouse over." It only
shows the feedback_up image. The link works, the regular image shows, but no
change happens when I move my mouse over the image.

In case it make a difference, I'm using zserver in Zope to serve the pages.
I suspect I'm missing something simple, I just can't seem to see it.

Gord

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Peter
Bengtsson
Sent: October 29, 2001 02:57
To: gordon.holtslander@sk.lung.ca; Zope List (E-mail)
Subject: Re: [Zope] How to do a mouse over in Zope


<a href="feedback.html" onMouseOver="document.the_image.src=<dtml-var
"images['feedback_dn.gif'].absolute_url()">;"
onMouseOut="document.the_image.src=<dtml-var
"images['feedback_up.gif'].absolute_url()">;"> <img src=<dtml-var
"images['feedback_up.gif'].absolute_url()"> name="the_image" border="0"></a>

Then you your DTML returns "http://localhost/images/feedback.gif" and not
the whole <img src=".." .... alt="0"/>

At 01:55 2001-10-29 -0600, Gordon Holtslander wrote:
><a href="feedback.html" onMouseOver="document.the_image.src=<dtml-var
>"images['feedback_dn.gif']">;" onMouseOut="document.the_image.src=<dtml-var
>"images['feedback_up.gif']">;"> <img src=<dtml-var
>"images['feedback_up.gif']"> name="the_image" border="0"></a>


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )