Team:Hong Kong-CUHK/Laboratory/log book
From 2011.igem.org
(Difference between revisions)
Line 59: | Line 59: | ||
-moz-transition: opacity .25s ease-in; | -moz-transition: opacity .25s ease-in; | ||
opacity:0; | opacity:0; | ||
+ | } | ||
+ | div.show{ | ||
+ | opacity:1; | ||
} | } | ||
</style> | </style> | ||
Line 85: | Line 88: | ||
if(previous_id=='')previous_id='div#nosel'; | if(previous_id=='')previous_id='div#nosel'; | ||
$(previous_id).addClass('hideous'); | $(previous_id).addClass('hideous'); | ||
+ | $(previous_id).removeClass('show'); | ||
var string_id='weekgroup'+object.getAttribute('qid'); | var string_id='weekgroup'+object.getAttribute('qid'); | ||
$('div#'+string_id).removeClass('hideous'); | $('div#'+string_id).removeClass('hideous'); | ||
+ | $('div#'+string_id).addClass('show'); | ||
previous_id='div#'+string_id; | previous_id='div#'+string_id; | ||
//alert(object.getAttribute('qid')); | //alert(object.getAttribute('qid')); |
Revision as of 13:06, 5 October 2011