user1250526
user1250526

Reputation: 309

Getting tooltip to show up jquery tipTip

Hi guys I have been trying to insert a tooltip but I dont know what I am doing wrong..

I am including all the necessary files

 <script src="jquery-1.7.2.js"></script>
 <script src="jquery.tipTip.js"></script>
 <script src="jquery.tipTip.minified.js"></script>

and using this script in the page too

<script language="javascript">
$(function(){
$(".someClass").tipTip();
});
</script>

and this is how I implement it into html

 <a href="" class="someClass" title="This will show up in the TipTip popup.">Curabitur dolor eros</a>

what am I doing wrong?

here is the jsfiddle I think

http://jsfiddle.net/jFqFG/

Upvotes: 1

Views: 802

Answers (2)

CyprUS
CyprUS

Reputation: 4239

There apparently seems to be some kind of a bug when including both jQuery and tiptip files. There is a link here which discusses the same and provides a patch to overcome the same. I have not tested it . Those who can , please do and provide the results.

Upvotes: 0

vee
vee

Reputation: 1246

I believe the issue was related to including jQuery twice; once before the plugin was referenced, then once thereafter, thereby nuking the plugin when jQuery was re-initialized.

Removing the second reference to jQuery evidently resolved the issue, as discovered in the comments attached to the question.

Upvotes: 2

Related Questions