1 <script type='text/javascript'>
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;
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 />
20 fixne menu je zalozene na marinovom cssku<br />[cize obsahuje t1 a t2 div]</td></tr>
22 <tr><td> oddelovac </td>
23 <td><input type='text' name='oddelovac' value='----' /></td></tr>
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>
29 <td><input type='file' name='data_file'></td></tr>
31 <tr><td><input type='text' name='name_1' value='main' /></td>
32 <td><input type='text' name='id_1' value='1' /></td></tr>
34 <tr><td><input type='text' name='name_2' value='kyberia' /></td>
35 <td><input type='text' name='id_2' value='101' /></td></tr>
37 <tr><td><input type='text' name='name_3' value='bookmarks' /></td>
38 <td><input type='text' name='id_3' value='19' /></td></tr>
40 <tr><td><input type='text' name='name_4' value='mail' /></td>
41 <td><input type='text' name='id_4' value='24' /></td></tr>
44 <input type='hidden' name='pocet' value='' id='pocet' />
45 <input type='button' onclick='addmenu()' value='addmenu' />
47 <input type='submit' name='event' value='generate_header_template' />