online: 22; azi: 1885; total: 181307 Webdesign - Scripturi - 01

Auto Maximize


Urmatorul script are ca efect deschiderea paginii web in marime maxima, maximize.
Pentru a folosi acest script, adaugati urmatorul cod in sectiunea HEAD a documentului HTML.


<script type="text/javascript">
<!--
window.moveTo(0,0);
if (document.all) {
  top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers || document.getElementById) {
  if (top.window.outerHeight<screen.availHeight || top.window.outerWidth<screen.availWidth) {
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
  }
}
//-->
</script>