About changing X,Y on Lightbox

webactor

Avatar: webactor

2008-09-18 11:39

Hi friends

Really hope you can help me here.
How do i change the X,Y coridnate for the lightbox image.

Ex. Take a look here:
http://opensolution.org/Quick.Cms/demo_lite/

1. Try to click the first image on the site.
2. You can see that the image is around 50/80px from the top.
- How do i change it to ex. 200px from top ?

I know it is in the /templates/plugins.css.
but i just can´t find the tag that changes the distance to the top.


C yaa | Cheers

Kimo
Webactor.dk

» Quick.Cms v2.x

webactor

Avatar: webactor

2008-09-18 13:58

Got it.

It´s in the /core/litebox-1.0.js file - near line 250 - where it says
var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 15);

Change to ex.
var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 2.5);

Then you move the image up, or down.

C yaaaa | Cheers

Kimo
Webactor.dk

Back to top
about us | contact