... | in html5_impl.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
<override_macro name="html5_impl" parameters="head,body" requires="servlet">
<n.page_start/>
<n.nabble_html>
<do>
<n.put_in_head.head/>
<n.body/>
<n.load_call_later_script/>
</do>
<output>
<![CDATA[<!DOCTYPE html>]]>
<html>
<head>
<![CDATA[<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">]]>
<n.html5_stylesheets/>
<n.html5_javascript_libraries/>
<n.html_head_content/>
</head>
<body>
<div class="nabble macro_[n.page_template/]" id="nabble">
<n.apply_filters.html_body_content/>
</div>
<n.bottom_scripts/>
<n.as_html_comments.site_information/>
<script>
var header = $('.menu__forum'),
scrollPrev = 0;
$(window).scroll(function() {
var scrolled = $(window).scrollTop();
if ( scrolled > 100 && scrolled > scrollPrev ) {
header.addClass('out');
} else {
header.removeClass('out');
}
scrollPrev = scrolled;
});
</script>
</body>
</html>
</output>
</n.nabble_html>
</override_macro>
|
... | in mobile.naml |
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<macro name="html5_impl" parameters="head,body" requires="servlet">
<n.page_start/>
<n.nabble_html>
<do>
<n.put_in_head.head/>
<n.body/>
<n.load_call_later_script/>
</do>
<output>
<![CDATA[<!DOCTYPE html>]]>
<html>
<head>
<![CDATA[<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">]]>
<n.html5_stylesheets/>
<n.html5_javascript_libraries/>
<n.html_head_content/>
</head>
<body>
<div class="nabble macro_[n.page_template/]" id="nabble">
<n.apply_filters.html_body_content/>
</div>
<n.bottom_scripts/>
<n.as_html_comments.site_information/>
</body>
</html>
</output>
</n.nabble_html>
</macro>
|
Free forum by Nabble | Edit this page |