Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Adding Emoticons to ASP.NET Chat application that uses Remote Scripting

Reply
Thread Tools

Adding Emoticons to ASP.NET Chat application that uses Remote Scripting

 
 
JM
Guest
Posts: n/a
 
      09-21-2005
Hi,

I made an ASP.NET chat application using remote scripting, so that the
entire page does not refresh when new messages arrive. The client-side
has a timer that accepts new messages every 5 seconds. All it does is
concatenate the new message to the existing chat message string. Now I
want to add emoticons just like MSN and Yahoo! Messenger. Can you guys
please give me an idea on how to make this work? Is it possible to
integrate graphics to string on Javascript?


Thanks,

JM

 
Reply With Quote
 
 
 
 
Mr Newbie
Guest
Posts: n/a
 
      09-21-2005
You could encode the graphic in say Base64 or whatever and concatenate this
to your message,and then decode. However, I would rather suggest that a more
sensible way to do this is to concatenate a code string which correspends to
the appropiate graphic and have your application interpret this on render.


"JM" <> wrote in message
news: oups.com...
> Hi,
>
> I made an ASP.NET chat application using remote scripting, so that the
> entire page does not refresh when new messages arrive. The client-side
> has a timer that accepts new messages every 5 seconds. All it does is
> concatenate the new message to the existing chat message string. Now I
> want to add emoticons just like MSN and Yahoo! Messenger. Can you guys
> please give me an idea on how to make this work? Is it possible to
> integrate graphics to string on Javascript?
>
>
> Thanks,
>
> JM
>



 
Reply With Quote
 
 
 
 
shiv_koirala@yahoo.com
Guest
Posts: n/a
 
      09-21-2005
Load all the emotion images on your chat server. and use the <img
src-"emotion.jpg"></img> to display with appropriate height and width.

Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving MSN custom emoticons? Rachel Computer Support 11 05-06-2008 06:17 AM
Adding Emoticons to page Patrick Olurotimi Ige ASP .Net 0 05-16-2005 03:27 AM
MSN Emoticons PWB Computer Support 1 02-18-2005 01:03 PM
Thunderbird and Emoticons Roberto Firefox 13 08-26-2004 07:47 PM
Emoticons in thunderbird James Firefox 0 12-20-2003 07:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57