Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verzeNásledující verzeObě strany příští revize | ||
tematator [2019/11/11 12:54] – Jan Chmela | tematator [2023/09/13 06:43] – Admin | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
- | < | + | ====== Tematator ====== |
- | < | + | |
- | < | + | |
- | </ | + | |
- | <script language=" | + | |
- | function | + | < |
+ | |||
+ | var txt = [ | ||
+ | ["Typ práce:", | ||
+ | [" | ||
+ | [" | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | [" | ||
+ | [" | ||
+ | [" práce:", | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | [" | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | " | ||
+ | "The aim of the thesis is to evaluate the economic efficiency of selected company. The annual reports of a company PRECHEZA, a.s. will be used. Methods of evaluating the effectiveness of the company will be described within theoretical part of the thesis. They will subsequently be used for practical application to the selected company. Finally, economic efficiency of the selected company will be evaluated." | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | [" | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | |||
+ | [" | ||
+ | [" | ||
+ | ]; | ||
+ | |||
+ | var dates = [ | ||
+ | ["28. 2. 2023", "10. 4. 2023" | ||
+ | ["31. 3. 2023", "15. 4. 2023" | ||
+ | ["27. 4. 2023", "5. 5. 2023" | ||
+ | ]; | ||
+ | |||
+ | var iLangID = 0; | ||
+ | var iTypeID = 0; | ||
+ | |||
+ | function setDates() | ||
+ | { | ||
+ | document.getElementById(' | ||
+ | txt[ 8][iLangID] + dates[0][iTypeID] + " | ||
+ | + txt[ 9][iLangID] + dates[1][iTypeID] + " | ||
+ | + txt[10][iLangID] + dates[2][iTypeID]; | ||
+ | } | ||
+ | |||
+ | function setRange() | ||
+ | { | ||
+ | document.getElementById(' | ||
+ | } | ||
+ | |||
+ | function onTypeChanged(obj) | ||
+ | { | ||
+ | iTypeID = obj.selectedIndex; | ||
+ | setDates(); | ||
+ | setRange(); | ||
+ | } | ||
+ | |||
+ | function onLangChange(obj) | ||
+ | { | ||
+ | iLangID = obj.selectedIndex; | ||
+ | setLang(); | ||
+ | } | ||
+ | |||
+ | function onPageLoad() | ||
+ | { | ||
+ | iLangID = document.getElementById(' | ||
+ | iTypeID = document.getElementById(' | ||
+ | setLang(); | ||
+ | } | ||
+ | |||
+ | function | ||
{ | { | ||
- | var strTxt = document.getElementById(' | + | document.getElementById(' |
- | var strRes | + | var type = document.getElementById(' |
- | strRes += strTxt; | + | type.options[0].text |
- | strRes += "</ | + | type.options[1].text |
- | var elTxt2 | + | document.getElementById(' |
- | elTxt2.value = strRes; | + | setDates(); |
- | elTxt2.select(); | + | |
+ | document.getElementById(' | ||
+ | document.getElementById(' | ||
+ | |||
+ | setRange(); | ||
+ | |||
+ | // | ||
+ | // | ||
+ | |||
+ | document.getElementById(' | ||
+ | document.getElementById(' | ||
+ | |||
+ | } | ||
+ | |||
+ | function genText() | ||
+ | { | ||
+ | var strTmp; | ||
+ | var strText = txt[4][iLangID] + txt[5 + iTypeID][iLangID] + txt[7][iLangID] + " | ||
+ | |||
+ | strText += "< | ||
+ | strTmp = document.getElementById(' | ||
+ | for (i=0; i< | ||
+ | strText += "</ | ||
+ | |||
+ | strText += "< | ||
+ | strTmp = document.getElementById(' | ||
+ | for (i=0; i< | ||
+ | strText += "</ | ||
+ | |||
+ | strText += "< | ||
+ | strText += txt[14 + iTypeID][iLangID] + "< | ||
+ | strText += "</ | ||
+ | |||
+ | |||
+ | var elTxt = document.getElementById(' | ||
+ | elTxt.value = strText; | ||
+ | elTxt.select(); | ||
document.execCommand(" | document.execCommand(" | ||
- | return; | ||
} | } | ||
</ | </ | ||
+ | |||
+ | |||
+ | <body onload=" | ||
+ | < | ||
+ | <label for=" | ||
+ | <select id=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | & | ||
+ | |||
+ | <label for=" | ||
+ | <select id=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
- | <body> | + | <b><p id=" |
- | < | + | < |
- | <p>Ahoj</ | + | < |
- | <button type=" | + | |
- | <p>Něco</ | + | < |
- | < | + | |
- | </ | + | |
- | </ | + | <p>< |
+ | |||
+ | < | ||
+ | < | ||
+ | </ |