From 2882012e1b3cb185423555485375a8196596f4f2 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sat, 12 May 2012 13:50:22 +0200 Subject: diabook-theme: some fixes --- view/theme/diabook/bottom.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/theme/diabook/bottom.tpl') diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 081199360..fc675e905 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -14,6 +14,9 @@ $(document).ready(function() { else $(this).attr("src",ifr_source+"?"+wmode); }); + + $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;"); + $(".autocomplete").attr("style", "width: 350px;color: black;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); }); -- cgit v1.2.3 From 9699d9cd019cb668afdf0e0c9c390d331fcc6240 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sat, 12 May 2012 16:11:46 +0200 Subject: diabook-theme: fix in earthlayers --- view/theme/diabook/bottom.tpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'view/theme/diabook/bottom.tpl') diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index fc675e905..0f8e61d97 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -17,7 +17,7 @@ $(document).ready(function() { $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;"); $(".autocomplete").attr("style", "width: 350px;color: black;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); - + }); $(document).ready(function(){ @@ -41,6 +41,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"); -- cgit v1.2.3 From 303856ce01983feec95539892a908b5d5a88f866 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 13 May 2012 20:51:39 +0200 Subject: diabook-theme: small fixes --- view/theme/diabook/bottom.tpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'view/theme/diabook/bottom.tpl') diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 0f8e61d97..50a15788d 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -16,8 +16,13 @@ $(document).ready(function() { }); $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;"); - $(".autocomplete").attr("style", "width: 350px;color: black;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); - + $("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(){ @@ -123,4 +128,6 @@ $(document).ready(function() { function cmtBbClose(id) { $(".comment-edit-bb-" + id).hide(); } + + -- cgit v1.2.3