JSFiddle

  • Fullscreen API Test with Modenizr #3 is the latest revision

    https://gist.github.com/1336232

    Modernizr.addTest('fullscreen', function() {
        var ancelFullScreen = 'ancelFullScreen';
        if (document.mozCancelFullScreen && !document.mozFullScreenEnabled) return false;
    
        var limit = Modernizr._domPrefixes.length;
        for (var i = 0; i ...
  • JQuery UI Slider with a sun #4 is the latest revision

    Sample code for a JQuery UI slider with a glowing sun!

    $("#slider").slider({
        value: 20,
        min: 0,
        max: 100,
        step: 1,
        slide: function(event, ui) {
            $("#slider-value").html(ui.value);
            $('#sun').attr ...