yukimano
10-07-2011, 09:33 AM
How to I use the tipsy (http://onehackoranother.com/projects/jquery/tipsy/) to read from the title tag in the
<a href="#", title="Hello<br>World">Hello World</a>
From what I can do is to use the tipsy code:
$('#example-html').tipsy({html: true });
The final code which I wish to create may look something like the following:
for (var i=0; i<10; i++){
document.write("<a href='#', title='Hello<br>" + i + "' class='example-html'> Hello " + i + "</a>");
}
Appreciate any help offer
<a href="#", title="Hello<br>World">Hello World</a>
From what I can do is to use the tipsy code:
$('#example-html').tipsy({html: true });
The final code which I wish to create may look something like the following:
for (var i=0; i<10; i++){
document.write("<a href='#', title='Hello<br>" + i + "' class='example-html'> Hello " + i + "</a>");
}
Appreciate any help offer