From 44e2ba31b80ead160197462d9a4c3e8527836eed Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Thu, 25 Jul 2024 12:57:39 +0200
Subject: Change button
---
src/pages/guestbook.php | 4 ++--
src/static/emguide_sprite.gif | Bin 0 -> 5039 bytes
src/static/style.css | 12 ++++++++++++
3 files changed, 14 insertions(+), 2 deletions(-)
create mode 100644 src/static/emguide_sprite.gif
diff --git a/src/pages/guestbook.php b/src/pages/guestbook.php
index b5e582d..d04c3ec 100644
--- a/src/pages/guestbook.php
+++ b/src/pages/guestbook.php
@@ -4,7 +4,7 @@
Guestbook
-
Emoticon guide
+Emoticon guide
@@ -52,7 +52,7 @@ $(function() {
win.document.write('Emoticon guide');
win.document.write('');
win.document.write('');
- win.document.write('');
+ win.document.write('');
var idx = 0;
for (var i = 0; i < EMOTICONS[1].length; ++i) {
idx = EMOTICONS[1][i];
diff --git a/src/static/emguide_sprite.gif b/src/static/emguide_sprite.gif
new file mode 100644
index 0000000..8b44975
Binary files /dev/null and b/src/static/emguide_sprite.gif differ
diff --git a/src/static/style.css b/src/static/style.css
index a28b1f2..9d6c3d5 100644
--- a/src/static/style.css
+++ b/src/static/style.css
@@ -153,3 +153,15 @@ a {
width: 100%;
height: 338px;
}
+#emoticon-guide {
+ display: block;
+ width: 147px;
+ height: 22px;
+ text-decoration: none;
+ border: none;
+ background: url("emguide_sprite.gif");
+ text-indent: -999px;
+}
+#emoticon-guide:hover {
+ background-position: 0 -22px;
+}
--
cgit v1.2.3