Hi vinod,
I tried your code but I didnt found it fully usefull. I think that all the pop-up window related theme is not so important. What we want to know is how to make a window blink in the task bar without using the "focus()" method.
Thanks for your help,
juliuscaesar
Quote:
quote:Originally posted by vinod_yadav1919
Hiii
sirsyme & juliuscaesar
try this approach!!
Hope below code help you :)
*********test.html************
<script>
function popupOpen(){
width=400
height=10
document.getElementById("mywin").style.display=''
document.getElementById("mywin").style.width=width
document.getElementById("mywin").style.height=heig ht
document.getElementById("mywin").style.left=230
document.getElementById("mywin").style.top=400
document.getElementById("myframe").src="vinod.html ";
setTimeout("moveit()",3000);
}
function moveit()
{
document.getElementById("mywin").style.left=screen .width-20
}
function popupClose(){
document.getElementById("mywin").style.display="no ne"
}
</script>
<input type=button onclick="popupOpen()" value="chk">
<div id="mywin" style="position:absolute;background-color:navy;cursor:hand;left:0;top:0;display:none">
<div align="right"><span style="color:white" onClick="popupClose()">X</span></div>
<iframe id="myframe" src="" width=100% height=50%></iframe>
</div>
and here is "vinod.html" page
************vinod.html*********
<script>
function gotopage()
{
alert("here is ur redirect page")
}
</script><body leftmargin=0 topmargin=0 bgcolor="navy">
<table width=100%><tr><td><input type=button value="NewMailAlert" style="{background-color:white}" onclick="gotopage()"></td></tr></table>
</body>
Cheers :)
vinod
|
[u]</u><s></s><div align="left"></div id="left"><div align="left"></div id="left"><center></center><center></center>