Vitajte


simulacie rozlišenia obrazovky

Simulácia rozlíšenia obrazovky

Náhľad:

Vložte WWW adresu:
Html kód:
<SCRIPT language="JavaScript">
<!--
function a() {
if (document.formular.uri.value == "" || document.formular.uri.value == "http://"){alert("Nebyla vložena žádná internetová adresa...");document.formular.uri.focus();document.formular.uri.select();return;}
window.open(document.formular.uri.value,'640x480','toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes,width=640,height=480')}

function b() {
if (document.formular.uri.value == "" || document.formular.uri.value == "http://"){alert("Nebyla vložena žádná internetová adresa...");document.formular.uri.focus();document.formular.uri.select();return;}
window.open(document.formular.uri.value,'800x600','toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes,width=800,height=600')}

function c() {
if (document.formular.uri.value == "" || document.formular.uri.value == "http://"){alert("Nebyla vložena žádná internetová adresa...");document.formular.uri.focus();document.formular.uri.select();return;}
window.open(document.formular.uri.value,'1024x768','toolbar=yes, status=yes, scrollbars=yes, location=yes,menubar=yes, directories=yes, width=1024,height=768')}

function d() {
if (document.formular.uri.value == "" || document.formular.uri.value == "http://"){alert("Nebyla vložena žádná internetová adresa...");document.formular.uri.focus();document.formular.uri.select();return;}
window.open(document.formular.uri.value,'1152x864','toolbar=yes, status=yes, scrollbars=yes, location=yes, menubar=yes, directories=yes, width=1152,height=864')}

function e() {
if (document.formular.uri.value == "" || document.formular.uri.value == "http://"){alert("Nebyla vložena žádná internetová adresa...");document.formular.uri.focus();document.formular.uri.select();return;}
window.open(document.formular.uri.value,'1280x1024','toolbar=yes, status=yes, scrollbars=yes, location=yes, menubar=yes, directories=yes, width=1280, height=1024')}
// -->
</SCRIPT>

<form name="formular">
<div align="center">
  <center>
  <table cellspacing="0" cellpadding="1" border="0" bgcolor="#000000">
    <tr>
      <td>
        <table cellspacing="0" cellpadding="2" border="0" width="100%" bgcolor="white">
          <tr>
            <td colspan="5"><font face="Verdana, Arial" size="2"><b>Vložte WWW adresu:</b></font></td>
          </tr>
          <tr>
            <td colspan="5"><input name="uri" type="text" value="http://" size="40" style="width: 400"></td>
          </tr>
          <tr>
            <td width="25%"><span class="texttabulka"><input type="BUTTON" value="640x480" onclick="a()" name="BUTTON"></span></td>
            <td width="25%"><span class="texttabulka"><input type="BUTTON" value="800x600" onclick="b()" name="BUTTON"></span></td>
            <td width="25%"><span class="texttabulka"><input type="BUTTON" value="1024x768" onclick="c()" name="BUTTON"></span></td>
            <td width="25%"><span class="texttabulka"><input type="BUTTON" value="1152x864" onclick="d()" name="BUTTON"></span></td>
            <td width="25%"><span class="texttabulka"><input type="BUTTON" value="1280x1024" onclick="e()" name="BUTTON"></span></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </center>
</div>
</form>