Team:IIT Madras/Team
From 2012.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
}); | }); | ||
- | $(".stu_contents"). | + | $(".stu_contents").hover(function(){ |
- | var id = $(this).attr('id'); | + | var id = "#" + $(this).attr('id')+"contents"; |
- | + | $(id).show(); | |
- | }); | + | }, |
+ | function(){ | ||
+ | var id = "#" + $(this).attr('id')+"contents"; | ||
+ | $(id).hide(); | ||
+ | } | ||
+ | ); | ||
}); | }); | ||
Line 57: | Line 62: | ||
.inside_contents h1{color:white; margin-left:10px;} | .inside_contents h1{color:white; margin-left:10px;} | ||
- | |||
- | |||
- | |||
- | |||
</style> | </style> |
Revision as of 23:44, 10 September 2012