Advanced Search

Results 1 to 2 of 2

Thread: Centering enlarged image on page with Popup image viewer

  1. #1
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Centering enlarged image on page with Popup image viewer

    I'm using:
    http://www.dynamicdrive.com/style/cs...p-image-viewer

    However on mouseover, the images move out of the screen if the original thumb is close to the right edge...

    How can I solve this? Is it possible to center the enlarged image on the browser window-- same spot everytime perhaps?

    See problem here.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    yea it is possible right now its putting it to the left so many pixels and down so many pixels from left and top defined in
    .thumbnail:hover span{
    visibility: visible;
    top:20%;
    left:40%;
    position:fixed;
    }
    You can give each image different class for the first row then use the same class numbers for the row below as they correspond as you can see here http://www.bluewalrus.net/summer7.html I still havent gotten it quite right but its pretty close.

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
  •