diff --git a/images/pause.gif b/images/pause.gif new file mode 100644 index 0000000000..dc57c4c981 Binary files /dev/null and b/images/pause.gif differ diff --git a/images/play.gif b/images/play.gif new file mode 100644 index 0000000000..4010f056d2 Binary files /dev/null and b/images/play.gif differ diff --git a/include/main.js b/include/main.js index cc44db5d42..645170b41e 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 8002f57fd2..9b9e708f75 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'] .= '
'; // build page // Navigation (menu) template diff --git a/view/theme/default/style.css b/view/theme/default/style.css index 21d95cd685..a97ad93317 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; +}