Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
emse:students [2015/03/16 15:39] cnguyen |
emse:students [2015/03/16 15:44] cnguyen |
||
---|---|---|---|
Line 386: | Line 386: | ||
if($(_this).attr('active')=='no'){ | if($(_this).attr('active')=='no'){ | ||
$(_this).attr('active','yes') | $(_this).attr('active','yes') | ||
- | $(_this).next('div').css('display','inline-block') | + | $(_this).next().next('div').css('display','inline-block') |
- | $(_this).children().text('▲') | + | $(_this).children().text('▼') |
+ | |||
} | } | ||
else | else | ||
{ | { | ||
$(_this).attr('active','no') | $(_this).attr('active','no') | ||
- | $(_this).next('div').css('display','none') | + | $(_this).next().next('div').css('display','none') |
- | $(_this).children().text('▼') | + | $(_this).children().text('▲') |
} | } |