online: 3; azi: 485; total: 175959 Webdesign - Scripturi

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>