Difference between revisions of "Team:Cornell"
Line 6: | Line 6: | ||
overflow: hidden; | overflow: hidden; | ||
.fadein { position:relative; width:100%; left:80%; top:40%; } | .fadein { position:relative; width:100%; left:80%; top:40%; } | ||
+ | .fadein img { position:absolute; width:52%; left:44%; top:12%; } | ||
.fadein a {display:block;} | .fadein a {display:block;} | ||
</style> | </style> | ||
Line 13: | Line 14: | ||
setInterval(function(){ | setInterval(function(){ | ||
$('.fadein :first-child').fadeOut() | $('.fadein :first-child').fadeOut() | ||
− | .next(' | + | .next('a').fadeIn() |
.end().appendTo('.fadein');}, | .end().appendTo('.fadein');}, | ||
7000); | 7000); |
Revision as of 18:12, 18 September 2015