Board Logo

Menu only works once
jd_boss_hogg - 12/19/2007 at 03:43 PM

I've got a feeling that it is something to do with frames, but my menu only works once?

The menus appears in the 'main' frame (i'm also using the header frame but have no menu's in this). When running the index page, the header and main frames load fine, and the menu's work if i click any link. However, when the 'main' page changes, and a new page and menu load up, the links stop working - although the menu still appears.

[link removed]


tigra - 12/19/2007 at 05:36 PM

since you don't use frame overlapping you don't need to declare frame names. Initialization should look like this:

new menu (MENU_ITEMS, MENU_TPL, {'frames' : [[]]});

Back to forum: