Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Gallery 0.2.3 and popup alignment

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2604 Views
  • antonio.volpon
    Avatar
    Community Member
    8 Posts

    Gallery 0.2.3 and popup alignment Link to this post

    Hello.

    I noticed that in Firefox the popup is not centered but on the right, while in Safari is centered. A colleague tried in Windows and had the same problem. If I return to Gallery 0.2.2 I have no problem with both.

    Thanks,
    Antonio

  • Fading
    Avatar
    Community Member
    15 Posts

    Re: Gallery 0.2.3 and popup alignment Link to this post

    I have the same problem. Good luck getting a response.

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Gallery 0.2.3 and popup alignment Link to this post

    I would assume it has something to do with the js lightbox script since that controls that.

    I'd suggest possibly looking into the gallery extension as it's a lot better and I believe will be merged into the gallery eventually.

    http://www.silverstripe.org/all-other-modules/show/250910

  • enno0815de
    Avatar
    Community Member
    1 Post

    Re: Gallery 0.2.3 and popup alignment Link to this post

    hey,

    I'm new in the forum and in the silverstripe framework! i just added the gallery module and get position failure on the popup!
    i solved this by compare the lightwindow.js from the module with the original js-file.

    Here the code-snippet that corupt my display:

    if (!this.windowActive) {
    // Position the window
    $('lightwindow_container').setStyle({
    left: this.dimensions.container.width/2 +'px',
    top: -(this.dimensions.container.height/2)+'px'
    });
    }

    hre the correct code:

    if (!this.windowActive) {
    // Position the window
    $('lightwindow_container').setStyle({
    left: -(this.dimensions.container.width/2)+'px',
    top: -(this.dimensions.container.height/2)+'px'
    });
    }

    i hope i could help anyone, and please, dont blam me if this is anywhere posted ;)

    greetz enno

    2604 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.