Glad I could help :)
Cheers,
Dave
On May 2, 6:35 pm, eid <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> it worked great with a little bit of modification.
>
> Thank you very, very much! And I even learned something new today
> then :)
>
> Thanks again
> eid
>
> Dave Probert wrote:
> > Hi eid,
>
> > I
Hi Dave,
it worked great with a little bit of modification.
Thank you very, very much! And I even learned something new today
then :)
Thanks again
eid
Dave Probert wrote:
> Hi eid,
>
> I've taken a look at what you are trying to do and I think there are
> two aspects that need to be 'corrected
Hi eid,
I've taken a look at what you are trying to do and I think there are
two aspects that need to be 'corrected'.
1.) In the JSON, there is no need for an array of items - remove the
[ & ] after 'items'. items is then an object with elements called
'lanceOfMitraDivinity', 'wrathOfMitraDivi
Okay I tried to do what you said.
This is my JSON file:
http://pastebin.com/m616d0550
and this is my js file:
$(document).ready(function() {
$.getJSON('featsCalculator/priestofmitra.js', function(data) {
$('.featButton').hover(function() {
if(data.
assuming your hover links also have a class name like "tip", and your
JSON is set like a proper variable named, say, "allTolltips", it
probably will look something like this:
$('.tip').hover(
function(){
if( allTooltips.items.id) == $(this).attr('id') )
{showToolTip();}
},
function
5 matches
Mail list logo