100% width jquery slider help

Out of context: Reply #8

  • Started
  • Last post
  • 15 Responses
  • lukus_W20

    I reckon any slider should be able to to this.

    Many jquery slider implementations take a parent element, and a bunch of child elements - and use the parent element as the 'viewport'.

    <div id="parent">
    <div class="child">[.... content ....]</div>
    <div class="child">[.... content ....]</div>
    <div class="child">[.... content ....]</div>
    <div class="child">[.... content ....]</div>
    <div class="child">[.... content ....]</div>
    </div>

    If you want the slider to span the whole page width - use CSS to reposition and widen the parent element.

View thread