SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2011
    1 Post(s)
    0 Thread(s)

    Image preview shows below browser visibility?

    Hey Guys n' Girls,

    I've recently ran into a little problem when trying to add a mouse-over image previewer to my site. The code I'm currently using can be found here:

    Basically, the problem I've ran into is, when the image being previewed is towards the bottom of the page, it will preview below and not all of the image can be seen. If you are unsure what I mean, go to dynamicdrive's website, their demo is right there. Scroll all the way to the top and you will notice (Depending on your screen resolution) that the bottom portion of the image is cut off below and you cannot see it.

    What I'm trying to figure out, is how to preview the image so that it will not go below or above what you are seeing, so essentially, none of it will get cut off. I noticed that doesn't allow the image that is being previewed go above or below what is actually visible in your browser.

    Hopefully you understand what I am asking :P Any help would be greatly appreciated.


  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Whiteford, Maryland, United States
    13 Post(s)
    0 Thread(s)
    That site uses Javascript in order to make sure it never gets cut off. I'll ask a mod to move it over there.
    Always looking for web design/development work.

Tags for this Thread


Posting Permissions

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