10382 Posts in 2196 Topics by 1711 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2392 Views |
-
Gallery 0.2.3 and popup alignment

19 December 2008 at 10:13am
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 -
Re: Gallery 0.2.3 and popup alignment

20 December 2008 at 8:08pm
I have the same problem. Good luck getting a response.
-
Re: Gallery 0.2.3 and popup alignment

20 December 2008 at 8:43pm
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.
-
Re: Gallery 0.2.3 and popup alignment

29 December 2008 at 1:49pm
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
| 2392 Views | ||
|
Page:
1
|
Go to Top |




