I wanted to open a new window ,with window.open, and while the new window is getting loaded with data, i need to display a gif file with message.
for that i made an html file dsPrint.html
and my code is like this
<html>
<body>
<center>
<img src=”images/loading.gif”>
<div style=”color: #0099FF; font-weight: bold;”>Sending……..</div>
</center>
</body>
</html>
code for window open is as follows:
<a href=”email.php” target=”emailpop” onclick=”newwin=window.open(‘
height=200,maximize=yes,minimize=yes’);”><img align=”middle” src=”images/icons/emailIt.jpg” border=”0″ >Email it</a>
what i actually want is the new window should display the content of dsPrint.html while waiting for the email to sent
please help me
thanks in advance…
XXX