Forums / Developer / New datatypes ? / Comment39669

Author Topic

Vincent Basset

Monday 19 January 2004 8:10:39 am

Comment39669

I forgot one thing : I've read that extensions should help me creating new datatypes, but is it possible to create a type including many others ?

I'll try to explain :

I want to create an ImageMap
An ImageMap looks like this :

<map name="Map">
<area shape="poly" coords="64,103,.....,63,110" href="page1.php">
<area shape="poly" coords="196,81,.....,194,89" href="page2.php">
<area shape="poly" coords="184,104,......,174,119" href="page3.php">
</map>

so I need to create 2 types :

1 - the "ImageMapShape" type which will include a text for the name, a texte for the coords and a text for the link

2 - the "ImageMap" type which will include an image and any number of ImageMapShape !!!

is it possible ???

Thanks a lot ! :):):)