From bb2e003f9f3362fca15272f527a6f87543ec1a21 Mon Sep 17 00:00:00 2001 From: tim b Date: Thu, 24 Jun 2010 23:13:08 -0700 Subject: add fav to permalinks, link to conextual domain for local testing, longer fadeout on fav, cleanup some html --- static/js/pichat.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'static/js/pichat.js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 5f66ee2..7b60071 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -240,9 +240,16 @@ function removeFavAndHideBox() { function showFav(f) { $('#favbox').show(); - buildFav(f).appendTo('#favbox').fadeOut(5000, removeFavAndHideBox); + buildFav(f).appendTo('#favbox').animate( + {"opacity": 0}, + {"duration": 9000, + "easing": "easeInExpo", + "complete": removeFavAndHideBox + }) + } + function updateFavs(fs) { if (fs.length == 0) return; -- cgit v1.2.3-70-g09d2