Board Logo

Frameset targeting
Catron - 7/11/2006 at 01:00 AM


i use a frameset with a top and a bottom frame. The Menu is in the top frame and the most button targets are in the bottom frame and this works fine!


I need also some target where i want to open a new Frameset (with left and right frame) in the bottom frame. How can i realize that?

tigra - 7/11/2006 at 10:13 AM

Term "target" in respect to the menu refers to opening the link in another frame or window. You can specify target for each item of the menu independenly using "tw" item scope setting.

You can reload the main frameset with new frameset of different configuration by using target "_parent" i.e.

['Reload Frameset', 'vertical_frameset.html, {'tw':'_parent'}]

Catron - 7/11/2006 at 12:57 PM

['TUI LastMinute', '', {'tw':'mainFrame'}] <- this is the normal frame

['TUI LastMinute', '', 'Reload Frameset', 'specmainFrame',{'tw':'_parent'}]

is this right?

tigra - 7/12/2006 at 10:59 AM

Nop, the number and order of paremeters in the item never changes.

What 'Reload Frameset' is supposed to be?

If you want to reload whole frameset with another frameset you should give the URL of that other frameset in the link section. Currently it's '' in your code.

Catron - 7/13/2006 at 12:31 AM

what means Nop?

Can you maybe explain a little bit more how i can open a different frameset under a top frame on the site? Sorry I'm not a programmer :-(

this is the current situation

Catron - 7/13/2006 at 12:32 AM

how i want to have can i get? :-(

tigra - 7/13/2006 at 10:38 AM

You'll have to reload whole thing. Below is the quote from the product documentation (check out first limitation):

The Dynamic HTML (DHTML) and Document Object Model (DOM) don't provide native support for this feature that's why this popular feature is not offered by most JavaScript menus. The elements menu is built of can't extend beyond the edge of the document they were created in. We solve the problem by creating the fragments of the menu in different frames and then synchronizing them so they look and act as one menu. This trick comes with some limitations that you should be aware of:

- frameset configuration can't be changed without main (top level) page reload
- menu files and initialization must be added to all pages
- all pages must belong to same domain
- menu will not be visible over frame borders and scrollers so to avoid the gaps borders and scrolling should be turned off for the edges of the frame overlapped by the menu

Above requirements only apply to documents in frames that menu will overlap (cover).
[end of quote]

You're trying to change the frameset configuration. As you can see this can't be done without reloading the menu. You can do that by reloading the main frameset providing the different menu page with menu configured for new frameset configuration.

Catron - 7/13/2006 at 11:54 PM

create me a sample link how to reload?

That will be really great...thanks

tigra - 7/14/2006 at 10:09 AM

here you go. sample uses static links but it will work with the menu same well.

Back to forum: