Git Product home page Git Product logo

nkg / awkward-showcase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 06b/awkward-showcase

0.0 3.0 0.0 789 KB

Awkward Showcase is a plugin for the JavaScript Framework jQuery. We call it a Content Slider. But it can do more then just slide the content. For example you can add tooltips, enable thumbnails, activate dynamic height and lots more. Since version 1.0 it's integrated with our Viewline Plugin enabling new innovative ways for displaying content on your website.

Home Page: http://www.awkwardgroup.com/sandbox/awkward-showcase-a-jquery-plugin/

awkward-showcase's Introduction

Awkward Showcase - A jQuery Plugin

Awkward Showcase is a plugin for the JavaScript Framework jQuery. We call it a Content Slider. But it can do more then just slide the content. For example you can add tooltips, enable thumbnails, activate dynamic height and lots more.

Since version 1.0 it's integrated with our Viewline Plugin enabling new innovative ways for displaying content on your website.

Some Nice Features

Compatibility Compatible with all the Major Browsers (Win & Mac).

Captions Advanced positioning with different animations.

Tooltips Position tooltips based on x- and y-coordinates.

Thumbnails Enable thumbnails, both horizontal and vertical.

100% CSS The look of Awkward Showcase is 100% customizable via CSS.

View Modes Different View Modes (now integrated with Viewline).

Dynamic Height Enabling the showcase to change height based on content.

Easy Implementations The showcase i easy to implement and very easy to customize in CSS.

Lots more A slide can contain any type of HTML element. It's an infinity slide. Etc.

Implementation Example

<!DOCTYPE html>
<html>
<head>
<title>Awkward Showcase - Demo #1</title>
<link rel="stylesheet" href="css/style.aw-showcase.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.aw-showcase.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
    $("#showcase").awShowcase(
    {
        content_width:  700,
        content_height: 470
    });
});
</script>
</head>
<body>

<div id="showcase" class="showcase">
    <!-- Each child div in #showcase represents a slide -->
    <div class="showcase-slide">
        <!-- Put the slide content in a div with the class .showcase-content -->
        <div class="showcase-content">
            <!-- If the slide contains multiple elements you should wrap them in a div with the class
            .showcase-content-wrapper. We usually wrap even if there is only one element,
            because it looks better. -->
            <div class="showcase-content-wrapper">
                <img src="images/01.jpg" alt="01" />
            </div>
        </div>
        <!-- Put the caption content in a div with the class .showcase-caption -->
        <div class="showcase-caption">
            The Caption
        </div>
        <!-- Put the tooltips in a div with the class .showcase-tooltips. -->
        <div class="showcase-tooltips">
            <!-- Each anchor in .showcase-tooltips represents a tooltip.
            The coords attribute represents the position of the tooltip. -->
            <a href="http://www.awkward.se" coords="634,130">
                <!-- The content of the anchor-tag is displayed in the tooltip. -->
                This is a tooltip that displays the anchor html in a nice way.
            </a>
            <a href="http://www.awkward.se" coords="356, 172">
                <!-- You can add multiple elements to the anchor-tag which are display in the tooltip. -->
                <img src="images/glasses.png" />
                <span style="display: block; font-weight: bold; padding: 3px 0 3px 0; text-align: center;">
                    White Glasses: 500$
                </span>
            </a>
        </div>
    </div>
    <div class="showcase-slide">
        <div class="showcase-content">
            <div class="showcase-content-wrapper">
                Content...
            </div>
        </div>
    </div>
</div>

</body>
</html>

Configuration Options

Property Default Options
content_width 700
content_height 400
fit_to_parent false
auto false
interval 3000
continuous false
loading true
tooltip_width 200
tooltip_icon_width 32
tooltip_icon_height 32
tooltip_offsetx 18
tooltip_offsety 0
arrows true
buttons true
btn_numbers false
keybord_keys false
mousetrace false
pauseonover true
stoponclick true
transition: vslide 'vslide', 'hslide' or 'fade'
transition_delay: 300
transition_speed: 500
show_caption: onload 'onload', 'onhover' or 'show'
thumbnails: false
thumbnails_position: outside-last 'outside-last', 'outside-first', 'inside-last' or 'inside-first'
thumbnails_direction: vertical 'vertical' or 'horizontal'
thumbnails_slidex: 0 0 = auto / 1 = slide one thumbnail / 2 = slide two thumbnails / etc.
dynamic_height: false
speed_change: false
viewline: false
start_at: 0
custom_function null
custom_slide_function null

awkward-showcase's People

Contributors

06b avatar

Watchers

 avatar  avatar  avatar

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.