Is it possible to show the match information within this tennis-version of the tournament-brackets?
in the html:
<div><span id="#matchCallback">Show the matchinformation here.</span></div>
using:
function onclick(data) { $('#matchCallback').text("onclick(data: '" + data + "')") } function onhover(data, hover) { $('#matchCallback').text("onhover(data: '" + data + "', hover: " + hover + ")") }
in the script.
And for the results on this position for instance:
var finalBracket = { teams: [ ["player 1", "player 2"], ["player 3", "player 4"] ], results: [ [ [[,,], [,,],'match info 1'], [[,,], [,,],'match info 2'] ] [ [[,,], [,,], 'match info 3'] ] ] }
Is it possible to show the match information within this tennis-version of the tournament-brackets? in the html:
<div><span id="#matchCallback">Show the matchinformation here.</span></div>
using:
function onclick(data) { $('#matchCallback').text("onclick(data: '" + data + "')") } function onhover(data, hover) { $('#matchCallback').text("onhover(data: '" + data + "', hover: " + hover + ")") }
in the script.And for the results on this position for instance:
var finalBracket = { teams: [ ["player 1", "player 2"], ["player 3", "player 4"] ], results: [ [ [[,,], [,,],'match info 1'], [[,,], [,,],'match info 2'] ] [ [[,,], [,,], 'match info 3'] ] ] }