m |
m |
||
Line 8: | Line 8: | ||
<html> | <html> | ||
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $('#fullpage').fullpage({ | ||
+ | navigation: true, | ||
+ | slidesNavigation: true, | ||
+ | }); | ||
+ | |||
+ | $('#moveSectionUp').click(function(e){ | ||
+ | e.preventDefault(); | ||
+ | $.fn.fullpage.moveSectionUp(); | ||
+ | }); | ||
+ | |||
+ | $('#moveSectionDown').click(function(e){ | ||
+ | e.preventDefault(); | ||
+ | $.fn.fullpage.moveSectionDown(); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
h1{ | h1{ | ||
Line 50: | Line 72: | ||
} | } | ||
</style> | </style> | ||
+ | </head> | ||
<main> | <main> | ||
<div id="fullpage"> | <div id="fullpage"> | ||
Line 64: | Line 87: | ||
</div> | </div> | ||
</main> | </main> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Revision as of 07:03, 30 August 2020