Autor | Zpráva | ||
---|---|---|---|
Martynek Profil * |
#1 · Zasláno: 27. 7. 2007, 16:39:56
Zdárek, nevím,jak udělat, aby buňka nebyla rozdělena na půl,ale aby byla jednotná. viz obrázek:
Tady je zdrojový kód: <HTML> <HEAD> <TITLE>Hlavní stránka | www.******cz</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250"> <style type="text/css"> <!-- td { text-align: left; vertical-align: top; font-family:Tahoma; font-size:9px; color:#5D6466; } form { margin:0px; } a { text-decoration: underline; color:#72A655; } a.1 { text-decoration: underline; color:#FF4700; } a.2 { text-decoration: none; color:#6A6B6A; } a.3 { text-decoration: none; color:#999999; } .style1 { font-size: 12px; font-weight: bold; } .style2 {color: #FF3636} .style3 {color: #72A655} --> </style> </HEAD> <BODY BGCOLOR=#4B4B4B LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 rightmargin="0" bottommargin="0"> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR><Td width="50%" rowspan="3" background="images/l.jpg" style="background-position:top right; background-repeat:repeat-x "></Td> <TD background="images/1.jpg" WIDTH=766 HEIGHT=197 ALT=""><div style="padding-top:81px;padding-left:327px "><a href="index-1.html"><img src="images/m1.jpg" border="0"></a><a href="index-2.html"><img src="images/m2.jpg" border="0" style="margin-left:14px "></a><a href="index-3.html"><img src="images/m3.jpg" border="0" style="margin-left:19px "></a></div></TD> <Td width="50%" rowspan="3" background="images/r.jpg" style="background-position:top left; background-repeat:repeat-x "></Td> </TR> <TR> <TD> <TABLE WIDTH=766 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD background="images/bak1.jpg" WIDTH=70 HEIGHT=100%> <IMG SRC="images/3.jpg" WIDTH=70 HEIGHT=421 ALT=""></TD> <TD> <TABLE WIDTH=622 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD> <IMG SRC="images/5.jpg" WIDTH=622 HEIGHT=7 ALT=""></TD> </TR> <TR> <TD bgcolor="#ffffff" WIDTH=622 HEIGHT=21 ALT=""></TD> </TR> <TR> <TD> <TABLE WIDTH=622 BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD bgcolor="#FFFFFF" WIDTH=29 HEIGHT=377 ALT=""></TD> <TD><TABLE WIDTH=566 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="100%"> <TR> <TD> <IMG SRC="images/1t1.jpg" WIDTH=566 HEIGHT=32 ALT=""></TD> </TR> <TR> <TD height="100%"> <TABLE WIDTH=566 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="100%"> <TR> <TD height="100%"> <TABLE WIDTH=221 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="100%"> <TR> <TD background="images/1bak1.jpg" WIDTH=221 HEIGHT=145 ALT=""><div style="padding-top:8px;padding-left:11px "> <div style="padding-top:5px "><table width="190" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10"><img src="images/arr.jpg" style="margin-top:2px " ></td> <td width="180"> <script> var datum = new Date(); // aktuální datum var denVTydnu = new Array("neděle","pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"); var retezec = "Dnes je "; // postupně se k němu budou přičítat další řetězce retezec += denVTydnu[datum.getDay()] + ", "; // Den v týdnu retezec += datum.getDate() + ". "; // Den v měsíci retezec += (1 + datum.getMonth()) + ". "; // Měsíce jsou číslovány od nuly retezec += datum.getFullYear() + ". "; // Rok ve formátu 0000 retezec += "Čas: " + datum.getHours() + ":"; // Hodiny retezec += datum.getMinutes(); // Minuty // retezec += ":" + datum.getSeconds(); // Sekundy retezec += ""; // Tečka za větou document.write( retezec ); // Výpis řetězce do dokumentu </script> a svátek má <script> today = new Date(); den=today.getDate(); mesic=(today.getMonth()+1); if (mesic==1) { if (den==01) document.write("Nový rok"); if (den==02) document.write("Karina"); if (den==03) document.write("Radmila"); if (den==04) document.write("Diana"); if (den==05) document.write("Dalimil"); if (den==06) document.write("Tři králové"); if (den==07) document.write("Vilma"); if (den==08) document.write("Čestmír"); if (den==09) document.write("Vladan"); if (den==10) document.write("Břetislav"); if (den==11) document.write("Bohdana"); if (den==12) document.write("Pravoslav"); if (den==13) document.write("Edita"); if (den==14) document.write("Radovan"); if (den==15) document.write("Alice"); if (den==16) document.write("Ctirad"); if (den==17) document.write("Drahoslav"); if (den==18) document.write("Vladislav"); if (den==19) document.write("Doubravka"); if (den==20) document.write("Ilona"); if (den==21) document.write("Běla"); if (den==22) document.write("Slavomír"); if (den==23) document.write("Zdeněk"); if (den==24) document.write("Milena"); if (den==25) document.write("Miloš"); if (den==26) document.write("Zora"); if (den==27) document.write("Ingrid"); if (den==28) document.write("Otýlie"); if (den==29) document.write("Zdislava"); if (den==30) document.write("Robin"); if (den==31) document.write("Marika"); } if (mesic==2) { if (den==01) document.write("Hynek"); if (den==02) document.write("Nela"); if (den==03) document.write("Blažej"); if (den==04) document.write("Jarmila"); if (den==05) document.write("Dobromila"); if (den==06) document.write("Vanda"); if (den==07) document.write("Veronika"); if (den==08) document.write("Milada"); if (den==09) document.write("Apolena"); if (den==10) document.write("Mojmír"); if (den==11) document.write("Božena"); if (den==12) document.write("Slavěna"); if (den==13) document.write("Věnceslav"); if (den==14) document.write("Valentýn"); if (den==15) document.write("Jiřina"); if (den==16) document.write("Ljuba"); if (den==17) document.write("Miloslava"); if (den==18) document.write("Gizela"); if (den==19) document.write("Patrik"); if (den==20) document.write("Oldřich"); if (den==21) document.write("Lenka"); if (den==22) document.write("Petr"); if (den==23) document.write("Svatopluk"); if (den==24) document.write("Matěj"); if (den==25) document.write("Liliana"); if (den==26) document.write("Dorota"); if (den==27) document.write("Alexandr"); if (den==28) document.write("Lumír"); if (den==29) document.write(""); } if (mesic==3) { if (den==01) document.write("Bedřich"); if (den==02) document.write("Anežka"); if (den==03) document.write("Kamil"); if (den==04) document.write("Stela"); if (den==05) document.write("Kazimir"); if (den==06) document.write("Miroslav"); if (den==07) document.write("Tomáš"); if (den==08) document.write("Gabriela"); if (den==09) document.write("Františka"); if (den==10) document.write("Viktorie"); if (den==11) document.write("Anděla"); if (den==12) document.write("Řehoř"); if (den==13) document.write("Růžena"); if (den==14) document.write("Růt a matylda"); if (den==15) document.write("Ida"); if (den==16) document.write("Elena a herbert"); if (den==17) document.write("Vlastimil"); if (den==18) document.write("Eduard"); if (den==19) document.write("Josef"); if (den==20) document.write("Světlana"); if (den==21) document.write("Radek"); if (den==22) document.write("Leona"); if (den==23) document.write("Ivona"); if (den==24) document.write("Gabriel"); if (den==25) document.write("Marian"); if (den==26) document.write("Emanuel"); if (den==27) document.write("Dita"); if (den==28) document.write("Soňa"); if (den==29) document.write("Taťána"); if (den==30) document.write("Arnošt"); if (den==31) document.write("Kvido"); } if (mesic==4) { if (den==01) document.write("Hugo"); if (den==02) document.write("Erika"); if (den==03) document.write("Richard"); if (den==04) document.write("Ivana"); if (den==05) |
||
Martynek Profil * |
#2 · Zasláno: 27. 7. 2007, 16:52:01
Nějak se mi zkopírování nepovedlo, tady je holá stránka bez grafiky: www.iriver.ic.cz/index-1.html
|
||
Martynek Profil * |
#3 · Zasláno: 27. 7. 2007, 20:25:23
Tak už to mám :))
|
||
Časová prodleva: 13 dní
|
|||
peta Profil |
#4 · Zasláno: 9. 8. 2007, 15:20:48
Martynek
jakpsatweb - html - tabulky ten JS se jmeny si pekne dej do externiho souboru. Navic mas verzi, ktera je pomala a zbytecne 10x vetsi nez je nezbytne. |
||
Časová prodleva: 17 let
|
0