51ff3226 |
1 | <script type='text/javascript'> |
2 | {literal} |
3 | var pocet = 4; |
4 | function addmenu() { |
5 | pocet++; |
6 | menu = "<tr><td><input type='text' value='' name='menu_"+ pocet +"' /></td>"; |
7 | menu += "<td><input type='text' value='' name='id_"+ pocet +"' /></td></tr>"; |
8 | document.getElementById('header_menu').innerHTML += menu; |
9 | document.getElementById('pocet').value = pocet; |
10 | } |
11 | {/literal} |
12 | </script> |
13 | <center> |
14 | <h3> Header template generator alpha 1 </h3> |
15 | <form action='/id/2153505' method='post'> |
16 | <table id='header_menu' width='400'> |
17 | <tr><td colspan='2'>main - 1, kyberia - 101, hysteria - 102<br />k - 15, bookmarks - 19, blogs - 21<br /> |
18 | last - 23, mail - 24, search - 25<br />people - 27, help - 1017832<br /> |
19 | <br /> |
20 | fixne menu je zalozene na marinovom cssku<br />[cize obsahuje t1 a t2 div]</td></tr> |
21 | |
22 | <tr><td> oddelovac </td> |
23 | <td><input type='text' name='oddelovac' value='----' /></td></tr> |
24 | |
25 | <tr><td>fixne menu</td> |
26 | <td>ano::<input type='radio' name='fixmenu' value='ano' /> nie::<input type='radio' name='fixmenu' value='nie' checked /></td></tr> |
27 | |
28 | <tr><td>cssko::</td> |
29 | <td><input type='file' name='data_file'></td></tr> |
30 | |
31 | <tr><td><input type='text' name='name_1' value='main' /></td> |
32 | <td><input type='text' name='id_1' value='1' /></td></tr> |
33 | |
34 | <tr><td><input type='text' name='name_2' value='kyberia' /></td> |
35 | <td><input type='text' name='id_2' value='101' /></td></tr> |
36 | |
37 | <tr><td><input type='text' name='name_3' value='bookmarks' /></td> |
38 | <td><input type='text' name='id_3' value='19' /></td></tr> |
39 | |
40 | <tr><td><input type='text' name='name_4' value='mail' /></td> |
41 | <td><input type='text' name='id_4' value='24' /></td></tr> |
42 | </table> |
43 | <br /> |
44 | <input type='hidden' name='pocet' value='' id='pocet' /> |
45 | <input type='button' onclick='addmenu()' value='addmenu' /> |
46 | <br /><br /> |
47 | <input type='submit' name='event' value='generate_header_template' /> |
48 | </form> |
49 | </center> |