summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authormartin speleo <martin.speleo@gmail.com>2009-07-03 21:29:02 +0100
committermartin speleo <martin.speleo@gmail.com>2009-07-03 21:29:02 +0100
commit7dce545b4cfa628423c1fcc8a5c0ca0e9bc7b324 (patch)
tree2c9b98fcee4256ff821a634925c0ba44845123f7 /media
parent50ae2a27f2d1798449fdff8d1ee47f2b45adcfd2 (diff)
downloadtroggle-7dce545b4cfa628423c1fcc8a5c0ca0e9bc7b324.tar.gz
troggle-7dce545b4cfa628423c1fcc8a5c0ca0e9bc7b324.tar.bz2
troggle-7dce545b4cfa628423c1fcc8a5c0ca0e9bc7b324.zip
[svn] Fixed setContentHeight to work properly for eye candy view, whilst removing it from the non-eyecandy view
Diffstat (limited to 'media')
-rw-r--r--media/js/base.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/js/base.js b/media/js/base.js
index be96eaa..9f549ed 100644
--- a/media/js/base.js
+++ b/media/js/base.js
@@ -76,6 +76,7 @@ $(hoverLink).bind('mouseout',
};
function showEyeCandy(){
+contentHeight();
switchStylestyle("eyeCandy");
$("#eyeCandyFooterPopUps").load("/eyecandy");
$(".leftMargin,.rightMargin").show();
@@ -85,7 +86,7 @@ linkHover("#cavesLink","#richardBanner");
linkHover("#caversLink","#timeMachine");
linkHover("#surveyBinderLink","#surveyHover");
linkHover("#troggle","#timeMachine");
-contentHeight();};
+};
function killEyeCandy(){
$("#content").removeAttr("style")