Board Logo

Frames Again...
rustytulip - 9/29/2003 at 12:04 PM

Sorry, but I've seen a few posts about frame targeting, but it is still unclear. (I think the online builder and customising abilities are great btw!)

I used the online builder to create a menu, but I can't see a way how to include taget frames. I looked at example 5 in the documentation, but the code is completely different to the code generated by the online builder. My menu_items file looks like:

var MENU_ITEMS =[
["Mechanical Repair Division", null,
["MRD", null,
["Who's Who", "http://ui-intranet/ead-intranet/oracle/mrd-tool/who-index.htm"],
["Promotions", "http://ui-intranet/ead-intranet/oracle/mrd-tool/promo-index.htm"],
.........

and I've read posts that say just convert to the format:

['home', 'index.html',{'tw':'mainframe'}]

however this doesn't work.

Can you please tell me
a) do I use double or single quotes?
b) what alterations are needed in the menu.js file?

Many thanks,

Russ.


nik - 9/30/2003 at 08:24 AM

Unfortunately Tigra Menu Builder generates Tigra Menu v1.0 that doesn't support frames targeting. Please download version 2.0 with this feature supported.


dark - 11/3/2003 at 09:12 AM

I am having that same problem and its driving me crazy i have everything else working perfect but i tried that code

['home', 'index.html',{'tw':'mainframe'}]

and i cant get it to work it says 'undefined' in a little box that come out like another link from the link that i put the code on please help its making me crazy!!!

oh and it is the 2.0 version

Hey great menus BTW ;-)


nik - 11/3/2003 at 09:57 AM

You should pay attention to parameters number in description of items that have subblocks - there should be three parameters but not two.


jay - 11/6/2003 at 09:33 AM

I am having the same problem as dark,

Nik, there are three parameters in my code as specified by your response but still the 'undefined' sub menu occurs??


nik - 11/6/2003 at 11:08 AM

What error message do you receive?


jay - 11/6/2003 at 11:57 AM

Nik,

I have the following code for test purposes:

var MENU1_ITEMS =
[
['Home','/intranet/sidenav/finance/authorities schedule.htm', {'tw':'_blank'}]
];

When I test my home page the button "Home" appears with a sub button with the title "undefined". When you click on "home" button it opens within the same window the correct document (I want it to open in a new window).
I cannot understand why a sub button appears when you can see from the code no sub button has been defined?


nik - 11/6/2003 at 01:15 PM

The code you've mentioned is used only in version 2.0. Please download Tigra Menu version 2.0 from our site ( http://www.softcomplex.com/products/tigra_menu/ )


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/