18th July, 19:51
Hi Craig,
awesome work. I'd really love to use qtips on my website, too. I am running on wordpress and somehow cannot figure out how to get it running. Maybe you can help, or someone else managed to install qtips in Wordpress and can help.
1. Is it possible to insert the script into a single page in wordpress, like this:
2. Right now I cannot still figure out whether the problem is that jQuery is not loading, or my qtip code is simply wrong or maybe it is wordpress specific. Does anyone have more experience with wordpress integration and can help with calling jquery?
awesome work. I'd really love to use qtips on my website, too. I am running on wordpress and somehow cannot figure out how to get it running. Maybe you can help, or someone else managed to install qtips in Wordpress and can help.
1. Is it possible to insert the script into a single page in wordpress, like this:
JS Code
<div id="apple" class="test"><a href="#" title="The Big Apple">New York</a></div>
<script class="test" type="text/javascript">
// Create the tooltips only on document load
$(document).ready(function()
{
// By suppling no content attribute, the library uses each elements title attribute by default
$('#apple a[href][title]').qtip({
content: {
text: false // Use each elements title attribute
},
style: 'cream' // Give it some style
});
// NOTE: You can even omit all options and simply replace the regular title tooltips like so:
// $('#content a[href]').qtip();
});
</script>
2. Right now I cannot still figure out whether the problem is that jQuery is not loading, or my qtip code is simply wrong or maybe it is wordpress specific. Does anyone have more experience with wordpress integration and can help with calling jquery?
is there a way to check that with chrome, too?