Recent Questions Accessible Tree Menu Jquery
Q: I am having a problem trying to get my scrolling menu javascript to work correctly with frames.
My web page is frame based. There are THREE (3) Rows. The top roe is "header" and the bottom row is "footer". The center row is divided into TWO (2) columns. The left is "contents" and the right is "main". This is a very standard configuration.
I have created a menu called "member-menu" and added it to the "content" html file. I have edited the "member-menu.js" file to add the "dm_initFrame("FrmSet",0,1,0); at the end of the file. Using the instruction provided when the scrolling menu javascript was saved. I then uploaded all of the required file to my server. At this point everything is fine, I go to a password protected page in the "\members" folder and this seems to work also. When I try to go to a "submenu" it wants to expand to the right in the "content" FRAME. I need it to expand into the "main" FRAME on the right.
I know that I am doing something wrong. I have read the instructions a dozen times and can't find the problem.
A: You should write the ID of your frames correctly, for example now youhave:
header - 0
contents - 1 (frame with the menu)
main - 2 (frame with submenus)
bootom - 3
In that case you should write init function in the following way:
dm_initFrame("FrmSet",1,2,1);
where - dm_initFrame("FrmSet",frame with the menu,frame with submenus,1);
Try that.
See more info here:
http://deluxe-menu.com/cross-frame-mode-sample.htmlQ: Is it possible to set the width for each individual tab in the html tab menu instead of having them size dynamically based on the tab name?
A: You can create Individual Items Style and assign it to your tabs.
var bstyles = [
["bitemWidth=100px"],
];
var bmenuItems = [
["Item 1","", "", "", "", "", "0", "", "", ],
["Item 2","", "", "", "", "", "0", "", "", ],
["Item 3","", "", "", "", "", "0", "", "", ],
["Item 4","", "", "", "", "", "0", "", "", ],
["Item 5","", "", "", "", "", "0", "", "", ],
];
Q: My mainmenu items are not links. So i need no link cursor. My submenu item are links, so i need a pointer(hand).
How can i define 2 different cursors. I tried all the possible settings for the cursor in the program but noting works.
I tried is also with a CSS class for the submenu, but that wasn't also working.
In brief: i want an arrow cursur in my mainmenu, and an hand cursor in my submenu. With smart scroll doesn't solve my problem.
Can you give me a hint to do this.
A: Unfortunately, you can't change cursor type for different items.
But you can write so:
["<a href='http://deluxe-menu.com/'>Home</a>","", , , , , , , , ],
["Product Info","", , , , , "0", , , ],
["|What's New","", , , , , "0", , , ],
In all items with links you should use <a> tag.
Set this parameter:
var itemCursor="default";
Q: I'm using your Delux Menu and I would like to know how to change the back ground color of the sub drop down menu from the teal color to a gray and am nothaving any luck locating this option.
Please advise.
A: Try to use the following parameters:
var menuBackColor="#C0C0C0";
var itemBackColor=["#C0C0C0","#65BDDC"];
You can also check Individual Styles. It is possible that you setbackground color there.