Recent Questions Problem With Dhtml Tree Apex
Q: The submenu should look identical to the main menu but it is not allowing this.
Even though parameters are set to 0 it is showing smart scroll and also not showing the sub menus how they should be.
I also notice and error in the templates window view when I am looking at the javascript onmouseover menu.
A: You've set the exact width for your submenus:
var smHeight="21px"; // it is the height of the whole submenu
It is not right.
Try to write:
var smHeight="";
> I also notice and error in the templates window view when I am looking
> at the menu.
Now you have:
var pressedItem="";
It is not correct. Try to set:
var pressedItem="-2";
See the attached example.
Q: I need the links for the side navigation bar to be vertical
and the pop up to come up on the right, rather than the bottom.
Is thispossible?
A: You should use the following parameters:
var isHorizontal=0;
var subMenuAlign="right";
Q: I am getting stuck with trying to set a default tab in the div tab menu to be selected when a window opens...
What I've been trying to do is changing this line here :
var bselectedItem=0;
At 0 (default) it has the first tab selected. Any other number and notabs are selected.
Is there a setting somewhere else that I am missing?A: You can set "bselectedItem" and " var bselectedSmItem" parameters based on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parameters from your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem= var bselectedSmItem= </script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, for example:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD&tg;
Q: I test your free menu before buy but I have a question.
Is it possible to integrate a font in the dhtml menu creator which was not on the internaute system ?
I want to customize my menu with change the font, but this font is not on the system with default.
How link my menu with a new font?
A: If you want to use unusual font for your menu you should create imagesfor each item with text and use it in your menu.
Actually you can choose any font installed on your computer in the dhtml menu creator, but this font won't work on your website.