• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

Full screen.

What can I do if I want my homepage to be looked on full screen?

One day when I surfed the Net I found an unusal site.

As you know, in IE you can press F11 to spread browser to full size.

but I was not able to see the buttons like back, forward, print button. that is it provided a completely full screen.

Unfortunately, I can't remember that URL.

I want to know the HTML tags.
Maybe it was not HTML, but ASP.

Thank you so much.
0
iamjhkang
Asked:
iamjhkang
  • 3
1 Solution
 
oubelkasCommented:
Have you tried this :

window.open(url,'windowName','fullscreen=yes');

This is javascript and here's an example which shows how it works :

<html>
<head>
<title>fullscreen window open</title>
<script language="JavaScript">
<!--
function openWindow(url) {
    window.open(url,'windowName','fullscreen=yes');
}
//-->
</script>

<body>
<input type="button" value="open window fullscreen" onClick="openWindow('default.htm')">
</body>
</html>

J.
0
 
oubelkasCommented:
If you want your homepage directly fullscreen use the onLoad event handler in the body tag of first (dummy) html page (ie. like the example above).

<body onLoad="javascript:openWindow('main.htm')">

J.
0
 
aarieCommented:
The fullscreen attribute is IE only... In Netscape, you'll have to work around it, using the window.screen.height and window.screen.width properties...

However, making your page appear fullscreen is considered bad practise, so you might better not do it...


Arjan.
0
 
oubelkasCommented:
Yep, as aarie said, fullscreen isn't used much anymore and is considered better not to use. And most of all the user can decide for himself whether to view the page fullscreen yes or no....

J.
0
 
iamjhkangAuthor Commented:
Thank you so much.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now