fixing scroll layout

This commit is contained in:
Tom Johnson
2016-01-21 20:39:17 -08:00
parent 900467242e
commit 923ede8c90
2 changed files with 4 additions and 2 deletions

View File

@ -815,6 +815,7 @@ dd {margin-left:20px;}
.alert { .alert {
margin-bottom:10px; margin-bottom:10px;
margin-top:10px;
} }
a.accordion-toggle { a.accordion-toggle {

View File

@ -12,9 +12,9 @@ summary: "This page demonstrates how you the integration of a script called Scro
{% endif %} {% endif %}
{% if site.output == "web" %} {% 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 --> <!-- 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> <script>
@ -233,6 +233,7 @@ $('#small-box-links').localScroll({
</div> <!-- end row --> </div> <!-- end row -->
</div> <!-- end container --> </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}} {{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 %} {% endif %}