how arrangement ballon tooltip rodent stops
[edit]
so i used javascript tooltips suggested below. i got tips arrangement stop bury move. wholly problem works i this:
document.onmousemove = (function() {
var onmousestop = function() {
tip('click hunt here');
document.getelementbyid('mydiv').onmousemove = function() {
untip();
};
}, thread;
relapse function() {
cleartimeout(thread);
thread = settimeout(onmousestop, 1500);
};
})();
but i wish duty wholly ask specific div i change initial line "document.getelementbyid('mydiv').onmousemove = (function() {" i javascript blunder document.getelementbyid('mydiv') zero am i missing....??
[/edit]
i wish arrangement balloon impression summary users rodent stops an component some-more contend 1.5 seconds. following pierce rodent i bury balloon. i am perplexing javascript formula i found posted out wild. here formula i am controlling detect rodent stopped:
document.onmousemove = (function() {
var onmousestop = function() {
//code arrangement ballon
};
}, thread;
relapse function() {
cleartimeout(thread);
thread = settimeout(onmousestop, 1500);
};
})();
so i have twin questions. one, does anyone have permitted lightweight javascript balloon arrangement during cursor location. two, detect rodent stopped formula works ok nonetheless i am stumped detect rodent started relocating again bury balloon. thanks...
Comments
Post a Comment