daily pastebin goal
8%
SHARE
TWEET

tlksepcolor2

a guest Jul 24th, 2013 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:var idcolor = new Array();var clrList = new Array("#ff0000", "#0000ff", "#009933", "#fef91a", "#800000", "#800080", "#ff6699", "#ff9933","#ffcc99", "#666666", "#c0c0c0", "#ff0066", "#dc143c", "#000099", "#66ccff", "#d0e0e6", "#afeeee", "#32cd32","#98fd98", "#ffff99", "#800000", "#cc6633", "#daa520", "#eee8aa", "#deb887", "#cc00ff", "#d8bfd8", "#ffccff","#ffe4e1", "#ffa07a");function clrSet(){    for (var i = 0; i < $("#online-participants .participant-list-item").length; i++)    {        if (!idcolor[$("#online-participants .participant-list-item")[i].id]) {            idcolor[$("#online-participants .participant-list-item")[i].id] = clrList[i];        }        $('.' + $("#online-participants .participant-list-item")[i].id).css('background-color', idcolor[$("#online-participants .participant-list-item")[i].id]);    }}clrSet();socket.on('message', function (message){    Talkio.Variables.socket_notifications.process($.parseJSON(message));    clrSet();});
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top