DBroncos1558
DBroncos1558

Reputation: 141

Qtip is not showing up

This is probably a really simple solution. But, I am new to jquery, and qtip. For the life of me I cannot get my qtip to show up. All that is shown is the default tooltip. Anyone know what could be the problem?

<html>
<head>
<link type="text/css" rel="stylesheet" href="/jquery.qtip.min.css"/>
   <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

<script type='text/javascript' src="/jquery.qtip.min.js"></script>

<script>
$('a[title]').qtip()
</script>

</head>
<body>
<a title="why wont this tooltip work" href ="#">Hello there punk
</body>
</html>

Here is a simple example that wont work, any suggestions?

Upvotes: 0

Views: 636

Answers (1)

Arun Killu
Arun Killu

Reputation: 14233

Reading the docs i think this is the way to do and this should be called only after document is ready

$(document).ready(function() 
{
    $('body a[href]').qtip();
});

Upvotes: 3

Related Questions