Team:SEU O China/Result
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 7: | Line 7: | ||
start=srcc.indexOf("#"); //返回 "? "在字串中第一次出现的位置 | start=srcc.indexOf("#"); //返回 "? "在字串中第一次出现的位置 | ||
end=srcc.length; //字串的长度 | end=srcc.length; //字串的长度 | ||
- | document.write(srcc.substring(start | + | document.write(srcc.substring(start,end)); |
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('.content').hide(); | $('.content').hide(); | ||
var name = $(this).attr('id'); | var name = $(this).attr('id'); | ||
- | $( | + | $('srcc.substring(start,end)').fadeIn(500); |
}); | }); | ||
</script> | </script> |
Revision as of 12:30, 25 September 2012