Anton Shestakov <engored@ya.ru>, Sun, 05 May 2013 20:12:26 +0900
3 separate demo pages: minimal css, Bootstrap and Foundation 4.
demo-bootstrap.html
Permissions: -rw-r--r--
<title>Lensy with Bootstrap Styles
</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet"> <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css" rel="stylesheet"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <script src="jquery.lensy.js"></script> <style id="page-niceties"> -webkit-border-radius: 4px; background-color: #f5f5f5; -webkit-border-radius: 4px 0 4px 0; -moz-border-radius: 4px 0 4px 0; border-radius: 4px 0 4px 0; padding: 39px 8px 8px 8px; background-color: #f7f7f9; border: 1px solid #e1e1e8; -webkit-border-radius: 4px; content: 'Live clickable <select>'; <div class="page-header"> <h2>Lensy with Bootstrap Styles
</h2> <select multiple name="colors"> <option selected>#5eb95e
</option> <option selected>#faa732
</option> modalClass: 'lensy-modal modal', containerClass: 'inline', widgetClass: 'lensy-widget inline well well-small', itemActiveClass: 'thumbnail', itemFn: function(value) { var colorbox = $('<div>').css({width: '64px', height: '64px', background: value}); $('select').appendTo('#live-select').show(); $('pre#css').text($('#lensy-css').text().trim().replace(/^ {6}/gm, '').replace(/}/g, '}\n')); $('pre#js').text($('#lensy-js').text().trim().replace(/^ {12}/gm, '')); <div id="live-select" class="example"></div> <pre id="css" class="prettyprint lang-css"></pre> <pre id="js" class="prettyprint lang-js"></pre> <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>