I am using Go Templates and I try to use a main menu and several sub menus. The submenus are attached to the window.
By attaching the sub menu to the window I am not able to send an “open” from another window.
to the other window as the class is refreshed when the new window open.
The class “open” will be reset in the new window.
Is there any way to send a parameter via Javascript to another template. The “global variable” belongs only to the current window.
Any tip or complete rethinking is welcome!