|
function showTip(id, inputId) {
var panel = document.getElementById(id);
var inputField = document.getElementById(inputId);
// show/hide tool tip layer
if (panel.style.display != 'block') {
panel.style.display = 'block';
}
else {
panel.style.display = 'none';
}
//positioning
panel.style.position = 'absolute';
var width = inputField.style.width.toString();
var w = findPosX(inputField) + parseInt(width.substring(0, width.length - 2));
var h = findPosY(inputField);
panel.style.left = w + 3 + 'px';
panel.style.top = h + 'px';
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Lead of TargetProcess Project (www.targetprocess.com).
TargetProcess is an integrated Project Management and Bug Tracking software