Hallo,
ich möchte bei diesem kleinen Kalender hier Termine eintragen können, bin damit jedoch ein bisschen überfordert…
Ich stelle mir die ganze Sache so vor, dass bei einem Mousover des Datums, der dazugehörige Termin per Hover erscheint, mir ist aber nicht ganz klar wo ich das hischreiben soll. Ich hoffe es kann mir jemand von euch helfen!
Danke im Voraus
Allmi02[PHP]
<?php
for($i=0;$i<=41;$i++) {
if($counter == 1) echo '<tr style="background-color:#eeeeee;border:1px solid black;">';
echo '<td align="center" valign="bottom" width="25px" height="25px" style="border:1px solid; border-color:#242C37; padding-left:5px;">';
if($erster_tag['wday'] == $i) $show = true;
if(isset($show)) {
if($ak_datum['mday'] == $wochentage AND $notbig == false) { echo '<b><a href="?m='.$ak_datum['mon'].'&j='.$ak_datum['year'].'&t='.$wochentage.'">'.$wochentage.'</a></b>'; }else { echo '<a href="?m='.$ak_datum['mon'].'&j='.$ak_datum['year'].'&t='.$wochentage.'">'.$wochentage.'</a>'; }
$wochentage++;
}
if(!checkdate($ak_datum['mon'],$wochentage,$ak_datum['year'])) unset($show);
echo '</td>';
if($counter == 7) { echo "</tr>"; $counter = 0; }
$counter++;
}
?> <!--Kästchen mit Pfeilen --> <tr style="background-color:#eeeeee;border:1px solid black;"> <td align="center" width="210px" colspan="7" style="border:1px solid; border-color:#242C37; padding-left:5px;"> <!--Kästchen mit Pfeilen --> <?php
$m_minus = $ak_datum['mon']-1; $j_minus = $ak_datum['year'];
if($m_minus < 1) { $m_minus = 12; $j_minus = $ak_datum['year']-1; }
$m_plus = $ak_datum['mon']+1; $j_plus = $ak_datum['year'];
if($m_plus > 12) { $m_plus = 1; $j_plus = $ak_datum['year']+1; }
echo '<a href="?m='.$m_minus.'&j='.$j_minus.'">«</a> | <a href="?m='.$m_plus.'&j='.$j_plus.'">»</a>';
?> </td> </tr>
</td></tr>
<?php echo '<?php echo $monate[$ak_datum['mon']-1]." ".$ak_datum['year']; ?> | ||||||
So | Mo | Di | Mi | Do | Fr | Sa |