Results 1 to 7 of 7

Thread: Lightbox

  1. #1
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox

    1) Script Title: properties for lightbox imageviewer

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

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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It automatically centers itself. You can move it around using the css, where do you want it?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it works until I try and load it to my server - it won't load one of the javascripts for some reason -

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •