Hi,
bis nächsten Sonntag noch fix einen Adventskalender programmieren?
Nun, wer möchte, schnappe es sich:
http://rolfrost.de/astro/adventmap.gif
Dazu passend die map:
print qq(
<p>
<map name="advent">
<area shape="rect" coords="314,69,345,108" href="$ENV{'SCRIPT_NAME'}?$par{1}" alt="1">
<area shape="rect" coords="24,150,55,185" href="$ENV{'SCRIPT_NAME'}?$par{2}" alt="2">
<area shape="rect" coords="30,376,66,411" href="$ENV{'SCRIPT_NAME'}?$par{3}" alt="3">
<area shape="rect" coords="224,400,260,436" href="$ENV{'SCRIPT_NAME'}?$par{4}" alt="4">
<area shape="rect" coords="50,56,80,90" href="$ENV{'SCRIPT_NAME'}?$par{5}" alt="5">
<area shape="rect" coords="320,370,350,410" href="$ENV{'SCRIPT_NAME'}?$par{6}" alt="6">
<area shape="rect" coords="45,450,80,495" href="$ENV{'SCRIPT_NAME'}?$par{7}" alt="7">
<area shape="rect" coords="324,470,358,509" href="$ENV{'SCRIPT_NAME'}?$par{8}" alt="8">
<area shape="rect" coords="460,30,490,70" href="$ENV{'SCRIPT_NAME'}?$par{9}" alt="9">
<area shape="rect" coords="190,104,225,145" href="$ENV{'SCRIPT_NAME'}?$par{10}" alt="10">
<area shape="rect" coords="227,482,264,523" href="$ENV{'SCRIPT_NAME'}?$par{11}" alt="11">
<area shape="rect" coords="214,14,246,50" href="$ENV{'SCRIPT_NAME'}?$par{12}" alt="12">
<area shape="rect" coords="125,492,160,530" href="$ENV{'SCRIPT_NAME'}?$par{13}" alt="13">
<area shape="rect" coords="125,20,160,60" href="$ENV{'SCRIPT_NAME'}?$par{14}" alt="14">
<area shape="rect" coords="114,170,150,210" href="$ENV{'SCRIPT_NAME'}?$par{15}" alt="15">
<area shape="rect" coords="410,120,440,160" href="$ENV{'SCRIPT_NAME'}?$par{16}" alt="16">
<area shape="rect" coords="622,33,657,73" href="$ENV{'SCRIPT_NAME'}?$par{17}" alt="17">
<area shape="rect" coords="333,200,365,242" href="$ENV{'SCRIPT_NAME'}?$par{18}" alt="18">
<area shape="rect" coords="234,204,267,244" href="$ENV{'SCRIPT_NAME'}?$par{19}" alt="19">
<area shape="rect" coords="138,254,177,294" href="$ENV{'SCRIPT_NAME'}?$par{20}" alt="20">
<area shape="rect" coords="42,269,77,311" href="$ENV{'SCRIPT_NAME'}?$par{21}" alt="21">
<area shape="rect" coords="250,292,290,330" href="$ENV{'SCRIPT_NAME'}?$par{22}" alt="22">
<area shape="rect" coords="111,355,147,393" href="$ENV{'SCRIPT_NAME'}?$par{23}" alt="23">
<area shape="rect" coords="350,278,388,318" href="$ENV{'SCRIPT_NAME'}?$par{24}" alt="24">
</map>
</p>
<p><img src="/album/advent/adventmap.gif" width="692" height="542" alt="Advent" usemap="#advent"></p>
);
Ideen für den Output hab ich keine, ansonsten ist der Rest Tipparbeit.
Viel Spass dabei, Rolf