Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 81: | Line 81: | ||
}) | }) | ||
$contentbox.dequeue().animate({opacity:1}, setting.fxtime*4, setting.fx); | $contentbox.dequeue().animate({opacity:1}, setting.fxtime*4, setting.fx); | ||
- | $effectref.dequeue().animate({left:$target.parent().position().left-$target.parent().outerWidth()*(1-1)/2+25, width:$target.parent().outerWidth()*1, height:150, opacity:0. | + | $effectref.dequeue().animate({left:$target.parent().position().left-$target.parent().outerWidth()*(1-1)/2+25, width:$target.parent().outerWidth()*1, height:150, opacity:0.5}, setting.fxtime, setting.fx) |
$target.dequeue().animate({color:colorsarray[$target.parent().index()]}, setting.fxtime, setting.fx) | $target.dequeue().animate({color:colorsarray[$target.parent().index()]}, setting.fxtime, setting.fx) | ||
if (setting.defaultselectedBool==0) //if there is no default selected menu item | if (setting.defaultselectedBool==0) //if there is no default selected menu item |
Revision as of 21:08, 24 June 2011