Forum Moderators: open

Message Too Old, No Replies

Ajax Popup

         

Swapna

6:16 am on Aug 21, 2007 (gmt 0)

10+ Year Member




Hi

I am Swapna.I build one aspx file my aim is to popup that window
using javascript i populate the window using below function
but in my window i am getting top frame border http://localhost:1426//alert.aspx location of the file.
how to remove that freame border any one know pls help me

<script type="text/javascript">
function popUp(URL)
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'width=400,height=300,left = 462,top = 350');");
}
</script>

<a href="javascript:popUp('Alert.aspx')" style="background-color:Red; color:White">Alerts!</a>

[edited by: engine at 8:01 am (utc) on Aug. 21, 2007]
[edit reason] delinked [/edit]

vincevincevince

8:09 am on Aug 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think you can remove that top border - if you did then your user would be unable to close the popup window. You can try using a dialogue box method instead or just creating a DIV to act as a popup window above all your content.