Y-SLD/assets/playkit/examples/js/demos/demos.js

11 lines
225 B
JavaScript

$(function() {
// sticky demos page header
new Waypoint.Sticky({
element: $('.demo-header'),
offset: 64
});
$('#contents-heading').on('click', function() {
$('#contents-index').slideToggle(500);
});
});