fixing scroll layout
This commit is contained in:
@ -815,6 +815,7 @@ dd {margin-left:20px;}
|
||||
|
||||
.alert {
|
||||
margin-bottom:10px;
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
a.accordion-toggle {
|
||||
|
@ -12,9 +12,9 @@ summary: "This page demonstrates how you the integration of a script called Scro
|
||||
{% endif %}
|
||||
|
||||
{% if site.output == "web" %}
|
||||
<script src="../../js/jquery.scrollTo.min.js"></script>
|
||||
<script src="../js/jquery.scrollTo.min.js"></script>
|
||||
<!-- local scroll must come after scrollTo, because localScroll is based on scrollTo, which is based on jQuery -->
|
||||
<script src="../../js/jquery.localScroll.min.js"></script>
|
||||
<script src="../js/jquery.localScroll.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
@ -233,6 +233,7 @@ $('#small-box-links').localScroll({
|
||||
</div> <!-- end row -->
|
||||
</div> <!-- end container -->
|
||||
|
||||
|
||||
{{site.data.alerts.note}} This was mostly an experiment to see if there was a better way to document a long JSON code example. I haven't actually used this approach in my own documentation.{{site.data.alerts.end}}
|
||||
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user