Author Topic: upgrade  (Read 12118 times)

0 Members and 0 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: upgrade
« Reply #75 on: August 16, 2012, 01:09:33 am »
Headers:
Code: [Select]
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>

Footers:
Code: [Select]
<script>
function Michel(url,id){$("#smileyBox_message").after("<img src='"+url+"' alt='symbol' id ='"+id+"' class='michel'><img>");$(".michel").each(function(){$(this).click(function(){var symbol=$(this).attr("id");$("textarea.editor").append(symbol+" ")})})}
Michel("URL","SYMBOL");
</script >
At the bottom where you see Michel("URL","SYMBOL");
Replace URL with the url of the image, I highly recommend you host somewhere public
Replace SYMBOL with the actual symbol sign
Copy and paste Michel("URL","SYMBOL"); for more symbols
« Last Edit: August 16, 2012, 01:12:49 am by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
954 Views
Last post April 19, 2013, 09:46:37 pm
by bigalan1978
0 Replies
5103 Views
Last post October 15, 2013, 10:03:19 pm
by CreateAForum
2 Replies
451 Views
Last post January 16, 2014, 11:57:42 pm
by Gibs
2 Replies
760 Views
Last post February 26, 2014, 01:07:38 am
by ctryluv
2 Replies
973 Views
Last post March 22, 2014, 06:14:41 pm
by terry