From 912c3ff63c2663c84f3c464f073b5e7c4492e9af Mon Sep 17 00:00:00 2001 From: rsesek Date: Sun, 21 Aug 2005 03:21:15 +0000 Subject: [PATCH] Widget info button now positioned correctly git-svn-id: svn://depot/macosx/trunk@7 ad1dcce9-c9fe-0310-b82b-83ea1733dbb0 --- RGB_Converter/RGB_Converter.wdgt/Widget.css | 8 ++++---- RGB_Converter/RGB_Converter.wdgt/Widget.js | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/RGB_Converter/RGB_Converter.wdgt/Widget.css b/RGB_Converter/RGB_Converter.wdgt/Widget.css index 3168ee9..9a33f22 100644 --- a/RGB_Converter/RGB_Converter.wdgt/Widget.css +++ b/RGB_Converter/RGB_Converter.wdgt/Widget.css @@ -23,10 +23,10 @@ body .flip { position: absolute; - bottom: 10px; - right: 10px; - width: 10px; - height: 10px; + bottom: 33px; + left: 12px; + width: 13px; + height: 13px; } #flip diff --git a/RGB_Converter/RGB_Converter.wdgt/Widget.js b/RGB_Converter/RGB_Converter.wdgt/Widget.js index 5a9e6a2..1f08bde 100644 --- a/RGB_Converter/RGB_Converter.wdgt/Widget.js +++ b/RGB_Converter/RGB_Converter.wdgt/Widget.js @@ -33,7 +33,6 @@ function show_back() document.getElementById("fliprollie").style.display = "none"; } - function hide_back() { var front = document.getElementById("front"); @@ -123,7 +122,7 @@ function animate() if (T >= animation.duration) { - clearInterval (animation.timer); + clearInterval(animation.timer); animation.timer = null; animation.now = animation.to; } @@ -136,7 +135,6 @@ function animate() animation.firstElement.style.opacity = animation.now; } - function limit_3 (a, b, c) { return a < b ? b : (a > c ? c : a); -- 2.22.5