Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-carousel

Just a simple JavaScript carousel written in ES6, no frameworks other than Webpack and Babel for transpilation and bundling.

Demo

The images are specific to a place and are queried from Flickr's photo search API. The default is Seattle but if you want to see other places all you have to do is add the query string parameter ?place= with any place that you would like.

You can see a live demo at https://simplesthing.github.io/simple-carousel

#Usage

To use this carousel in your own webpage you will need an html page with the following things:

  • A DOM element with the id simple-carousel

    <div id="simple-carousel"></div>

  • A script tag with the carousel.js (found in the /dist directory)

    <script src="carousel.js"></script>

  • A link with the carousel.css (also found in the /dist directory)

    <link rel="stylesheet" href="carousel.css">

Development

If you would like to fork this repository and develop some of your own features a few steps will get you up and running.

npm install the dependencies, then you can run npm run dev for a webpack development server, and open your browser to http://localhost:8080/.

About

A simple JavaScript carousel

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages