o: ActiveSupport::Cache::Entry :@compressedF: @value"NB"GB
www/TEST.en.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd">
2

  
3
<html>
4

  
5
  <head>
6
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
7
    <title> Language Test </title>
8
    <link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" />
9
    <!--[if gte ie 5.5000]>
10
      <link rel="stylesheet" type="text/css" href="ie.css" />
11
    <![endif]-->
12
    <meta name="keywords" content="stavebnice MLAB univerz?ln? moduly" />
13
    <meta name="description" content="Projekt MLAB, Hlavn? str?nka" />
14

  
15
    <link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" />
16
<!--    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> -->
17
<!--    <meta name="robots" content="follow" /> -->
18
<!--    <meta name="revisit-after" content="30 days" /> -->
19

  
20
    
21
    <script language="JavaScript" type="text/javascript" src="menu.js"></script>
22
  </head>
23

  
24
  <body lang="en">
25

  
26
    <!-- ============== HLAVICKA ============== -->
27
    <div class="Heater">
28
      <script type="text/javascript">
29
      <!--
30
        DrawHeader();   // mozno zmenit nadpis v hlavicce
31
      // -->
32
      </script>
33
      <noscript>
34
        <b> Pro zobrazen? (vlo?en?) hlavi?ky je pot?eba JavaScript </b>
35
      </noscript>
36
    </div>
37

  
38
    <!-- ============== MENU ============== -->
39
    <div class="Menu">
40
      <script type="text/javascript">
41
      <!--
42
        DrawMenu();
43
      // -->
44
      </script>
45
      <noscript>
46
        <b> Pro zobrazen? (vlo?en?) menu je pot?eba JavaScript </b>
47
      </noscript>
48
    </div>
49

  
50
    <!-- ============== TEXT STRANKY ============== -->
51
    <div class="Text">
52
      <p class="Title">
53
        Language Test Page
54
      </p>
55
    </div>
56

  
57
    <!-- ============== PATICKA ============== -->
58
    <div class="Footer">
59
      <script type="text/javascript">
60
      <!--
61
        DrawFooter("Testovac? ?et?zec");
62
      // -->
63
      </script>
64
      <noscript>
65
        <b> Pro zobrazen? (vlo?en?) hlavi?ky je pot?eba JavaScript </b>
66
      </noscript>
67
    </div>
68

  
69
  </body>
70

  
71
</html>
www/TEST.cz.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd">
2

  
3
<html>
4

  
5
  <head>
6
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
7
    <title> Test jzyk? </title>
8
    <link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" />
9
    <!--[if gte ie 5.5000]>
10
      <link rel="stylesheet" type="text/css" href="ie.css" />
11
    <![endif]-->
12
    <meta name="keywords" content="stavebnice MLAB univerz?ln? moduly" />
13
    <meta name="description" content="Projekt MLAB, Hlavn? str?nka" />
14

  
15
    <link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" />
16
<!--    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> -->
17
<!--    <meta name="robots" content="follow" /> -->
18
<!--    <meta name="revisit-after" content="30 days" /> -->
19

  
20
    
21
    <script language="JavaScript" type="text/javascript" src="menu.js"></script>
22
  </head>
23

  
24
  <body lang="cs">
25

  
26
    <!-- ============== HLAVICKA ============== -->
27
    <div class="Heater">
28
      <script type="text/javascript">
29
      <!--
30
        DrawHeader();   // mozno zmenit nadpis v hlavicce
31
      // -->
32
      </script>
33
      <noscript>
34
        <b> Pro zobrazen? (vlo?en?) hlavi?ky je pot?eba JavaScript </b>
35
      </noscript>
36
    </div>
37

  
38
    <!-- ============== MENU ============== -->
39
    <div class="Menu">
40
      <script type="text/javascript">
41
      <!--
42
        DrawMenu();
43
      // -->
44
      </script>
45
      <noscript>
46
        <b> Pro zobrazen? (vlo?en?) menu je pot?eba JavaScript </b>
47
      </noscript>
48
    </div>
49

  
50
    <!-- ============== TEXT STRANKY ============== -->
51
    <div class="Text">
52
      <p class="Title">
53
        Test jazyk?
54
      </p>
55
    </div>
56

  
57
    <!-- ============== PATICKA ============== -->
58
    <div class="Footer">
59
      <script type="text/javascript">
60
      <!--
61
        DrawFooter("Testovac? ?et?zec");
62
      // -->
63
      </script>
64
      <noscript>
65
        <b> Pro zobrazen? (vlo?en?) hlavi?ky je pot?eba JavaScript </b>
66
      </noscript>
67
    </div>
68

  
69
  </body>
70

  
71
</html>
www/Cestina_UTF8.html
3 3
<html>
4 4

  
5 5
  <head>
6
    <meta http-equiv=Content-Type content="text/html; charset=UTF8">
6
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 7
    <title> Test zobrazení češtiny </title>
8 8
    <link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl">
9 9
    <script language="JavaScript" type="text/javascript" src="menu.js"></script>
www/styl2.css
25 25
     mo?n? bez barev (?ernob?le)
26 26
  Styl nadpisu tabulky
27 27
  Opravit chybn? osazen? spodn?ho okraje (o velikost pati?ky), te? je v?t??
28

  
29
h1,h2,h3,h4,h5,h6 {
30
  page-break-inside:avoid;
31
  page-break-after:avoid;
32
  page-break-before:auto
33
}
34

  
35
h1>h2,h2>h3,h3>h4,h4>h5,h5>h6 {
36
  page-break-before:avoid
37
}
38

  
39
img {
40
  page-break-inside:avoid
41
}
42

  
28 43
*/
29 44

  
30 45

  
......
137 152
	color: red;
138 153
}
139 154

  
155
/* Zat?m jen na pokusy a pomocn? v?pisy */
156
.Small {
157
  font-size:    75%;                  /* zmen?en? p?smo */
158
}
140 159

  
160

  
141 161
/*============================================================================*/
142 162
/* Nastaven? pro hlavi?ku, pati?ku a menu                                     */
143 163
/*============================================================================*/
......
241 261
  margin:     3px;                    /* mal? mezery okolo */
