aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/pause.gifbin0 -> 866 bytes
-rw-r--r--images/play.gifbin0 -> 912 bytes
-rw-r--r--include/main.js9
-rw-r--r--index.php2
-rw-r--r--view/theme/default/style.css8
5 files changed, 16 insertions, 3 deletions
diff --git a/images/pause.gif b/images/pause.gif
new file mode 100644
index 000000000..dc57c4c98
--- /dev/null
+++ b/images/pause.gif
Binary files differ
diff --git a/images/play.gif b/images/play.gif
new file mode 100644
index 000000000..4010f056d
--- /dev/null
+++ b/images/play.gif
Binary files differ
diff --git a/include/main.js b/include/main.js
index cc44db5d4..645170b41 100644
--- a/include/main.js
+++ b/include/main.js
@@ -46,10 +46,17 @@
$(document).keypress(function(event) {
if(event.keyCode == '19') {
event.preventDefault();
- if(stopped == false)
+ if(stopped == false) {
stopped = true;
+ $('#pause img').attr('src','images/pause.gif');
+ $('#pause img').css({'border': '1px solid black'});
+
+ }
else {
stopped = false;
+ $('#pause img').attr('src','');
+ $('#pause img').css({'border': 'none'});
+
}
}
});
diff --git a/index.php b/index.php
index 8002f57fd..9b9e708f7 100644
--- a/index.php
+++ b/index.php
@@ -86,7 +86,7 @@ if(x($_SESSION,'sysmsg')) {
// Feel free to comment out this line on production sites.
$a->page['content'] .= $debug_text;
-
+$a->page['content'] .= '<div id="pause"><img src="" alt="" /></div>';
// build page
// Navigation (menu) template
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index 21d95cd68..a97ad9331 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -1579,4 +1579,10 @@ input#dfrn-url {
#dfrn-request-networks {
margin-bottom: 30px;
-} \ No newline at end of file
+}
+
+#pause {
+ position: fixed;
+ bottom: 5px;
+ right: 5px;
+}