Hi,
I am facing an issue with the onblur() event. The requirement is when i click a small icon in my html page a small rectangular overlay containing some text message should appear and it should disappear when I click any where else on the page.
I have implemented the situation using java script. To bring the overaly using java script, the display property of a div is made visible and to make the same overlay hidden i have used the onblur() event.
<div id="linker3" class="linker" onBlur="showBlu r('linker3')" > </div>
The id linker3 is the name of the popup layer as i use 5 similar pop ups.
class linker defines the properties of the pop up.
function showBlur(id){
var box=document.ge tElementById(id );
box.style.displ ay='none';
}
This is working fine for IE6 but not for mozilla. Could you please help
I am facing an issue with the onblur() event. The requirement is when i click a small icon in my html page a small rectangular overlay containing some text message should appear and it should disappear when I click any where else on the page.
I have implemented the situation using java script. To bring the overaly using java script, the display property of a div is made visible and to make the same overlay hidden i have used the onblur() event.
<div id="linker3" class="linker" onBlur="showBlu r('linker3')" > </div>
The id linker3 is the name of the popup layer as i use 5 similar pop ups.
class linker defines the properties of the pop up.
Code:
.linker{ background: url(Images/box.gif) no-repeat; width: 128px; height: 46px; margin: 30px 0 0 0; position: absolute; z-index: 80; display: none; }
var box=document.ge tElementById(id );
box.style.displ ay='none';
}
This is working fine for IE6 but not for mozilla. Could you please help
Comment