How do you slide a table row/column smoothly?

A

Amir Michail

Hi,

In my Numbrosia Puzzle, players can rotate columns and rows in a
table:

http://numbrosia.com

How could I make this row/column rotation smooth?

For example, when rotating a row with numbers 1, 2, 3, 4, 5 to the
right, I would like the row to smoothly shift to the right with the 5
splitting up so that part of it starts to appear on the left.

Amir
 
T

Thomas 'PointedEars' Lahn

Amir said:
In my Numbrosia Puzzle, players can rotate columns and rows in a
table:

http://numbrosia.com

How could I make this row/column rotation smooth?

For example, when rotating a row with numbers 1, 2, 3, 4, 5 to the
right, I would like the row to smoothly shift to the right with the 5
splitting up so that part of it starts to appear on the left.

If those were not table cells but block-level elements that are preferably
element siblings, you could use calls of window.setTimeout() to trigger
itself (and eventually only window.clearTimeout()) to implement that
animation. I have been working on an animation framework to do just that
but it is not production quality as of yet.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top