Grow your CSS skills. Land your dream job.

display after layout

  • # May 16, 2013 at 4:08 pm

    When I first enter a page with an instance of anythingslider on it, the right scrollbar appears for an instant before the javascript kicks in and sets up the slider on the page. Is there a way around this so all a visitor will see is the finished slider instead of one being constructed?

    # May 17, 2013 at 3:08 pm

    wud be better if u create a pen

    # May 17, 2013 at 3:18 pm

    What I usually do, is give the container (the one that has the scrollbar for a second) a fixed width and height and overflow:hidden;. Though to be honest, I feel it’s a bit like cleaning up a problem when I’m certain the problem itself can be avoided in the first place. Another solution could be to make the slider contents hidden (with 0 opacity, not display:none; or visibility:hidden and then only make them visible once the slider plugin is ready.

    > wud be better if u create a pen

    word

    # May 17, 2013 at 3:25 pm

    > word

    Sorry, did i say something wrong?

    # May 17, 2013 at 3:25 pm

    word == I agree

    # May 17, 2013 at 3:28 pm

    oh didnt know!!
    thanks for info :)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".