[JDEV] Emoticons...
Mattias Campe
mattias.campe at rug.ac.be
Sun Aug 4 16:08:38 CDT 2002
TerraAccess wrote:
> I use a rollover effect to display a name for the emoticons.
> What would be the prefered way to add this to the icondef...
>
> <icon name="...">
>
> or with a new tag
>
> <icon>
> <name></name>
> .....
> </icon>
>
>
[...]
If you look at the XML shema file of JEP038, you'll see:
<xs:element name="graphic" type="xs:string"
minOccurs="0" maxOccurs="unbounded">
so you can define as much graphics as you want. So maybe you could use
numbers to have the sequence of rollover, like:
<icon>
<text default="true">:-)</text>
<text>:)</text>
<graphic type="image/png">happy1.png</graphic>
<graphic type="image/png">happy2.png</graphic>
</icon>
And in that way you don't have to change anything in JEP038
greetings
Mattias
More information about the JDev
mailing list