/www/TEST.en.html
File deleted
/www/TEST.cz.html
File deleted
/www/index.en.html
File deleted
/www/styl2.css
25,21 → 25,6
možná 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
}
 
*/
 
 
152,12 → 137,7
color: red;
}
 
/* Zatím jen na pokusy a pomocné výpisy */
.Small {
font-size: 75%; /* zmenšené písmo */
}
 
 
/*============================================================================*/
/* Nastavení pro hlavièku, patièku a menu */
/*============================================================================*/
261,7 → 241,6
margin: 3px; /* malé mezery okolo */
}
 
 
/* Zobrazení seznamu odkazù v menu */
/* ------------------------------- */
div.InnerMenu ul { /* navigace jako seznam odkazù */
/www/menu.js
1,44 → 1,6
// 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
// Užiteè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 všude jinde cz
return "en";
}
 
 
function DrawHeader(MoreInfo)
// Nepovinny parametr udava nadpis stranky
// Neni-li uveden bere se text ze znacky title dokumentu
45,20 → 7,18
{
with (document)
{
// Default informace pokud je parametr nezadany
if(MoreInfo==undefined) MoreInfo=document.title;
// Vlozeni HTML kodu
write('<div class="InnerHeader"> ');
if (DocLang()=="cz")
{ // èeský text
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"> ');
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> ');
}
}
 
69,32 → 29,29
{
with(document)
{
// 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
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>');
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> ');
}
}
 
104,25 → 61,23
{
with (document)
{
// Default text je prazdny
if(MoreInfo==undefined) MoreInfo="";
// Vlozeni HTML kodu
write('<div class="InnerFooter">');
write('&nbsp;'); // ústupek IE6 (chyba výpoètu šíøky pøi nenulovém paddingu )
if (DocLang()=="cz")
{ // èeský text
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('&nbsp;'); // ústupek IE6 (chyba výpoètu šíøky pøi nenulovém paddingu )
write('<a href=#>Nahoru</a> &nbsp; ')
write('<a href="Copyright.html">Copyright</a> &copy; ');
write('<a href="AboutAuthors.html">Autoøi MLAB</a> &nbsp; ');
write('['+document.lastModified+'] &nbsp;&nbsp;&nbsp;');
write(MoreInfo);
write('</div>');
}
else
{ // English text
write('<a href=#>Up</a> &nbsp; ')
write('<a href="Copyright.html">Copyright</a> &copy; ');
write('<a href="AboutAuthors.html">MLAB Authors</a> &nbsp; ');
}
write('['+document.lastModified+'] &nbsp;&nbsp;&nbsp;');
write(MoreInfo);
write('</div>');
}
}
/www/index.html
43,7 → 43,7
// -->
</script>
<noscript>
<b> Pro zobrazení (vložení) menu je potøeba JavaScript </b>
<b> Pro zobrazení (vložení) hlavièky 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)
<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>
<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">
</p>
<p>
Tento WEB slouží ke zveøejòování designù pro stavebnici
77,7 → 77,6
<p> <a href="Cestina_CP1250.html">Test èeštiny 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/Cestina_UTF8.html
3,7 → 3,7
<html>
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv=Content-Type content="text/html; charset=UTF8">
<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>