Cross-frame mode 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.
Notice
The menu will work correctly in the cross-frame mode 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.
Notice
If you load pages with a frameset structure into the subframe, submenus won't be shown.
To initialize the menu in cross-frame mode call dm_initFrame() function instead of standard dm_init() function within
data.js file:
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 - horizontal, 1 - vertical.