Daguerrotype provides a simple photo slideshow library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE.md
Makefile
README.md

README.md

General


Author

  • Josh McIntyre

Website

  • jmcintyre.net

Overview

  • Daguerrotype provides a simple photo slideshow library

Development


Git Workflow

  • master for releases (merge development)
  • development for bugfixes and new features

Building

  • make build Build the library
  • make clean Clean the build directory

Features

  • Ability to specify photo directory and filenames
  • Ability to specify viewer size

Requirements

  • Requires Javascript

Platforms

  • Firefox
  • Chrome

Usage


Library Usage

  • Include the Daguerrotype library and configuration scripts

    <script src="daguerrotype.js" type="text/javascript"></script> <script src="daguerrotypeConfig.js" type="text/javascript"></script>

  • Add a photo container div with the id named in the Daguerrotype configuration file

    <div id="sample_photo_container"></div>

  • Add previous and next buttons that call your slideshow instances' previous and next functions

    <div> <button type="button" onclick="sampleSlideshow.previous()" class="photo_button">Previous</button> <button type="button" onclick="sampleSlideshow.next()" class="photo_button">Next</button> </div>