Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial AC2024 slides #267

Merged
merged 3 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added presentations/ac2024/Templates/Lato-Bold.woff
Binary file not shown.
Binary file not shown.
Binary file added presentations/ac2024/Templates/Lato-Italic.woff
Binary file not shown.
Binary file added presentations/ac2024/Templates/Lato-Regular.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2,323 changes: 2,323 additions & 0 deletions presentations/ac2024/Templates/b6plus.js

Large diffs are not rendered by default.

Binary file added presentations/ac2024/Templates/banner-dark.webp
Binary file not shown.
Binary file added presentations/ac2024/Templates/banner.webp
Binary file not shown.
64 changes: 64 additions & 0 deletions presentations/ac2024/Templates/iframe-fixup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// This script checks if the document is displayed inside an iframe or
// similar and if so:
//
// * adds target=_parent to links (unless they already have a
// target attribute), so the links replace the parent instead of
// opening inside the iframe, and
//
// * adds class=framed to the body element, so that the style sheet
// can apply suitable styles, if needed.
//
// This is useful, e.g., in HTML slides that use the Shower script
// (and probably other scripts, too) to allow the slides to be
// displayed inside iframe elements in another document. Add the
// script to the slides with:
//
// <script src="../path/to/iframe-fixup.js"></script>
//
// and then include a slide in an iframe with, e.g.:
//
// <iframe src="../path/to/slides.html?full#cover">
// <a href="../path/to/slides.html?full#cover">cover slide</a>
// </iframe>
//
// The "?full" at the end of the URL tells Shower, b6+ and similar
// slide frameworks to display a single slide; and the "#cover" tells
// them to display the slide that has id=cover.
//
// This script is not necessary with the b6+ slide framework, which
// already includes equivalent code. (But it is not harmful either.)
//
// Created: 19 December 2020
// Author: Bert Bos <bert@w3.org>


(function() {
"use strict";


// checkIfFramed -- apply some fixes if we are inside an iframe
function checkIfFramed()
{
var anchors, i;

// Check that we're not the top document and not yet marked.
if (window.parent != window &&
!document.body.classList.contains('framed')) {

// Add target=_parent to all hyperlinks that do not have a target.
anchors = document.getElementsByTagName('a');
for (i = 0; i < anchors.length; i++)
if (!anchors[i].hasAttribute('target'))
anchors[i].setAttribute('target', '_parent');

// Add a class to allow the style to do things.
document.body.classList.add('framed');
}
}


// Do it if the document has been loaded, otherwise as soon as it has been.
if (document.readyState !== 'loading') checkIfFramed();
else document.addEventListener('DOMContentLoaded', checkIfFramed);

})();
Binary file added presentations/ac2024/Templates/linen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading