471,857 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,857 software developers and data experts.

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 1027
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.