Giter Site home page Giter Site logo

stanford_carousel's Introduction

#Stanford Carousel

Version: 7.x-2.3-dev

Maintainers: jbickar, meganem Changelog.txt

This module implements a carousel slideshow based on Twitter Bootstrap. It consists of a view, CSS, and JS. It depends on a content type, Stanford Slide. Choose a display block for presenting caption styles. Use the slide content type to configure caption position and color. Use the class "carousel-autoplay" on the block class to have your carousel autoplay (not recommended). Only place one carousel per page. Placing multiple carousels on the same page may lead to undesirable results. Special attention to accessibility has been taken in the construction of this feature.

Installation

Install this module like any other module. See Drupal Documentation

Requirements

This module requires either the Open Framework theme (tested and supported) or Twitter Bootstrap 2.x (not tested or supported outside of Open Framework, but should work).

Configuration

Nothing special needed.

Troubleshooting

If you are experiencing issues with this module try reverting the feature first. If you are still experiencing issues try posting an issue on the GitHub issues page.

Contribution / Collaboration

You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see GitHub's article on fork, branch, and pull requests

stanford_carousel's People

Contributors

boznik avatar cjwest avatar jbickar avatar kmakitan avatar meganem avatar pookmish avatar sherakama avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stanford_carousel's Issues

Target h2 for color overrides

Use this:
/* Carousel caption color */
.view.carousel .carousel-caption.carousel-dark {color: #EEEEEE;}
.view.carousel .carousel-caption.carousel-dark h2, .view.carousel .carousel-caption.carousel-dark h2 a, .view.carousel .carousel-caption.carousel-dark .slide-caption a { color: #EEEEEE; }
.view.carousel .carousel-caption.carousel-light {color: #000000; background:none repeat scroll 0 0 rgba(255, 255, 255, 0.75);}
.view.carousel .carousel-caption.carousel-light h2, .view.carousel .carousel-caption.carousel-light h2 a, .view.carousel .carousel-caption.carousel-light .slide-caption a { color: #000000; }

Make speed dependent on class added via blockclass

Have javascript scrape a number off a class to determine the speed of the slideshow.
e.g. carousel-autoplay-6000 or carousel-autoplay-8000
Use a switch statement in the javascript to control the number.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.