Template:Scroll
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script src="http://markgoodyear.com/labs/scrollup/js/jquery.scrollUp.min.js"></script> | <script src="http://markgoodyear.com/labs/scrollup/js/jquery.scrollUp.min.js"></script> | ||
<link rel="javascript" href="https://2013.igem.org/Team:Shenzhen_BGIC_0101/jquery.easing.min?action=raw&ctype=text/javascript" type="text/javascript" /> | <link rel="javascript" href="https://2013.igem.org/Team:Shenzhen_BGIC_0101/jquery.easing.min?action=raw&ctype=text/javascript" type="text/javascript" /> | ||
- | + | <style> | |
#scrollUp { | #scrollUp { | ||
bottom: 20px; | bottom: 20px; | ||
Line 30: | Line 30: | ||
scrollText: '<img src="https://static.igem.org/mediawiki/2013/8/87/Top.png" style="height: 38px; width: 38px; "/>', // Text for element, can contain HTML | scrollText: '<img src="https://static.igem.org/mediawiki/2013/8/87/Top.png" style="height: 38px; width: 38px; "/>', // Text for element, can contain HTML | ||
scrollTitle: 'top', // Set a custom <a> title if required. Defaults to scrollText | scrollTitle: 'top', // Set a custom <a> title if required. Defaults to scrollText | ||
- | activeOverlay: '# | + | activeOverlay: '#262626', // Set CSS color to display scrollUp active point, e.g '#00FFFF' |
zIndex: 138438 // Z-Index for the overlay | zIndex: 138438 // Z-Index for the overlay | ||
}); | }); |
Revision as of 03:07, 27 August 2013