Help
Suggest features for the ArrowChat software
User avatar
AGarciaSanchez
Customer
 
Posts: 33
Joined: 08 Feb 2016, 10:50

 

by AGarciaSanchez 24 May 2016, 08:09

Only in chatrooms.


It would be very interesting to refer to a user in the chat room without having to write all your name .
User avatar
LKormoczi
Customer
 
Posts: 2
Joined: 28 Jun 2016, 12:28

 

by LKormoczi 04 Jul 2016, 05:42

I support this suggestion too. In my favourite (but discontinued) chat application it works this way:
writing beginning letter(s) and pressing TAB key complete it to the full nick.

AGarciaSanchez wrote:Only in chatrooms.


It would be very interesting to refer to a user in the chat room without having to write all your name .
User avatar
AGarciaSanchez
Customer
 
Posts: 33
Joined: 08 Feb 2016, 10:50

 

by AGarciaSanchez 06 May 2017, 11:37

Achieved with this js:


var ElementosClick = new Array();
document.onclick = captura_click;
function captura_click(e) {
var HaHechoClick;
if (e == null) {
HaHechoClick = event.srcElement;
} else {
HaHechoClick = e.target;
}
ElementosClick.push(HaHechoClick);
if (HaHechoClick.className == "arrowchat_chatroom_message_name"){
document.getElementsByClassName('arrowchat_chatroom_message_input')[0].value = HaHechoClick.innerHTML;
}
}