Hi, I have that JavaScript code:
var state = 'hidden';
function Show_Picture()
{
if (state == 'visible')
state = 'hidden';
else
state = 'visible';
document.getElementById('loader').style.visibility = state;
}
'loader' is the
<img alt="" id="loader" src="file:///D:/ajax-loader.gif"/>
Why that code doesn't work on FF ? Ont the IE it works OK.
Here's the code: http://pastebin.com/m38aa1847