Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. 1. Add an emoticon to client/assets/img/emoticons-lg.png
  2. 2. Create a new line for it in style.css with the proper offset
  3. #kiwi .emoticon-lg.classname { background-position:-##px 0; }
  4. 3. Add a case to kiwi.js for the pattern
  5. case ':emoteshorthand:':
  6. pushEmoticonLg(':emoteshorthand:', 'classname');
  7. break;
  8. 4. Finally, add it to the emoticon pop-up in index.html
  9. <i class="emoticon-lg classname emoteSelector" value=":emoteshorthand:"></i>
  10. 5. Tweak position in step 2 as needed/desired
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement