Kwicks Example: Panel Classes

Kwicks example showing the use of kwicks-expanded and kwicks-selected panel classes.



<!DOCTYPE html>
        <title>Kwicks Active/Expanded Classes Example</title>

        <link rel='stylesheet' type='text/css' href='../jquery.kwicks.css' />
        <style type='text/css'>
            .kwicks {
                width: 515px;
                height: 100px;
            .kwicks > li {
                height: 100px;
                background-color: #53b388;
                /* overridden by kwicks but good for when JavaScript is disabled */
                width: 125px;
                margin-left: 5px;
                float: left;
            .kwicks > li.kwicks-collapsed { background-color: #319155; }
            .kwicks > li.kwicks-expanded { background-color: #86e6bb; }
            .kwicks > li.kwicks-selected { background-color: #ff7744; }

        <ul id='example' class='kwicks kwicks-horizontal'>

        <script src='js/jquery-1.8.1.min.js' type='text/javascript'></script>
        <script src='../jquery.kwicks.js' type='text/javascript'></script>

        <script type='text/javascript'>
            $(function() {
                    maxSize : 250,
                    behavior: 'menu',
                    deselectOnClick: true