 |
|
|
 |
|
 |
Just Change the doctype on the page to work with firefox
Devil
|
|
|
|
 |
|
 |
in chats standard format for text appearing is top to bottom. I mean every new message appears at the bottom of the previouse one while in this chat application it is vise versa. can any one resolve it?
Devil
|
|
|
|
 |
|
 |
Hi,
This can be converted to a standard chat application with a slight modification which our friend has left it to us to figure out.
Anyways here's the modification needed
in function SendDataToServer(DvDisplay,Content,ToUser,FromUser) of chat.aspx replace the following code
DvDisplay.innerHTML = '<font color=gray><b>' + FromUser.value + '</b></font>: ' + Content.value + '<br>' + DvDisplay.innerHTML;
with this
DivDisplay.innerHTML = DvDisplay.innerHTML + '<br>' + '<font color=gray><b>' + FromUser.value + '</b></font>: ' + Content.value;
and in function DisplayDataFromServer() of chat.aspx replace the following code
DivDisplay.innerHTML = '<font color=blue><b>' + sCtrID + '</b></font>' + sReply + DivDisplay.innerHTML;
with this
DivDisplay.innerHTML = DivDisplay.innerHTML + '<br>' + '<font color=blue><b>' + sCtrID + '</b></font>' + sReply ;
Good Luck guys
but i am ver much interested in making it work in firefox.
If someone's working on that it would be great if they can share the information
Regards,
Govardhana Reddy R
apondu@gmail.com
http://www.apondu.50megs.com
|
|
|
|
 |
|
 |
This sample works well in IE but many problems in Firefox like no object is movable. also you cannot close an existing chat window as right click does not open child window. Overall a good sample. Have you any suggestions to resolve these problems?
Devil
|
|
|
|
 |
|
 |
yes u right it dosen't working in Mozilla... anyway i am trying to resolve the problem..
if get resolved i will definitely know you...
actually making this app more innovative like i am making the window to blink when new message arrived...
|
|
|
|
 |
|
 |
hummmm okz good idea to work. Anyway if you got any solution please do share wid me. same i ll do.
Regards
Devil
|
|
|
|
 |
|
 |
ya.............
Doesn't working in mozilla.. how to do please any idea share with me
Thank u
|
|
|
|
 |
|
 |
how to blink browser window when a new message arrives?
Can anyone paste code same...
|
|
|
|
 |
|
 |
Hey it is really very nice....
hats off to your logic.....
|
|
|
|
 |
|
|
 |
|
 |
User(A) --send msg("Hello") for User(B)--> Server(Cash[User(A)],Cash[User(B)],...) <--get msg("hello") from Cash[User(B)]-->User(B).
Cash[User(B)]
+ Messege as Array
+ FromUser: User(A)
+ Content: "Hello"
Okie.
|
|
|
|
 |
|
 |
It seems very slow. Could be my connection or my computer, but it shouldn't be that slow...
is this just me?
|
|
|
|
 |
|
 |
Yes, it's slow. Because it's configed 1.5 second for get data from server.
The next time, i'll continue write AMC.
|
|
|
|
 |
|
 |
I see...
setInterval("DisplayDataFromServer()",2500);
is the function call on the Chat.aspx page and what updates the display of the text... unless I have it wrong.
I cannot find the setInterval function though. Is this a default function or something?
Also, when there is only one person in the chat, there is no chat pane.
|
|
|
|
 |
|
 |
Why are you using arrays ( i'm not a ASP.NET developer, however i do develop desktop applications with C# ), i mean: you say this is ASP.NET 2.0 so there are much better generic collection classes to use, right?
|
|
|
|
 |
|
 |
Because it's Demo, it's using ajax basic and run without class in App_Code. I think, it's beginer.
|
|
|
|
 |
|
|
 |