first slide
second slide
third slide
fourth slide

♦ ♦ ♦

Quick Start: Three Simple Steps

1. Include the jQuery and plugin files

Download the plugin and replace any instances of /path/to/ in the snippet below with what is appropriate for your hosting environment.

<link rel="stylesheet" href="/path/to/jquery.matrix.branding.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="/path/to/jquery.matrix.branding.js"></script>

2. Write/generate your markup

You must have one container element per slideshow. Within that element, there should be a DIV for every slide. The slide should contain an image for the background (assigned via the slide-background class) and a DIV for the optional slide content (assigned via the slide-content class).

<div id="branding">
  <div>
    <img src="image1.jpg" alt="" class="slide-background">
    <div class="slide-content">first slide</div>
  </div>
  <div>
    <img src="image2.jpg" alt="" class="slide-background">
    <div class="slide-content">second slide</div>
  </div>
  <div>
    <img src="image3.jpg" alt="" class="slide-background">
    <div class="slide-content">third slide</div>
  </div>
</div>

3. Initiate the branding area plugin

This snippet should go right before your closing </body> tag.

<script>
  $(function(){
    $("#branding").matrixBranding();
  });
</script>

♦ ♦ ♦

Demos

♦ ♦ ♦

Options

Expand All

The Branding Area plugin is built to look and function great without any additional configuration. If you'd like to customize a few things, the following options are available:

GitHub

This project is hosted and maintained on GitHub for you to use and abuse.