Skip to content

heldinz/html5slides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Slide Template

Using the template

  • Download the template project using the 'ZIP' button from GitHub.
  • Unzip the files
  • Edit index.html (you can change the name of course) to add your slides
  • Each <article> created within the following section is a slide: <section class='slides layout-regular template-akquinet'></section>
  • The template-akquinet class controls which logo appears on each slide.

Changing the template path

If you want to customize the location of the template, you need to update the TEMPLATE_PATH variable before loading the script:

<!-- Customize TEMPLATE_PATH, default is to offline -->
<script>
  //var PERMANENT_URL_PREFIX = 'http://html5-slides-template.googlecode.com/git/';
  //var TEMPLATE_PATH=PERMANENT_URL_PREFIX + "template/";
</script>

By default, _TEMPLATE_PATH is set to template/. You can change it to whatever you want, but we've provided a URL at which you can find the default styles.

If you want to keep everything online (so that you can distribute one single HTML file, if you have linked all your slide images from, say, Dropbox for example), you can change the location of slides.js too.

<!-- Default to using offline resources -->
<script src='slides.js'>&#160;</script>
<!-- Alternatively, load everything remotely, even slides.js -->
<!--script src='http://html5-slides-template.googlecode.com/git/slides.js'>&#160;</script-->

Updating the style

The style is developed with LESS.

  1. Update the styles.less file.

  2. Recompile the the less file with:

    lessc styles.less styles.css

Adding themes

  • Add logos to templates/images.
  • Add styles to styles.less and recompile.
  • Replace the template-akquinet class in your HTML file with your new theme name.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published