Hi,
This is a bit tricky, but here goes:
I have code to handel selection of lines in tables by using the SHIFT key (like in the windows explorer). It changes the background color:
...
for (i = 0; i < itemsLength; i++)
{
itemId = ...;
var xt=document.getElementById(itemId);
if( (xt.num/1) >= LastNum && (xt.num/1) <= NewNum)
{
xt.bgColor="Gold";
}
}
...
The code is too lonfg to fully describe it.
It works fine, but a side effect is that when the user selects lines like this, in addition to the lines being painted, sections of the screen also get selected (like when you drag the mouse on an HTML page).
Can this be prevented?
10x
Ron
This is a bit tricky, but here goes:
I have code to handel selection of lines in tables by using the SHIFT key (like in the windows explorer). It changes the background color:
...
for (i = 0; i < itemsLength; i++)
{
itemId = ...;
var xt=document.getElementById(itemId);
if( (xt.num/1) >= LastNum && (xt.num/1) <= NewNum)
{
xt.bgColor="Gold";
}
}
...
The code is too lonfg to fully describe it.
It works fine, but a side effect is that when the user selects lines like this, in addition to the lines being painted, sections of the screen also get selected (like when you drag the mouse on an HTML page).
Can this be prevented?
10x
Ron