CSS horizontal scrolling overflow with jQuery slider

后端 未结 2 1563
無奈伤痛
無奈伤痛 2021-01-06 21:08

I\'m trying to setup a full screen jquery slider. I\'ve broken the project into two steps 1) css and 2) js.

1) CSS, below is a picture of what I\'m

相关标签:
2条回答
  • 2021-01-06 21:33

    Look that thing: http://apirocks.com/html5/html5.html (Test with Chrome)

    0 讨论(0)
  • 2021-01-06 21:37

    You would need to start by setting the css of the container div to have a fixed width and overflow set to hidden so only what is within the area shows up:

    #container{
      width:500px;
      height:200px;
      overflow:hidden;
    }
    

    How did you want the slider to work? Automatic? Button press? there are a few plugins that could probably take care of it automatically

    0 讨论(0)
提交回复
热议问题