I am using the following to try and get multiple tooltips to display on my pages using the same tooltip container however it only ever displays at the top left of the page.
The JS
$(document).ready(function(){
$(".tooltip[title]").tooltip({
tip : "#demotip",
position : "top center"
});
});
The Tooltip
<div id="demotip"> </div>
The Triggering HTML
<span class="tooltip" title="This should display a tooltip above the copy">show a tooltip</span>
The CSS
#demotip {
display:none;
background:transparent url(http://flowplayer.org/tools/img/tooltip/white_arrow.png);
font-size:12px;
height:70px;
width:160px;
padding:25px;
color:#666;
_background-color:#fff;
}
Hopefully someone can point out where I am going wrong.
hubub
