I am using Jquery 1.4.4 with Qtip and i am trying to load an image for each individual list item, so i am using Content: URL:.attr(rel), but it wont load the url of the REL
<script type="text/javascript">
// Create the tooltips only on document load
$(document).ready(function() {
$('ul.list-one li a[href]').each(function(){
$(this).qtip({
Content: { url: $(this).attr('rel') },
position: {
corner: {
target: 'topMiddle',
tooltip: 'bottomMiddle'
}
},
style: {
tip: 'bottomMiddle',
border: { width: 2, radius: 2, color: '#A9D041' },
background: '#fff',
padding:0,
width: 175,
height:100
}
});
});
});
</script>
<ul class="list-one">
<li class="header">Project Management</li>
<li><a href="#">BGC Bremerholm</a></li>
<li><a href="#">Medtronic</a></li>
<li><a href="#">Straumur - Burdaras Bank</a></li>
<li><a href="#">Straumur Reykjavik</a></li>
<li><a href="#">Straumur Stockholm</a></li>
<li><a rel="/test/test.html" href="#">T. Rowe Price</a></li>
</ul>
Content should be a lowercase c