Hi all, I’m new to the forum so if I break a rule let me know..
I have a alert popup that I want to remove the MS Frame from I have tried a few things non of them work ..CAN it be done??
-Rebel
[i]Originally posted by rebel [/i] [B] what I'm really trying to do is remove the standard tool bar [/B][/QUOTE]
function customAlert(msg) { var NewWinHeight=200; var NewWinWidth=200; // Place the window var NewWinPutX=100; var NewWinPutY=100; TheNewWin =window.open("TheNewWin",'TheNewpop','fullscreen=yes,toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); TheNewWin.resizeTo(NewWinHeight,NewWinWidth); TheNewWin.moveTo(NewWinPutX,NewWinPutY); var content = "<html> <head> <title>Alert</title> </head> <body background-color='transparent' onblur='window.focus()' style='overflow:hidden'> <center> <form> <table bgcolor='339999' border='0' cellpadding='0' cellspacing='0' class='solid_black' align='center'> <tr> <td> <table width='"+(NewWinWidth-20)+"' height='"+(NewWinHeight-20)+"' border='0' class='solid_black'> <tr> <td height='5' width='200' valign='top' align='right' bgcolor='#339999' style='filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#003333, EndColorStr=#99cccc);'> <img src='images/alert.gif' /> <img src='images/spacer.gif' height='5' width='5'/> <img src='images/alerttitle.jpg' /> <img src='images/spacer.gif' height='5' width='5'/> <input type='image' src='images/close_a.gif' alt='Close' onclick='window.close()'/> <img src='images/spacer.gif' height='5' width='5'/> </td> </tr> <tr> <td height='"+(NewWinHeight-80)+"' valign='middle' align='center' bgcolor='white'> "+msg+" </td> </tr> </table> </td> </tr> </table> </center> </form> </body> </html>"; TheNewWin.document.write(content); TheNewWin.document.close(); }</script>
Help @rebel spread the word by sharing this article on Twitter...