Cross frame menu allows you to build full-featured menus on the pages that use frame-based structure.
And it's not necessary to insert any code into all the pages - just specify the additional
parameters of the menu and initialize it.
The menu will work correctly in the cross frame if you load pages into the subframe from the same domain.
If you load pages from another domain submenus won't be shown in the subframe -- they will be shown in the frame with the top-menu.
It's caused by a security of browsers -- a script can't modify a content of pages from another domain.
If you load pages with a frameset structure into the subframe, submenus won't be shown.
To initialize the cross frame menu call dm_initFrame() function instead of standard dm_init() function within
framesetID - id attribute of the frameset; mainFrameInd - index of the main frame (where the top-menu is placed), >=0; subFrameInd - index of the subframe (where the submenus will be shown), >=0; orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.