View next topic
View previous topic
Post new topic   Reply to topic
Author Message
slacker




Joined: Oct 04, 2008
Posts: 17

PostPosted: Tue Dec 02, 2008 4:06 am
Reply with quote

One problem is that one always have to put the focus on the message box. Is it possible to change, so the focus is always on the message box?
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 756

PostPosted: Tue Dec 02, 2008 4:47 pm
Reply with quote

Try this out, it might not work perfectly, but see what happens.

Open up modules/Live_Chat/chat.js

find:

Code:

    if (currentTextItalic == 1) { params += "&i=1"; }
    if (currentTextUnderline == 1) { params += "&u=1"; }
    cache.push(params);
    oCurrentMessage.value = "";
  }
}


change to
Code:

    if (currentTextItalic == 1) { params += "&i=1"; }
    if (currentTextUnderline == 1) { params += "&u=1"; }
    cache.push(params);
    oCurrentMessage.value = "";
  }
  document.getElementById('messageBox').focus();
}
 
View user's profile Send private message Visit poster's website
slacker




Joined: Oct 04, 2008
Posts: 17

PostPosted: Wed Dec 03, 2008 12:58 am
Reply with quote

Many thanks. I have installed it and it works very well both with Explorer 7 and Firefox 3.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours