Re: [Zope] Imagemap in an image object

2000-08-25 Thread Diny van Gool

At 11:36 25-8-00 +0200, Radim Gelner wrote:
Greetings,

is there an easy way to add imagemapping to an image object or do I
have to create a new class for such a purpous?

I don't know exactly what you mean by imagemapping, but if you mean the
html tag map then you can use something like this in your dtml-method:

img src="image_gif" border="0" usemap="#home"

map name="home"
area shape="rect" coords="1,1,460,310" href="url"
/map

Diny


DIVA, Faculty of Veterinary Medicine
Utrecht University,  The Netherlands
http://www.vet.uu.nl 

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Imagemap in an image object

2000-08-25 Thread Peter Bengtsson

Have you tried this?:
dtml-var "myimage_gif.tag(border=0,usemap=#theimagemapname)"
If you have and this returns and error, give us the error.




 Greetings,
 
 is there an easy way to add imagemapping to an image object or do I
 have to create a new class for such a purpous?
 
 Thank you
 
 Radim
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Imagemap in an image object

2000-08-25 Thread Radim Gelner

Yes, that did the job. Thank you.

Radim

On Fri, Aug 25, 2000 at 11:06:43AM +0100, Peter Bengtsson wrote:
 Have you tried this?:
 dtml-var "myimage_gif.tag(border=0,usemap=#theimagemapname)"
 If you have and this returns and error, give us the error.
 
 
 
 
  Greetings,
  
  is there an easy way to add imagemapping to an image object or do I
  have to create a new class for such a purpous?
  
  Thank you
  
  Radim
  
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  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  -  [EMAIL PROTECTED]
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 )