W
Wayne-I-M
Hi
var vis;
var sdiv;
var evno = ee.selectedIndex;
for (var ii = 1;ii<11;ii++) {
sdiv="Event" + ii;
FP_changeProp(/*id*/sdiv,0,'style.display','none');
}
if (evno >= 1) {
if (evno > 10) evno = 11;
sdiv = "Event" + evno;
vis = "block";
FP_changeProp(/*id*/sdiv,0,'style.display','block');
}
}
__________________________________
Line 4 ( for (var ii = 1;ii<11;ii++) {)
Seems to causing the problem - if change to = 1;ii<6;ii++) { then the speed
is "much" faster.
Also line 9 if (evno > 10) evno = 11;
If changed to if (evno > 6) evno = 7;
__________________________________
I can't work this out as all this does is restrict the number of options in
the list then the choice of dependent fields
Not sure why this would be unless it's the actual speed of the processor -
not very likely.
var vis;
var sdiv;
var evno = ee.selectedIndex;
for (var ii = 1;ii<11;ii++) {
sdiv="Event" + ii;
FP_changeProp(/*id*/sdiv,0,'style.display','none');
}
if (evno >= 1) {
if (evno > 10) evno = 11;
sdiv = "Event" + evno;
vis = "block";
FP_changeProp(/*id*/sdiv,0,'style.display','block');
}
}
__________________________________
Line 4 ( for (var ii = 1;ii<11;ii++) {)
Seems to causing the problem - if change to = 1;ii<6;ii++) { then the speed
is "much" faster.
Also line 9 if (evno > 10) evno = 11;
If changed to if (evno > 6) evno = 7;
__________________________________
I can't work this out as all this does is restrict the number of options in
the list then the choice of dependent fields
Not sure why this would be unless it's the actual speed of the processor -
not very likely.