Team:Edinburgh/header
From 2012.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
function blind_down(tab){ | function blind_down(tab){ | ||
if(current_page != tab){ | if(current_page != tab){ | ||
- | Effect.BlindDown(tab + '-tab-img', {duration: 0.5}) | + | Effect.BlindDown(tab + '-tab-img', {duration: 0.5}, {queue: front}) |
- | Effect.BlindDown(tab + '-tab-description', {duration: 0.5}) | + | Effect.BlindDown(tab + '-tab-description', {duration: 0.5}, {queue: front}) |
} | } | ||
} | } | ||
Line 26: | Line 26: | ||
function blind_up(tab){ | function blind_up(tab){ | ||
if(current_page != tab){ | if(current_page != tab){ | ||
- | Effect.BlindUp(tab + '-tab-img', {duration: 0.5}) | + | Effect.BlindUp(tab + '-tab-img', {duration: 0.5}, {queue: end}) |
- | Effect.BlindUp(tab + '-tab-description', {duration: 0.5}) | + | Effect.BlindUp(tab + '-tab-description', {duration: 0.5}, {queue: end}) |
} | } | ||
} | } |
Revision as of 12:54, 7 September 2012