开发者

Galleria - imagePosition problem in IE8 (galleria.aino.se)

开发者 https://www.devze.com 2023-03-16 06:22 出处:网络
I have created a website for a makeup artist, and I am using Galleriato the portfolio. I have a problem with the imagePosition property in IE8. Even if i use imagePosition: \'center\', is the image po

I have created a website for a makeup artist, and I am using Galleria to the portfolio. I have a problem with the imagePosition property in IE8. Even if i use imagePosition: 'center', is the image positioned to the left in IE8. (The other browsers centers the image)

Here is the code:

function initGalleria(){
      $('#galleria').galleria({
        debug:true,
        imageCrop:'height',
        imagePan:true,
        imagePanSmoothness:10,
        imagePosition:'center',
        transition:'fade',
        transitionSpeed:500,
        idleTime:1000,
        queue:false,
        extend: function() {
            this.attachKeyboard({
                left: this.prev, // applies the native prev() function
                right: this.next
            });
            this.addIdleState(this.get('thumbnails-container'), {
                opacity: 0
            });
         开发者_开发百科   this.addIdleState(this.get('info-link'), {
                opacity: 0
            });
        }
    });
}

... and a link to the website I'm working on.

Do you have any advice?

Thanks.


@swenedo I don't know what wrong with your code. It's absolute right. I tested it on Chrome 10, FF 4, IE 8 and it got nothing wrong. I posted a screen picture when I open your website on IE8, it's in center.

Galleria - imagePosition problem in IE8 (galleria.aino.se)

0

精彩评论

暂无评论...
验证码 换一张
取 消