Hello EveryOne...
i am using a javascript my problem is that this script is not showing a image .its showing a blue color blank div only.plz help me....
plzzzzzzz some one help me..
<script type="text/javascript">
window.onbeforeunload = function (e) {
var div = document.createElement('div');
img = new Image;
img.src = "http://demo.jobsonhotel.com/images/processing.gif";
var ele = document.getElementById("Domestic");
ele.style.display = "none";
div.innerHTML = "Loading...<br />";
div.style.cssText = 'position: fixed; top: 33%; left: 20%; z-index: 5000; width: 222px; text-align: center; background: #0101DF; border: 1px solid #000';
div.appendChild(img);
document.body.appendChild(div);
}
</script>
...
Go to the complete details ...