i am still working on the new designing to phpfreechat.
It is going well except one problem I got.
I want the rows have different colors so it looks like:
row1: white
row2: gray
row3: white
row4: gray
and so on...
in file: pfcclient.js,
in function "handleComingRequest: function( cmds )", row 738.
I added the following code in the for-loop:
- Code: Select all
if (mid % 2 == 0)
line += '<div class=pfc_message1>'
else
line += '<div class=pfc_message2>'
it seems to work well when I start the chat but when someone writes a message every row becomes white, like in the picture below:
so the question is how can make the rows become white, gray when writing a message?
http://www.gettot.com/rows.png
/thanks for helping, zilveer