Forums

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

Home Forums JavaScript Drag/swipe table whose center column edges snap to viewport

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42651
    bugmenot
    Member

    I have a wide table – a back to back stem-and-leaf display. Departure hours are in a center column, while inbound and outbound minutes radiate either side. Simplified:

    http://codepen.io/anon/pen/CskDK

    I can’t see how to make the entire table draggable/swipe-able, while the centre column’s left and right edges are sticky to the viewport edges.

    Another image may help:

    http://static.cubiq.org/uploads/2011/10/swipeview-wf.png

    Here the table is in red (although the center column is too wide). P1 needs to have sticky sides to stick to the viewport on left or right swipe.

    jQuery has a gazillion options, none of which seem to cover this scenario. Did I miss something?

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.