Skip to content

Commit

Permalink
smooth scrolling on skipto.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Oct 16, 2024
1 parent 8c9ceb2 commit ec7d4d0
Show file tree
Hide file tree
Showing 114 changed files with 994 additions and 116 deletions.
2 changes: 1 addition & 1 deletion content/about/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../shared/css/core.css">
<script src="../shared/js/highlight.pack.js"></script>
<script src="../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/about/acknowledgements/acknowledgements.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/about/aria-basics/aria-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
4 changes: 2 additions & 2 deletions content/about/at-support-tables/at-support-tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div"
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div"
src="../../shared/js/skipto.js"></script>
</head>

Expand Down Expand Up @@ -119,4 +119,4 @@ <h3>Perform Your Own Tests</h3>
</main>
</body>

</html>
</html>
4 changes: 2 additions & 2 deletions content/about/change-history/change-history.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down Expand Up @@ -63,4 +63,4 @@ <h1>Change History</h1>
</ul>
</main>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script src="../../shared/js/examples.js"></script>
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<style>
.sr-only {position: absolute; top: -30em;}
table.summary th { width: 12em; }
Expand Down Expand Up @@ -2645,4 +2645,4 @@ <h3 id="example_mouse_pointer">Mouse and Pointer Events</h3>
</main>


</body></html>
</body></html>
2 changes: 1 addition & 1 deletion content/about/introduction/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/apg-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
</style>

<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="shared/js/skipto.js"></script>

</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion content/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script src="../shared/js/examples.js"></script>
<script src="../shared/js/highlight.pack.js"></script>
<script src="../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/patterns/accordion/accordion-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/patterns/accordion/examples/accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="../../../shared/js/examples.js"></script>
<script src="../../../shared/js/highlight.pack.js"></script>
<script src="../../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../../shared/js/skipto.js"></script>

<!-- JS and CSS for this example -->
<link rel="stylesheet" href="css/accordion.css">
Expand Down
2 changes: 1 addition & 1 deletion content/patterns/alert/alert-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../shared/css/core.css">
<script src="../../shared/js/highlight.pack.js"></script>
<script src="../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/patterns/alert/examples/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="../../../shared/js/examples.js"></script>
<script src="../../../shared/js/highlight.pack.js"></script>
<script src="../../../shared/js/app.js"></script>
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../../shared/js/skipto.js"></script>
<script data-skipto="colorTheme:aria; highlightTarget: smooth; displayOption:popup; containerElement:div" src="../../../shared/js/skipto.js"></script>

<!-- JS and CSS for this example -->
<link href="css/alert.css" rel="stylesheet">
Expand Down
Loading

0 comments on commit ec7d4d0

Please sign in to comment.