Forums

This topic is locked

Close DMX Advanced Tooltip & Refresh Parent Page

Posted 12 Jul 2011 13:59:41
1
has voted
12 Jul 2011 13:59:41 Michael Bullard posted:
Does anybody know what code to add into the Hide Tooltip function so that the parent page is automatically refreshed? My page is dynamic, so a method that allows for this is required. The code for the Hide Tooltip function is show below. Thanks for all help, Michael.
<script type="text/javascript">
<!--
function hideDmxTooltip(d, s) {
var delay = d || 1;
var scope = s || window;
var t = scope.tooltip;
if(!t) return;
window.setTimeout(function(){
try {
if (t.animated) {
window.setTimeout(function() {
hideDmxTooltip(delay, scope);
}, 100);
return;
}
t.style.visibility = 'hidden';
t.target = null;
t.animated = false;
} catch(ex) {}
}, delay);
}
//-->
</script>

Reply to this topic