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
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…
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}
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.