DomovVyhľadať Kód / UserVytvoriť Kód PrihlásiťRegistrovať


WebCoder SK

Projektov

Registrovaných

Online Teraz

Návštev od počiatku










Top Najnovších kódov:          

HTML CSS JS
function hideshow(x) {
    setTimeout(function() {
    var t = document.getElementById(x);
    var s = document.getElementById('navbar');
    if(t.style.opacity == '0') {
        t.style.opacity = '1';
        t.style.width = 'auto';
        s.style.backgroundPosition = 'left bottom';
    } else {
        t.style.opacity = '0';
        s.style.backgroundPosition = 'right top';
    }
        var one = document.getElementById('one');
        var two = document.getElementById('two');
        var three = document.getElementById('three');
        if(one.style.opacity == '1') {
            one.style.opacity = '0';
            three.style.opacity = '0';
            two.style.width = '35%';
        } else {
            one.style.opacity = '1';
            three.style.opacity = '1';
            two.style.width = '60%';
        }
    }, 10, "fadeOut");
}
*
*
*
$('.gallery-link').magnificPopup
  type: 'image'
  closeOnContentClick: true
  closeBtnInside: false
  mainClass: 'mfp-with-zoom mfp-img-mobile'
  image: 
    verticalFit: true
    titleSrc: (item) ->
      item.el.find('figcaption').text() || item.el.attr('title')
  zoom:
    enabled: true
    # duration: 300
  gallery:
    enabled: true
    navigateByImgClick: false
    tCounter: ''
  disableOn: ->
    return false if $(window).width() < 640
    return true