you add a pop up when you hover over a button, for instance when you hover over you money it wll display 'your money' , and when you hover over the times of the days, it will display 'day', 'dawn' 'dusk', or, 'night'.
<div id="parent">
This is the main container.
<div id="popup" style="display: none">some text here</div>
</div>
var e = document.getElementById('parent');
e.onmouseover = function() {
document.getElementById('popup').style.display = 'block';
}
e.onmouseout = function() {
document.getElementById('popup').style.display = 'none';
}
or just using CSS you could get rid of the javascipt.
you add a pop up when you hover over a button, for instance when you hover over you money it wll display 'your money' , and when you hover over the times of the days, it will display 'day', 'dawn' 'dusk', or, 'night'.
or just using CSS you could get rid of the javascipt.
you could also use the 'title attribute.
I'm not sure if the info above will help as you don't seem to be using HTML, only using javascript a lot and linking it to the
<canvas>
tagRagerds, Taiwei