[JDEV] Emoticons...
Sebastiaan 'CBAS' Deckers
cbas at screaming3d.com
Sun Aug 4 17:26:46 CDT 2002
I contacted Adam Theo (the author of the JEP) about this and he's
thinking about it.
You should probably ask him directly ...
I'm in favor of something like:
<name language="en"> One bigass grin </name>
- Sebastiaan
TerraAccess wrote:
>Thanks Mattias I really appreciate you taking the time to
>help me with this...
>but maybe I phrased my question wrong.
>
>On my emoticon popup when a user rolls over an emoticon
>I display a text description of the emoticon. I'm looking for
>somewhere in the xml to define this text description.
>
>The only way I see right not to do this would be to chop the
>extension off the file and use the descriptive name for the
>name of the file. I do think it would be a little cleaner
>to set this in the xml though.
>
>I would rather not change the schema but I don't see a clean
>alternative.
>
>
>
>>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