AW.UI.Tab overflow solution
The solution for handling Tab overflow occured to me last night. So here it is,
First maintain an array of index for your tabls ([0,1,2,...]).
Next create 2 functions,
function back() {
viewIdx.unshift(viewIdx.pop());
tab.setViewIndices(viewIdx);
}
function forward() {
viewIdx.push(viewIdx.shift());
tab.setViewIndices(viewIdx);
}
Now put a forward and backward images on your page and add a click event to them. On forward click call forward function and backward click call backward function. You can download images from a lot of websites such as www.bestbuy.com, etc ....
I can post a complete example if this doesn't make sense.
Cheers,
First maintain an array of index for your tabls ([0,1,2,...]).
Next create 2 functions,
function back() {
viewIdx.unshift(viewIdx.pop());
tab.setViewIndices(viewIdx);
}
function forward() {
viewIdx.push(viewIdx.shift());
tab.setViewIndices(viewIdx);
}
Now put a forward and backward images on your page and add a click event to them. On forward click call forward function and backward click call backward function. You can download images from a lot of websites such as www.bestbuy.com, etc ....
I can post a complete example if this doesn't make sense.
Cheers,
-Kris
November 9,