[Code Review] other solution extra element

Hi,

I’m fairly new to creating jQuery plugins. I’m familiar with jQuery but not with plugin writing.
The plugin is a rebirth of tispy tooltip. I wrote it all myself because I thought tipsy was lacking a few functions. I’ll give them credit if it’s done so don’t worry about that.

This is my code to make a tooltip show on click and remove on another click. Special about this type is the body, it’s like jgrowl that you can have multiple tooltips on the screen. How I do it now is giving a id: this with my options because of the $.data function I use, only 1 element can be added at once. It works but isn’t there a better way to allow more tooltips on the screen and let the browser remember which tooltip to close on which element that got clicked.

<script type="text/javascript">
$(function() {
	$('a').click(function() {
            if(!$(this).tipsyRB({method: 'isActive'})) $('body').tipsyRB({method: 'show', id: this});
            else $('body').tipsyRB({method: 'hide', id: this});

            return false;
        });
});
</script>

Here is the full code of the plugin, if you have any remarks please tell me.
[JavaScript] Tipsy Rebirth - Pastebin.com