PDA

View Full Version : Lightbox



naechild
02-21-2008, 03:49 PM
1) Script Title: properties for lightbox imageviewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:
i don't know exactly where to adjust the position of the light box when loaded.

jscheuer1
02-21-2008, 04:51 PM
It automatically centers itself. You can move it around using the css, where do you want it?

naechild
02-22-2008, 05:21 AM
I want it to center according to where the curser is on the browser. for instance - if my browser is 1600px and I am toggled to the right of the browser then I want my lightbox to move with me instead of staying in the place where it loaded.

jscheuer1
02-22-2008, 02:57 PM
I'm not sure what you mean. I don't think it would be very practical to follow the mouse (cursor). If it did that, it could just as easily end up off or mostly off of the viewable area of a page when scrolled to the right. I think that's what you are talking about, the fact that when the window is narrower than the page and the page is scrolled to the right and you hit a lightbox link, you have to scroll back to the left to see the full image in the lightbox. Is that what you are talking about?

naechild
02-23-2008, 01:50 AM
It sounds like you understand what I am talking about. here is a link to one of my pages that i started. - http://www.repoeter.com/commissions.htm.

here is how I want it to move - http://nicora.net/projects/photoViewer/index.cfm/demos

jscheuer1
02-23-2008, 07:39 AM
That looks like a very nice script, is there any reason why you wouldn't just use that one? I mean, it looks like it already does what you want.

naechild
02-27-2008, 03:20 AM
it works until I try and load it to my server - it won't load one of the javascripts for some reason -