Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub Menu of a sub menu 1

Status
Not open for further replies.

WingandaPrayer

Technical User
May 15, 2001
152
Hi,

I would like to create another menu from the sub menu.
Any helpful advice would be appreciated.

cheers


This is what I have at the present if it makes sense![sadeyes]

menu_index.js

oCMenu.makeMenu('sub01','top0','Lettings and Tenancies','FL_priorities.htm')
oCMenu.makeMenu('sub002','sub01','Taking in a lodger','lodgers.html')
oCMenu.makeMenu('sub014','sub01','Sub letting','Sub_tenants.html')

I would like to create a sub menu after sub002','sub01'
.....................................................

menu_style.js

//EXAMPLE SUB LEVEL[3] PROPERTIES - You have to specify the properties you want different from LEVEL[2] OR LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=180
oCMenu.level[3].height=18
oCMenu.level[3].offsetX=0
oCMenu.level[3].offsetY=0
oCMenu.level[3].regClass="clLevel3"
oCMenu.level[3].overClass="clLevel3over"
oCMenu.level[3].borderClass="clLevel3border"

 
As a total guess, since we have no idea of the workings of the "makeMenu" function:

Code:
oCMenu.makeMenu('sub01','top0','Lettings and Tenancies','FL_priorities.htm');
oCMenu.makeMenu('sub002','sub01','Taking in a lodger','lodgers.html');
[b]oCMenu.makeMenu('sub020','sub002','Lorum ipsum','somepage.html');[/b]
oCMenu.makeMenu('sub014','sub01','Sub letting','Sub_tenants.html');

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hi Dan

Thanks for replying. It didn't work.

If this helps the makeMenu function is

PARAMETER PARTS:
oCMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
 
Hi Dan,

Still doesn't show although it should.

The problem appears to be that the menu tries to open but there is logo in the centre of the page. Looks like I need to find and remove the logo. the page shifts down slightly.


cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top