X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Fbottom.tpl;h=50a15788de8a99f86a3e1c6d1f445260d47c9159;hb=d944ff7833355f3bae7befd9c97becf01c4083b1;hp=02ad1dcd239a114bf399b7b57aedd34ba6412377;hpb=b3b303f037c2142d0a388dc25b420dd1bef61eef;p=friendica.git diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 02ad1dcd23..50a15788de 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("pause"); + $(document).keydown(function(event) { + if (!$("div#pause").html()){ + $("div#pause").html("pause"); + }}); + $(".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(); } + +