I'd like to be able to turn off the chat blinking every time someone logs on or off. I believe it could be done as part of the if statement in chat.js but, I'm having trouble figuring out how to query for the user id. I'm thinking something like:
could be changed to something like
but, I'm having no luck accessing or defining the user id variable in the js file. Can anyone offer some advice on how to do this?
Thanks!