469,315 Members | 1,598 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

when one html file open and automatcaly open new window and close mainpage automatica

2
hi ricp thnx for reply to my posted problem ,

i hve another problem,

i hve created 2 html files ,load.html and adminhome.html ,

when i open in browser load.html , automatically open adminhome.html and close to load.html , i want this like.

but i can use this script

<script language="javascript">
function loadingWindow()
{
window.open('adminhome.html','navwindow','QuotePuz zler','width=786,height=600,left='+((screen.width-786)/2)+',top='+((screen.height - 600)/2)+',toolbar=no,menubar=no,scrollbars=no,fullscree n=yes, status=no,resizable=no,titlebar=no');
opener=self;
window.close();
}

</script>

in ie woking this but mozila firefox ,netsacpe,opera is not working this script,

pls slove problem frnds
May 5 '07 #1
1 995
acoder
16,027 Expert Mod 8TB
This is a bad user interface/experience. Are you sure you want to do this? What are you trying to do?
May 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.