|
|
Line 20: |
Line 20: |
| | | |
| jQuery('#menulin_interlab').addClass('current'); | | jQuery('#menulin_interlab').addClass('current'); |
− | function scrollToID(ida){ | + | |
− | $('body').scrollTo('#'+ida,{axis: 'y',duration: 350,margin:true,offset: -80});
| + | |
− | $('.button.active').removeClass('active');
| + | |
− | $(this).addClass('active');
| + | |
− | }
| + | |
| </script></header> | | </script></header> |
| <!-- Main --> | | <!-- Main --> |
Line 49: |
Line 45: |
| <article id="main"> | | <article id="main"> |
| | | |
− | <section id="interlab_design" class="wow bounceIn"> | + | |
| | | |
| <div class="content"> | | <div class="content"> |
− | <section> | + | <section id="interlab_design" class="wow bounceIn"> |
| <header> | | <header> |
| <h3 class="wow fadeInDown" style="visibility:hidden;">About Safety</h3> | | <h3 class="wow fadeInDown" style="visibility:hidden;">About Safety</h3> |
Line 67: |
Line 63: |
| <p>We also attended the “Health and safety at the workplace” course, which is mandatory for all students and workers at the University of Trento.</p> | | <p>We also attended the “Health and safety at the workplace” course, which is mandatory for all students and workers at the University of Trento.</p> |
| </section> | | </section> |
− | </div> | + | </div> |
− |
| + | |
− | </section> <!-- cd-timeline -->
| + | |
| | | |
| </article> | | </article> |
Line 80: |
Line 74: |
| </div> | | </div> |
| </div> | | </div> |
| + | |
| + | <script> |
| + | function scrollToID(ida){ |
| + | alert(ida); |
| + | $('body').scrollTo('#'+ida,{axis: 'y',duration: 350,margin:true,offset: -80}); |
| + | $('.button.active').removeClass('active'); |
| + | $(this).addClass('active'); |
| + | } |
| + | </script> |
| </html> | | </html> |