summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorJonas Kohl <git@jonaskohl.de>2024-09-06 11:20:29 +0200
committerJonas Kohl <git@jonaskohl.de>2024-09-06 11:20:29 +0200
commitd6915cbe46dc4bbd2e5c3cd860438564f5a87524 (patch)
treedec75211a2dcdc634c41ce15bd56128789e5e40a /cgi
parentf0456f71198e7a31238c92cd2a8f23315bf3488b (diff)
Add hover effect to navbar
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/imagemap.cgi55
1 files changed, 0 insertions, 55 deletions
diff --git a/cgi/imagemap.cgi b/cgi/imagemap.cgi
deleted file mode 100755
index 156836f..0000000
--- a/cgi/imagemap.cgi
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/perl
-
-$x_start = 7;
-$y_start = 6;
-$y_space = 6;
-$width = 106;
-$height = 34;
-
-@images = (
- {
- label => "Startseite",
- link => "pages/start.html"
- },
- {
- label => "Trivia",
- link => "pages/trivia.html"
- },
- {
- label => "Exklusiv",
- link => "pages/exklusiv.html"
- },
- {
- label => "Dekomp",
- link => "pages/dekomp.html"
- },
- {
- label => "L&ouml;sung",
- link => "pages/loesung.html"
- },
- {
- label => "&Uuml;ber",
- link => "pages/about.html"
- }
-);
-
-print "content-type: text/plain\n\n";
-
-foreach $im (@images) {
- print '<area shape="rect" target="main" coords="';
- print $x_start;
- print ',';
- print $y_start;
- print ',';
- print $x_start + $width;
- print ',';
- print $y_start + $height;
- print '" href="';
- print $im->{link};
- print '" alt="';
- print $im->{label};
- print '">';
- print "\n";
-
- $y_start += $height + $y_space;
-}