If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

how to move the rows to the left using with keyboard?

Hi guys,

I need your help as I has got a problem with my JavaScript. I got four rows of div with each different rows size. I can be able to move the yellow row to the right on each small row using with the keyboard right arrow button while i can be able to move the small rows to the left.

The problem I has got I can be able to move the yellow row to the big row, but I can't be able to move the big rows to the left when I press on the keyboard right arrow button.

var displayrowcount = 6; //is using for to hide other channels
var rowheight = 42;
var rowwidth = 1053; //is using for how much width the row is going to display while hide the other rows
var rowwidth1 = 1303; //is using for how much width the row is going to display while hide the other rows
var totalwidth_current = 0;
var totalwidth_current1 = 0;

You have contacted me by PM but I’m gonna reply here because there are more knowledgable people here that might be curious.

The reason why nobody has replied is probably because 1) you didn’t provide any link so people can actually see what you’re talking about, and 2) you didn’t express yourself clearly enough. When you are talking about “rows” moving to the left, do you actually mean “columns”? And what exactly is the point of your application (of which you still owe us your link)?

You will see the list of channels with programme with blocks. If you move the yellow block using with the keyboard, you will see that it will move on any big where ever you press on the keyboard arrows button. My problem is I can be able to move the yellow block to the next two big blocks where they will move to the left, but I cannot be able to move the third and fourth block to the left.

Do you know how I can move on the second and third block to the left to allow me to see the third block and fourth block to the left using with the right arrow button of the keyboard?