Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with jQuery Lightbox

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40833
    Raza
    Member

    Well its a simple light box image viewer thing I added on a page at my site, I’m using their script:
    http://fancybox.net/

    you can see its live version here:
    http://www.tradeglobus.com/advp/advp.php

    the problem is a little complicated for ‘me’, when I click the thumbnail to view large image size it shows another scroll bar besides the browser’s scroll bar.
    I don’t have any idea where to find its “Turn-Off Switch”.

    Please point me in the right direction,
    Many Thanks :)

    #114530
    Watson90
    Member

    Hi @Raza

    Your problem seems to be that in the CSS you (or the plugin code) has added some vertical scroll, probably there if the image is too large to fit on the screen. Make these changes and it goes away.

    Find this code below;

    .fancybox-lock .fancybox-overlay {
    overflow-x: auto;
    overflow-y: scroll;
    }

    And change it to;

    .fancybox-lock .fancybox-overlay {
    overflow: auto;
    }

    #114990
    Raza
    Member

    That’s it…….its done by deletion of just a single line !

    thanks mate….you’re a life saver ;)

    #114991
    Watson90
    Member

    You’re welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.