(Created page with "{{:Team:Tianjin/Templates/AddCSS|:Team:Tianjin/css/material/kit}} {{:Team:Tianjin/Templates/AddCSS|:Team:Tianjin/css/material/bootstrap}} <nav class="navbar navbar-default" r...") |
|||
Line 2: | Line 2: | ||
{{:Team:Tianjin/Templates/AddCSS|:Team:Tianjin/css/material/bootstrap}} | {{:Team:Tianjin/Templates/AddCSS|:Team:Tianjin/css/material/bootstrap}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 40: | Line 8: | ||
{{:Team:Tianjin/Templates/AddJS|:Team:Tianjin/js/material/bootstrap}} | {{:Team:Tianjin/Templates/AddJS|:Team:Tianjin/js/material/bootstrap}} | ||
{{:Team:Tianjin/Templates/AddJS|:Team:Tianjin/js/material/jquery}} | {{:Team:Tianjin/Templates/AddJS|:Team:Tianjin/js/material/jquery}} | ||
+ | |||
+ | <html lang="en"> | ||
+ | <script> | ||
+ | var header_height; | ||
+ | var fixed_section; | ||
+ | var floating = false; | ||
+ | |||
+ | $().ready(function(){ | ||
+ | suggestions_distance = $("#suggestions").offset(); | ||
+ | pay_height = $('.fixed-section').outerHeight(); | ||
+ | |||
+ | $(window).on('scroll', materialKit.checkScrollForTransparentNavbar); | ||
+ | |||
+ | // the body of this function is in assets/material-kit.js | ||
+ | materialKit.initSliders(); | ||
+ | }); | ||
+ | </script> | ||
+ | </html> |
Revision as of 08:04, 2 July 2016