Forums

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

Home Forums CSS display after layout

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44829
    mbroadbear
    Member

    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?

    #135467
    Rohithzr
    Participant

    wud be better if u create a pen

    #135468
    Senff
    Participant

    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

    #135469
    Rohithzr
    Participant

    > word

    Sorry, did i say something wrong?

    #135470
    TheDoc
    Member

    word == I agree

    #135473
    Rohithzr
    Participant

    oh didnt know!!
    thanks for info :)

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