www.webdeveloper.com
Results 1 to 3 of 3

Thread: Need help to center align scrollbar when using lightbox popup

  1. #1
    Join Date
    Aug 2012
    Posts
    8

    Need help to center align scrollbar when using lightbox popup

    Hi!
    Please have a look at my test-website here: http://goo.gl/ONvDs

    If you click on the first photo (panorama called "test"), you will see that it will "cut" the photo if the width of browser is narrower than the photo. The scroller is aligned "left", and is not possible to show more of the photo on the left side of it.

    Could anyone with some good css skills help me if there is some easy fix to this in the css? I guess you may use firebug to have a look at the css-code.
    I would like to have the scollbar center aligned.. so that it is possible to view the complete image by dragging the scrollbar left<>right

    Sorry about my english

    /KH

  2. #2
    Join Date
    Aug 2012
    Posts
    1

    Equipment Validation

    Our professionals use state-of-the-art software, including such modeling programs as AutoCAD, SolidWorks, and Pro Engineer to design and analyze your planned mechanisms prior to manufacturing actual prototypes. This service saves you time and money, as you can review these digital representations and make changes before ordering the assembly of the prototype.

  3. #3
    Join Date
    Aug 2012
    Location
    Greece
    Posts
    5
    I believe you'll need some js to do that, since you already have jquery, you may use some callback function in the ligtbox event, put the window width in a variable and use scrollLeft to move it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles