Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS simple tabs integration

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34781
    dynamyc
    Member

    I implement in my gallery a tabbing system, I have two tabs “gallery1” and “gallery2”, first tab it’s ok but 2nd tab loads only 1 image, I think something is positioned incorrect in css because the javascript code is fine, but I can’t figure out what exactly.
    Take a look here

    #89139
    dynamyc
    Member

    I don’t think so because if you are refering to this

    //the image will be positioned on the center,
    //with width and height of 0px
    $this.css({
    'width' : '0px',
    'height' : '0px',
    'marginTop' : w_h/2 +'px',
    'marginLeft': w_w/2 +'px'
    });
    $preview.append($this);

    Is not from there, and if I remove the tabs the gallery is working fine…

    #89149
    dynamyc
    Member

    Thanks, if I remove the width=0px the gallery appears but as you’ve probably noticed the horizontal scrolling of thumbnails doesn’t work anymore…
    So I think the mistake is in my html markup ( the integration of the tabs in the gallery}

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.