Recent Questions Apex Treeview Region
Q: I've purchased the mac style tabs. I've spent countless hours trying to get it to work, no luck so far. I've gotten jscript tabs to look okay on page, but links between pages do not work. I've even gotten them to work, but they were simple text menu's; not jscript tabs. But I haven't gotten the tabbed menu to work. Checked and tripled cheeked the instructions, still no luck.
I've uploaded the files to a test server.
There are four files cameron,carl,grace, and chantel; these are simple identical two column pages to test the links between tabs. NO LUCK. I'm about to give up on your program, can you please help.
A: You're using
var tabMode=0;
now. That means that you should use content DIV's ID instead of thelink.
If you want to open links you should write links in the following way:
["Cameron","link:cameron.html", "", "", "", "", "", "", "", ],
["Grace","link:grace.html", "", "", "", "", "", "", "", ],
["Carl","link:carl.html", "", "", "", "", "", "", "", ],
["Chantel","link:chantel.html", "", "", "", "", "", "", "", ],
Q: I'd like to purchase your deluxe menu, but for the life of me I cannot figure out how to align the javascript sub menu to the top of the primary menu in Firefox. It aligns correctly in IE but in Firefox it is dropping by 20 pixels or so below where I want it.
A: This is space to document borders. We've set this space, so that yourjavascript sub menu will not look like the part of browser window. If you wantyou can delete that space.
Open dmenu.js file in any text editor and find the following code:
space=15;
Change 15 to 0.
space=0;
Q: Pls help me with another question.
I have an horizontal menu in which the submenus drop down (as in example # 1 you have in your web).
For the first level items (which are horizontal), I do not want item spacing or itemPadding, that is:
var itemSpacing=0;
var itemPadding=0;
However, for the second and third level menu items, that drop down, I do need spacing and padding, like this:
var itemSpacing=1;
var itemPadding=1;
How can achieve this if, we have only one set of parameters??
Thank you very much and best regards
A: You should use Individual Styles.
You should set the following parameters:
var itemSpacing = 0;
var itemPadding = 0;
and create individual style for submenus
var menuStyles = [
["menuBackImage=images/subm_back.gif","itemSpacing=1","itemPadding=1"], // add Spacing and Padding to the style which is used for the third level menu items.
["columnPerSubmenu=2"],
["itemSpacing=1","itemPadding=1"], //style 2
];
You should assign this style for the second and third level menu items
["DHTML Menus","", "images/icon1.gif", "images/icon1o.gif", , , , , , , , ],
["|The JavaScript Tree Menu","http://deluxe-menu.com",
"images/icon2.gif", "images/icon2o.gif", , , , "2", , , , ], // assign Style 2
["||Features","", "images/icon3.gif", , , , "0", "0", , , , ], // assign Style 0
["|||First Column","", , , , , "0", "1", , , , ],
["|||Second Column","", , , , , "0", , , , , ],
["||Cross-frame Mode","", "images/icon5.gif", "images/icon5o.gif", , , "1", , , , , ],
["||Easy Installation","", "images/icon5.gif", "images/icon5o.gif", , , "1", , , , , ],
["|The Javascript/DHTML Tree","http://deluxe-tree.com", "images/icon2.gif", "images/icon2o.gif", , , , , , , , ],
...
Q: The button menu is on the top of the screen but it has lines through each of the menus just after the words and before the arrow on each of them.
I have stretched the menu out tocover the whole of the top of the page but i need to get these lines out of the menu.
Can you please help me with this problem
A: See images in Vista Templates have the fixed width and height (92 x21):
var itemStyles = [
["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","itemBorderWidth=0",
"fontStyle=normal 11px Tahoma","fontColor=#3A3A3A,#000000","itemBackImage=data-vista-2-04.files/btn_olive.gif,data-vista-2-04.files/btn_white.gif"],
];
When items text is too long you can have such effect.
You can try to use combined background for your items, for example:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gif