diff options
author | Michael Vogel <icarus@dabo.de> | 2012-05-16 08:24:46 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-05-16 08:24:46 +0200 |
commit | f2c0c40f6e488f1a8e62bda9449b28115f343cac (patch) | |
tree | ae1418141f85be49b7d8cb3d2a0e8b2a7acc4eb4 /view/theme/diabook/bottom.tpl | |
parent | f2e648d62fe7cafb9a55c7505687ea4d1c294778 (diff) | |
parent | a65bd73bf3f4a1e6ccfcdf0a06c70a4f1f4182ce (diff) | |
download | volse-hubzilla-f2c0c40f6e488f1a8e62bda9449b28115f343cac.tar.gz volse-hubzilla-f2c0c40f6e488f1a8e62bda9449b28115f343cac.tar.bz2 volse-hubzilla-f2c0c40f6e488f1a8e62bda9449b28115f343cac.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/diabook/bottom.tpl')
-rw-r--r-- | view/theme/diabook/bottom.tpl | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 02ad1dcd2..50a15788d 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -14,7 +14,15 @@ $(document).ready(function() { else $(this).attr("src",ifr_source+"?"+wmode); }); - + + $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;"); + $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>"); + $(document).keydown(function(event) { + if (!$("div#pause").html()){ + $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>"); + }}); + $(".autocomplete").attr("style", "width: 350px;color: black;border: 1px solid #D2D2D2;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); + }); $(document).ready(function(){ @@ -38,6 +46,11 @@ $(document).ready(function() { $("textarea#comment-edit-text-" +id).autogrow(); }; + function open_boxsettings() { + $("div#boxsettings").attr("style","display: block;height:500px;width:300px;"); + $("label").attr("style","width: 150px;"); + }; + function yt_iframe() { $("iframe").load(function() { var ifr_src = $(this).contents().find("body iframe").attr("src"); @@ -67,12 +80,14 @@ $(document).ready(function() { $("a#top").attr("id","down"); $("a#down").attr("onclick","scrolldown()"); $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_bottom.png"); + $("img#scroll_top_bottom").attr("title","Scroll to bottom"); } if (scrollInfo > "900"){ $("a#down").attr("id","top"); $("a#top").attr("onclick","scrolltop()"); $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_top.png"); + $("img#scroll_top_bottom").attr("title","Back to top"); } }); @@ -113,4 +128,6 @@ $(document).ready(function() { function cmtBbClose(id) { $(".comment-edit-bb-" + id).hide(); } + + </script> |