Hi Folks,
I am trying to design a HTML page for use with an autorun CD. I only want the page to be 500x300 in size and appear in the centre of the screen. However, when it launches it takes up the whole browser window.
I know how to make it launch in the centre of the screen - that's not the problem. I need to get it to launch at the specified size. I tried using JavaScript to resize it. This resized the window but with problems. Firstly, because I have XP service pack 2, it didn't run the scripts without me clicking on the information bar and telling it to allow the scripts - not acceptable. Also, it resized it but it still contained all the menus, toolbars, status bar and scrollbars - I don't want any of this.
I also tried to use the launch window to open another page using window.open. This works - but the launch page stays open in the background. I tried to close it when the second window is launched but window.close prompts the user to check if it's ok to close the window.
Can anyone suggest a solution??
Mighty
I am trying to design a HTML page for use with an autorun CD. I only want the page to be 500x300 in size and appear in the centre of the screen. However, when it launches it takes up the whole browser window.
I know how to make it launch in the centre of the screen - that's not the problem. I need to get it to launch at the specified size. I tried using JavaScript to resize it. This resized the window but with problems. Firstly, because I have XP service pack 2, it didn't run the scripts without me clicking on the information bar and telling it to allow the scripts - not acceptable. Also, it resized it but it still contained all the menus, toolbars, status bar and scrollbars - I don't want any of this.
I also tried to use the launch window to open another page using window.open. This works - but the launch page stays open in the background. I tried to close it when the second window is launched but window.close prompts the user to check if it's ok to close the window.
Can anyone suggest a solution??
Mighty