[JDEV] Emoticons...

TerraAccess rick at terraaccess.com
Sun Aug 4 17:10:23 CDT 2002


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. 



----- Original Message ----- 
From: "Mattias Campe" <mattias.campe at rug.ac.be>
To: <jdev at jabber.org>
Sent: Sunday, August 04, 2002 2:08 PM
Subject: Re: [JDEV] Emoticons...


> 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
> 
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
> 




More information about the JDev mailing list