/www/Cestina_UTF8.html |
---|
3,7 → 3,7 |
<html> |
<head> |
<meta http-equiv=Content-Type content="text/html; charset=UTF8"> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
<title> Test zobrazení češtiny </title> |
<link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl"> |
<script language="JavaScript" type="text/javascript" src="menu.js"></script> |
/www/TEST.cz.html |
---|
0,0 → 1,71 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd"> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> |
<title> Test jzykù </title> |
<link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" /> |
<!--[if gte ie 5.5000]> |
<link rel="stylesheet" type="text/css" href="ie.css" /> |
<![endif]--> |
<meta name="keywords" content="stavebnice MLAB univerzální moduly" /> |
<meta name="description" content="Projekt MLAB, Hlavní stránka" /> |
<link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" /> |
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> --> |
<!-- <meta name="robots" content="follow" /> --> |
<!-- <meta name="revisit-after" content="30 days" /> --> |
<script language="JavaScript" type="text/javascript" src="menu.js"></script> |
</head> |
<body lang="cs"> |
<!-- ============== HLAVICKA ============== --> |
<div class="Heater"> |
<script type="text/javascript"> |
<!-- |
DrawHeader(); // mozno zmenit nadpis v hlavicce |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b> |
</noscript> |
</div> |
<!-- ============== MENU ============== --> |
<div class="Menu"> |
<script type="text/javascript"> |
<!-- |
DrawMenu(); |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) menu je potøeba JavaScript </b> |
</noscript> |
</div> |
<!-- ============== TEXT STRANKY ============== --> |
<div class="Text"> |
<p class="Title"> |
Test jazykù |
</p> |
</div> |
<!-- ============== PATICKA ============== --> |
<div class="Footer"> |
<script type="text/javascript"> |
<!-- |
DrawFooter("Testovací øetìzec"); |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b> |
</noscript> |
</div> |
</body> |
</html> |
/www/TEST.en.html |
---|
0,0 → 1,71 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd"> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> |
<title> Language Test </title> |
<link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" /> |
<!--[if gte ie 5.5000]> |
<link rel="stylesheet" type="text/css" href="ie.css" /> |
<![endif]--> |
<meta name="keywords" content="stavebnice MLAB univerzální moduly" /> |
<meta name="description" content="Projekt MLAB, Hlavní stránka" /> |
<link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" /> |
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> --> |
<!-- <meta name="robots" content="follow" /> --> |
<!-- <meta name="revisit-after" content="30 days" /> --> |
<script language="JavaScript" type="text/javascript" src="menu.js"></script> |
</head> |
<body lang="en"> |
<!-- ============== HLAVICKA ============== --> |
<div class="Heater"> |
<script type="text/javascript"> |
<!-- |
DrawHeader(); // mozno zmenit nadpis v hlavicce |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b> |
</noscript> |
</div> |
<!-- ============== MENU ============== --> |
<div class="Menu"> |
<script type="text/javascript"> |
<!-- |
DrawMenu(); |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) menu je potøeba JavaScript </b> |
</noscript> |
</div> |
<!-- ============== TEXT STRANKY ============== --> |
<div class="Text"> |
<p class="Title"> |
Language Test Page |
</p> |
</div> |
<!-- ============== PATICKA ============== --> |
<div class="Footer"> |
<script type="text/javascript"> |
<!-- |
DrawFooter("Testovací øetìzec"); |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b> |
</noscript> |
</div> |
</body> |
</html> |
/www/index.en.html |
---|
0,0 → 1,100 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd"> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> |
<title> MLAB Main Page </title> |
<link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" /> |
<!--[if gte ie 5.5000]> |
<link rel="stylesheet" type="text/css" href="ie.css" /> |
<![endif]--> |
<meta name="keywords" content="MLAB Universal Electronic Modules" /> |
<meta name="description" content="MLAB Project, Main Page" /> |
<link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" /> |
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> --> |
<!-- <meta name="robots" content="follow" /> --> |
<!-- <meta name="revisit-after" content="30 days" /> --> |
<script language="JavaScript" type="text/javascript" src="menu.js"></script> |
</head> |
<body lang="en"> |
<!-- ============== HLAVICKA ============== --> |
<div class="Heater"> |
<script type="text/javascript"> |
<!-- |
DrawHeader(); // mozno zmenit nadpis v hlavicce |
// --> |
</script> |
<noscript> |
<b> JavaScript is required for including of the header </b> |
</noscript> |
</div> |
<!-- ============== MENU ============== --> |
<div class="Menu"> |
<script type="text/javascript"> |
<!-- |
DrawMenu(); |
// --> |
</script> |
<noscript> |
<b> JavaScript is required for including of the menu </b> |
</noscript> |
</div> |
<!-- ============== TEXT STRANKY ============== --> |
<div class="Text"> |
<p class="Title"> |
Welcome at MLAB site |
</p> |
<p class=Subtitle> |
This is noncommercial web about electronics with original designs. |
We are especially interested in microcontrollers and small robots. |
The web is not finished yet, in fact we are working on it these days. |
</p> |
<p> |
Select your prefered language (not working yet) |
<a href="index.html"> |
<img border=0 width=22 height=13 src="CZE.gif" alt="Èeská vlajka"> |
</a> |
<a href="index.en.html"> |
<img border=0 width=22 height=13 src="GBR.gif" alt="Britská vlajka"> |
</a> |
</p> |
<p> |
On this web there are published |
<a href="AboutMLAB.en.html">MLAB</a> |
modules, their documentation and other original papers about electronics |
and designs written by our |
<a href="AboutAuthors.en.html">authors</a>. |
We want to brink <i>new valuable information</i>. We are the authors not |
the web links collectors. More information about our goals and about this web |
is on the page |
<a href="AboutWeb.en.html">about MLAB web</a>. |
</p> |
<h1> Fast links just for test </h1> |
<p> <a href="PICPGR301A.en.html">PICPGR301A </a> </p> |
<p> <a href="Cestina_UTF8.html" >Test èetiny UTF8 </a> </p> |
<p> <a href="Cestina_CP1250.html">Test èetiny CP1250 </a> </p> |
</div> |
<!-- ============== PATICKA ============== --> |
<div class="Footer"> |
<script type="text/javascript"> |
<!-- |
DrawFooter("Test String"); |
// --> |
</script> |
<noscript> |
<b> JavaScript is required for including of the footer </b> |
</noscript> |
</div> |
</body> |
</html> |
/www/index.html |
---|
43,7 → 43,7 |
// --> |
</script> |
<noscript> |
<b> Pro zobrazení (vloení) hlavièky je potøeba JavaScript </b> |
<b> Pro zobrazení (vloení) menu je potøeba JavaScript </b> |
</noscript> |
</div> |
59,8 → 59,8 |
</p> |
<p> |
Vlajeèky pro výbìr jazyka (tady je jen náhled, pøijdou do menu) |
<img border=0 width=22 height=13 src="CZE.gif" alt="Èeská vlajka"> |
<img border=0 width=22 height=13 src="GBR.gif" alt="Britská vlajka"> |
<a href="index.html"><img border=0 width=22 height=13 src="CZE.gif" alt="Èeská vlajka"></a> |
<a href="index.en.html"><img border=0 width=22 height=13 src="GBR.gif" alt="Britská vlajka"></a> |
</p> |
<p> |
Tento WEB slouí ke zveøejòování designù pro stavebnici |
77,6 → 77,7 |
<p> <a href="Cestina_CP1250.html">Test èetiny CP1250 </a> </p> |
<p> <em>Odkazy tøídìné do skupin </em> </p> |
<p> <em>Odkazy tøídìné abecednì </em> </p> |
<p> <a href="TEST.html"> Test pøepínání jazyka </a> </p> |
</div> |
<!-- ============== PATICKA ============== --> |
/www/menu.js |
---|
1,6 → 1,44 |
// History: |
// Doplnìna detekce jazyka domuentu (ve znaèce body) |
//var undefined; // Pro zpetnou kompatibilitu kdyby JS nepodporoval undefined |
function Test() |
// Testovací funkce pro ladìní |
{ |
with (document) |
{ |
var Info; |
// Test |
// Uiteèné: document.URL (cesta a jméno souboru stránky) |
write('<p class="MenuText Small">'); |
write('document language '+DocLang()); |
write('</p>'); |
write('<p class="MenuText Small">'); |
write('document language '+navigator.appVersion); |
write('</p>'); |
write('<p class="MenuText Small">'); |
write('document language '+document.body.lang); |
write('</p>'); |
write('<p class="MenuText Small">'); |
write('navigator language '+navigator.language); // FF ano, IE6 ne |
write('</p>'); |
} |
} |
function DocLang() |
// Vrací zkratku jazyka stránky ( cz en ) |
// Není-li v dokumentu uvedená vrací en |
{ |
var s; |
s=document.body.lang.toLowerCase(); |
if(s=="cs") return "cz"; // To by mì zajímalo proè je v HTML cs |
if(s=="cz") return "cz"; // a vude jinde cz |
return "en"; |
} |
function DrawHeader(MoreInfo) |
// Nepovinny parametr udava nadpis stranky |
// Neni-li uveden bere se text ze znacky title dokumentu |
7,18 → 45,20 |
{ |
with (document) |
{ |
if(0) |
write('<b>Hlavièka z JavScriptu: ', MoreInfo, '</b>' ); |
else |
{ |
// Default informace pokud je parametr nezadany |
if(MoreInfo==undefined) MoreInfo=document.title; |
// Vlozeni HTML kodu |
write('<div class="InnerHeader"> '); |
// Default informace pokud je parametr nezadany |
if(MoreInfo==undefined) MoreInfo=document.title; |
// Vlozeni HTML kodu |
write('<div class="InnerHeader"> '); |
if (DocLang()=="cz") |
{ // èeský text |
write('<a href="index.html" title="Domù"><span class="HeaderLogo">MLAB</span><img border=0 width=120 height=57 src="MLAB_online.gif" alt="MLAB Logo"></a>'); |
write('<span class="HeaderText">'+MoreInfo+'</span>'); |
write('</div> '); |
} |
else |
{ // English text |
write('<a href="index.html" title="Home"><span class="HeaderLogo">MLAB</span><img border=0 width=120 height=57 src="MLAB_online.gif" alt="MLAB Logo"></a>'); |
} |
write('<span class="HeaderText">'+MoreInfo+'</span>'); |
write('</div> '); |
} |
} |
29,29 → 69,32 |
{ |
with(document) |
{ |
if (0) |
{ |
write('<b>Menu z JavaScriptu: ', MoreInfo, '</b>'); |
} |
else |
{ |
// Default text |
if(MoreInfo==undefined) MoreInfo="Menu"; |
// Vlastni menu |
write('<div class="InnerMenu">'); |
write(' <div class="Navigation">'); |
write(' <div class="MenuText">'); |
write( MoreInfo); |
write(' </div>'); |
write(' <ul>'); |
// Default text |
if(MoreInfo==undefined) MoreInfo="Menu"; |
// Vlastni menu |
write('<div class="InnerMenu">'); |
write(' <div class="Navigation">'); |
write(' <div class="MenuText">'); |
write( MoreInfo); |
write(' </div>'); |
write(' <ul>'); |
if (DocLang()=="cz") |
{ // èeský text |
write(' <li> <a href="index.html" title="Domù">MLAB Home</a> </li>'); |
write(' <li> <a href="AboutAuthors.html" title="O autorech">Autoøi</a> </li>'); |
write(' <li> <a href="AboutWeb.html" title="O webu">O WEBu</a> </li>'); |
write(' <li> <a href="ToDoList.html" title="Co jìtì zbývá udìlat">To do list</a> </li>'); |
write(' </ul>'); |
write(' </div>'); |
write('</div> '); |
} |
else |
{ // English text |
write(' <li> <a href="index.html" title="Home">MLAB Home</a> </li>'); |
write(' <li> <a href="AboutAuthors.html" title="About Authors">Authors</a> </li>'); |
write(' <li> <a href="AboutWeb.html" title="About this WEB">About WEB</a> </li>'); |
write(' <li> <a href="ToDoList.html" title="What to do">To do list</a> </li>'); |
} |
write(' </ul>'); |
write(' </div>'); |
write('</div> '); |
} |
} |
61,23 → 104,25 |
{ |
with (document) |
{ |
if (0) |
{ |
write('<b>Patièka z JavaScriptu: ', MoreInfo, '</b>'); |
} |
else |
{ |
// Default text je prazdny |
if(MoreInfo==undefined) MoreInfo=""; |
// Vlozeni HTML kodu |
write('<div class="InnerFooter">'); |
write(' '); // ústupek IE6 (chyba výpoètu íøky pøi nenulovém paddingu ) |
// Default text je prazdny |
if(MoreInfo==undefined) MoreInfo=""; |
// Vlozeni HTML kodu |
write('<div class="InnerFooter">'); |
write(' '); // ústupek IE6 (chyba výpoètu íøky pøi nenulovém paddingu ) |
if (DocLang()=="cz") |
{ // èeský text |
write('<a href=#>Nahoru</a> ') |
write('<a href="Copyright.html">Copyright</a> © '); |
write('<a href="AboutAuthors.html">Autoøi MLAB</a> '); |
write('['+document.lastModified+'] '); |
write(MoreInfo); |
write('</div>'); |
} |
else |
{ // English text |
write('<a href=#>Up</a> ') |
write('<a href="Copyright.html">Copyright</a> © '); |
write('<a href="AboutAuthors.html">MLAB Authors</a> '); |
} |
write('['+document.lastModified+'] '); |
write(MoreInfo); |
write('</div>'); |
} |
} |
/www/styl2.css |
---|
25,6 → 25,21 |
moná bez barev (èernobíle) |
Styl nadpisu tabulky |
Opravit chybné osazení spodního okraje (o velikost patièky), teï je vìtí |
h1,h2,h3,h4,h5,h6 { |
page-break-inside:avoid; |
page-break-after:avoid; |
page-break-before:auto |
} |
h1>h2,h2>h3,h3>h4,h4>h5,h5>h6 { |
page-break-before:avoid |
} |
img { |
page-break-inside:avoid |
} |
*/ |
137,7 → 152,12 |
color: red; |
} |
/* Zatím jen na pokusy a pomocné výpisy */ |
.Small { |
font-size: 75%; /* zmenené písmo */ |
} |
/*============================================================================*/ |
/* Nastavení pro hlavièku, patièku a menu */ |
/*============================================================================*/ |
241,6 → 261,7 |
margin: 3px; /* malé mezery okolo */ |
} |
/* Zobrazení seznamu odkazù v menu */ |
/* ------------------------------- */ |
div.InnerMenu ul { /* navigace jako seznam odkazù */ |