Anton Shestakov <av6@dwimlabs.net>, Wed, 22 Jun 2016 16:30:06 +0800
demo: update static files, use HTTPS with SRI
demo-foundation4.html
Permissions: -rw-r--r--
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Lensy with Foundation 4 Styles
</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/css/normalize.min.css" integrity="sha384-zxROAK5BT0FRGDUiAe1CvXV24iUnlRsBUYyxIt7fQJhyBCwn7IZblgTJYdu1sUgP" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/css/foundation.min.css" integrity="sha384-e9rrpgEyKA9gUh5y4eZ9R4DeV3q1ZZWQuAnlLJnd01fFnUi/AnGrTjz3ybq7VInX" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css" integrity="sha384-AkqcRujKtNDdBHrbDApQnhQjawj/rwmEPiHw7WWmBdH8nQjKsfJG96G8MK30WU80" crossorigin="anonymous"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha384-rY/jv8mMhqDabXSo+UCggqKtdmBfd3qC2/KvyTDNQ6PcUJXaxK1tMepoQda4g5vB" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/js/vendor/custom.modernizr.min.js" integrity="sha384-dUoQhOboXjhDZ8t5MVs6Vvwntul36NfaeABwzxd4QDyc03kalMmB9fU3fTB2aBdq" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.js" integrity="sha384-ihFowtLatdMq7geOs1tSO3Y5yXQVT0B2jUG5RR6SnQYKluMoJ61w03yIT1ezGFXn" crossorigin="anonymous"></script> <script src="jquery.lensy.js"></script> <style id="page-niceties"> border: 1px solid #cccccc; content: 'Live clickable <select>'; border: 1px solid #cccccc; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); .lensy-widget .lensy-item { <body class="antialiased"> <div class="small-12 columns"> <h2>Lensy with Foundation 4 Styles
</h2> <select multiple name="colors" style="width: 200px;"> <option selected>#0e90d2
</option> <option selected>#4bb1cf
</option> $.extend($.fn.lensy.defaults, { modalClass: 'lensy-modal reveal-modal open', containerClass: 'inline-list', widgetClass: 'lensy-widget inline-list', closeButtonClass: 'button', itemFn: function(value, text) { var colorbox = $('<div>').css({width: '64px', height: '64px', background: text}); $('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"></div> <pre id="css" class="prettyprint lang-css"></pre> <pre id="js" class="prettyprint lang-js"></pre>