242 262
}
243 263

  
264

  
244 265
/* Zobrazen? seznamu odkaz? v menu */
245 266
/* ------------------------------- */
246 267
div.InnerMenu ul {                    /* navigace jako seznam odkaz? */
www/index.html
43 43
      // -->
44 44
      </script>
45 45
      <noscript>
46
        <b> Pro zobrazen? (vlo?en?) hlavi?ky je pot?eba JavaScript </b>
46
        <b> Pro zobrazen? (vlo?en?) menu je pot?eba JavaScript </b>
47 47
      </noscript>
48 48
    </div>
49 49

  
......
59 59
      </p>
60 60
      <p>
61 61
        Vlaje?ky pro v?b?r jazyka (tady je jen n?hled, p?ijdou do menu)
62
        <img border=0 width=22 height=13 src="CZE.gif" alt="?esk? vlajka">
63
        <img border=0 width=22 height=13 src="GBR.gif" alt="Britsk? vlajka">
62
        <a href="index.html"><img border=0 width=22 height=13 src="CZE.gif" alt="?esk? vlajka"></a>
63
        <a href="index.en.html"><img border=0 width=22 height=13 src="GBR.gif" alt="Britsk? vlajka"></a>
64 64
      </p>
65 65
      <p>
66 66
        Tento WEB slou?? ke zve?ej?ov?n? design? pro stavebnici
......
77 77
      <p> <a href="Cestina_CP1250.html">Test ?e?tiny CP1250 </a> </p>
78 78
      <p> <em>Odkazy t??d?n? do skupin </em> </p>
79 79
      <p> <em>Odkazy t??d?n? abecedn? </em> </p>
80
      <p> <a href="TEST.html"> Test p?ep?n?n? jazyka </a> </p>
80 81
    </div>
81 82

  
82 83
    <!-- ============== PATICKA ============== -->
www/index.en.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd">
2

  
3
<html>
4

  
5
  <head>
6
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
7
    <title> MLAB Main Page </title>
8
    <link rel="StyleSheet" href="styl2.css" type="text/css" title="druhy_styl" />
9
    <!--[if gte ie 5.5000]>
10
      <link rel="stylesheet" type="text/css" href="ie.css" />
11
    <![endif]-->
12
    <meta name="keywords" content="MLAB Universal Electronic Modules" />
13
    <meta name="description" content="MLAB Project, Main Page" />
14

  
15
    <link rel="shortcut icon" type="image/x-icon" href="MLAB.ico" />
16
<!--    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> -->
17
<!--    <meta name="robots" content="follow" /> -->
18
<!--    <meta name="revisit-after" content="30 days" /> -->
19

  
20

  
21
    <script language="JavaScript" type="text/javascript" src="menu.js"></script>
22
  </head>
23

  
24
  <body lang="en">
25

  
26
    <!-- ============== HLAVICKA ============== -->
27
    <div class="Heater">
28
      <script type="text/javascript">
29
      <!--
30
        DrawHeader();   // mozno zmenit nadpis v hlavicce
31
      // -->
32
      </script>
33
      <noscript>
34
        <b> JavaScript is required for including of the header </b>
35
      </noscript>
36
    </div>
37

  
38
    <!-- ============== MENU ============== -->
39
    <div class="Menu">
40
      <script type="text/javascript">
41
      <!--
42
        DrawMenu();
43
      // -->
44
      </script>
45
      <noscript>
46
        <b> JavaScript is required for including of the menu </b>
47
      </noscript>
48
    </div>
49

  
50
    <!-- ============== TEXT STRANKY ============== -->
51
    <div class="Text">
52
      <p class="Title">
53
        Welcome at MLAB site
54
      </p>
55
      <p class=Subtitle>
56
        This is noncommercial web about electronics with original designs.
57
        We are especially interested in microcontrollers and small robots.
58
        The web is not finished yet, in fact we are working on it these days.
59
      </p>
60
      <p>
61
        Select your prefered language (not working yet)
62
        <a href="index.html">
63
          <img border=0 width=22 height=13 src="CZE.gif" alt="?esk? vlajka">
64
        </a>
65
        <a href="index.en.html">
66
          <img border=0 width=22 height=13 src="GBR.gif" alt="Britsk? vlajka">
67
        </a>
68
      </p>
69
      <p>
70
        On this web there are published 
71
        <a href="AboutMLAB.en.html">MLAB</a>
72
        modules, their documentation and other original papers about electronics
73
        and designs written by our
74
        <a href="AboutAuthors.en.html">authors</a>.
75
        We want to brink <i>new valuable information</i>. We are the authors not
76
        the web links collectors. More information about our goals and about this web
77
        is on the page 
78
        <a href="AboutWeb.en.html">about MLAB web</a>.
79
      </p>
80
      <h1> Fast links just for test </h1>
81
      <p> <a href="PICPGR301A.en.html">PICPGR301A </a> </p>
82
      <p> <a href="Cestina_UTF8.html"  >Test ?e?tiny UTF8 </a> </p>
83
      <p> <a href="Cestina_CP1250.html">Test ?e?tiny CP1250 </a> </p>
84
    </div>
85

  
86
    <!-- ============== PATICKA ============== -->
87
    <div class="Footer">
88
      <script type="text/javascript">
89
      <!--
90
        DrawFooter("Test String");
91
      // -->
92
      </script>
93
      <noscript>
94
        <b> JavaScript is required for including of the footer </b>
95
      </noscript>
96
    </div>
97

  
98
  </body>
99

  
100
</html>
www/menu.js
1
// History:
2
//   Dopln?na detekce jazyka domuentu (ve zna?ce body)
3

  
1 4
//var undefined;    // Pro zpetnou kompatibilitu kdyby JS nepodporoval undefined
2 5

  
6
function Test()
7
// Testovac? funkce pro lad?n?
8
{
9
  with (document)
10
  {
11
    var Info;
12
    // Test
13
    // U?ite?n?: document.URL (cesta a jm?no souboru str?nky)
14
    write('<p class="MenuText Small">');
15
    write('document language '+DocLang());
16
    write('</p>');
17
    write('<p class="MenuText Small">');
18
    write('document language '+navigator.appVersion);
19
    write('</p>');
20
    write('<p class="MenuText Small">');
21
    write('document language '+document.body.lang);
22
    write('</p>');
23
    write('<p class="MenuText Small">');
24
    write('navigator language '+navigator.language);  // FF ano, IE6 ne
25
    write('</p>');
26
  }
27
}
3 28

  
29

  
30
function DocLang()
31
// Vrac? zkratku jazyka str?nky ( cz en )
32
// Nen?-li v dokumentu uveden? vrac? en
33
{
34
  var s;
35
  s=document.body.lang.toLowerCase();
36
  if(s=="cs") return "cz";   // To by m? zaj?malo pro? je v HTML cs
37
  if(s=="cz") return "cz";   // a v?ude jinde cz
38
  return "en";
39
}
40

  
41

  
4 42
function DrawHeader(MoreInfo)
5 43
// Nepovinny parametr udava nadpis stranky
6 44
// Neni-li uveden bere se text ze znacky title dokumentu
7 45
{
8 46
  with (document)
9 47
  {
10
    if(0)
11
      write('<b>Hlavi?ka z JavScriptu: ', MoreInfo, '</b>' );
12
    else
13
    {
14
      // Default informace pokud je parametr nezadany
15
      if(MoreInfo==undefined) MoreInfo=document.title;
16
      // Vlozeni HTML kodu
17
      write('<div class="InnerHeader"> ');
48
    // Default informace pokud je parametr nezadany
49
    if(MoreInfo==undefined) MoreInfo=document.title;
50
    // Vlozeni HTML kodu
51
    write('<div class="InnerHeader"> ');
52
    if (DocLang()=="cz")
53
    { // ?esk? text
18 54
      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>');
19
      write('<span class="HeaderText">'+MoreInfo+'</span>');
20
      write('</div> ');
21 55
    }
56
    else
57
    { // English text
58
      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>');
59
    }
60
    write('<span class="HeaderText">'+MoreInfo+'</span>');
61
    write('</div> ');
22 62
  }
23 63
}
24 64

  
......
29 69
{
30 70
  with(document)
31 71
  {
32
    if (0)
33
    {
34
      write('<b>Menu z JavaScriptu: ', MoreInfo, '</b>');
35
    }
36
    else
37
    {
38
      // Default text
39
      if(MoreInfo==undefined) MoreInfo="Menu";
40
      // Vlastni menu
41
      write('<div class="InnerMenu">');
42
      write('  <div class="Navigation">');
43
      write('    <div class="MenuText">');
44
      write(       MoreInfo);
45
      write('    </div>');
46
      write('    <ul>');
72
    // Default text
73
    if(MoreInfo==undefined) MoreInfo="Menu";
74
    // Vlastni menu
75
    write('<div class="InnerMenu">');
76
    write('  <div class="Navigation">');
77
    write('    <div class="MenuText">');
78
    write(       MoreInfo);
79
    write('    </div>');
80
    write('    <ul>');
81
    if (DocLang()=="cz")
82
    { // ?esk? text
47 83
      write('      <li> <a href="index.html" title="Dom?">MLAB Home</a> </li>');
48 84
      write('      <li> <a href="AboutAuthors.html" title="O autorech">Auto?i</a> </li>');
49 85
      write('      <li> <a href="AboutWeb.html" title="O webu">O WEBu</a> </li>');
50 86
      write('      <li> <a href="ToDoList.html" title="Co j??t? zb?v? ud?lat">To do list</a> </li>');
51
      write('    </ul>');
52
      write('  </div>');
53
      write('</div> ');
54 87
    }
88
    else
89
    { // English text
90
      write('      <li> <a href="index.html" title="Home">MLAB Home</a> </li>');
91
      write('      <li> <a href="AboutAuthors.html" title="About Authors">Authors</a> </li>');
92
      write('      <li> <a href="AboutWeb.html" title="About this WEB">About WEB</a> </li>');
93
      write('      <li> <a href="ToDoList.html" title="What to do">To do list</a> </li>');
94
    }
95
    write('    </ul>');
96
    write('  </div>');
97
    write('</div> ');
55 98
  }
56 99
}
57 100

  
......
61 104
{
62 105
  with (document)
63 106
  {
64
    if (0)
65
    {
66
      write('<b>Pati?ka z JavaScriptu: ', MoreInfo, '</b>');
67
    }
68
    else
69
    {
70
      // Default text je prazdny
71
      if(MoreInfo==undefined) MoreInfo="";
72
      // Vlozeni HTML kodu
73
      write('<div class="InnerFooter">');
74
      write('&nbsp;');   // ?stupek IE6 (chyba v?po?tu ???ky p?i nenulov?m paddingu )
107
    // Default text je prazdny
108
    if(MoreInfo==undefined) MoreInfo="";
109
    // Vlozeni HTML kodu
110
    write('<div class="InnerFooter">');
111
    write('&nbsp;');   // ?stupek IE6 (chyba v?po?tu ???ky p?i nenulov?m paddingu )
112
    if (DocLang()=="cz")
113
    { // ?esk? text
75 114
      write('<a href=#>Nahoru</a> &nbsp; ')
76 115
      write('<a href="Copyright.html">Copyright</a> &copy; ');
77 116
      write('<a href="AboutAuthors.html">Auto?i MLAB</a> &nbsp; ');
78
      write('['+document.lastModified+'] &nbsp;&nbsp;&nbsp;');
79
      write(MoreInfo);
80
      write('</div>');
81 117
    }
118
    else
119
    { // English text
120
      write('<a href=#>Up</a> &nbsp; ')
121
      write('<a href="Copyright.html">Copyright</a> &copy; ');
122
      write('<a href="AboutAuthors.html">MLAB Authors</a> &nbsp; ');
123
    }
124
    write('['+document.lastModified+'] &nbsp;&nbsp;&nbsp;');
125
    write(MoreInfo);
126
    write('</div>');
82 127
  }
83 128
}
:@created_atf1425081358.8490911W‚:@expires_in0