[svn] Fixed setContentHeight to work properly for eye candy view, whilst removing it from the non-eyecandy view

This commit is contained in:
martin speleo
2009-07-03 21:29:02 +01:00
parent 7db1aae5ee
commit 4da6203828
2 changed files with 4 additions and 3 deletions

View File

@@ -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")