A simple tooltip
Adds a tag for inserting tooltips into messages to the reply form.
http://s8.uploads.ru/IOMUz.jpg

Author: kozhilya
Platform: MyBB
Analogues: Tooltips on forum and in posts (MyBB) [Romych, rps]

From the author:

I've made a small script which could be useful for people. I know, Romych has a similar one, but... Personally, I don't like that realization: too complicated if you need to enter a simple text. So...


To HTML-top (Admin → Options: 1st form):

Code:
    <script>FORUM.set('editor.title', {name:'Tooltip',onclick:function() { tag_title() }});</script>
    <style>td#button-title { background-image:url('http://www.iconsearch.ru/uploads/icons/crystalclear/16x16/edit_add.png'); }</style>

To HTML-bottom (Admin → Options: 2nd form):

Code:
    <script>$("div.post .post-content:contains('\[title')").each(function (){ $(this).html($(this).html().replace(/\[title=([^\]]*?)\]((?:.(?!\[\/title\]))*.)\[\/title\]/mg,'<acronym title="$1">$2</acronym>'))});
    function tag_title() { if (a = prompt('Enter the tooltip text', '')) { bbcode('[title='+a+']','[/title]')}}</script>
    <script src="http://forumfiles.ru/files/0010/74/32/89504.js">
    </script>

Styling:

Code:
    <style>
    acronym {
      border-bottom: 1px dotted;
      cursor: help;
    }
    div#qTip {
      padding: 3px;
      border: 1px solid #666;
      display: none;
      background: #999;
      color: #FFF;
      font: bold 9px Verdana, Arial, sans-serif;
      position: absolute;
      z-index: 1000;
    }
    </style>