Hi,
I read and applied (if possible) the first blog.
The second link I will study now.
The .onClick script is pretty simple:
navDetailType = "time"; //indicates the selected navigation Time --> display charts
navTimeType = "mnt"; // --> display periodic values
SCRIPT_MENU.onDetailTypeSelect(navDetailType);
The script SCRIPT_MENU.onDetailTypeSelect sets visibility and CSS classes of different items depending on the navDetailType. (some if/elseif)
TXTxxx.setVisible(xxx) //some text elements
PANELxxx.setVisible(xxx) //some panels to show or hide crosstab or charts
TXTxxx.setCSSClass(xxx) //indicates 'buttons' as (not) selected
For my understanding it is not too complex.
Regards
Steve