Recent Questions Jquery Simpletreemenu Simpletree Css
Q: Is there a way to hide a menu options in the navigation menu using either CSS or the java api based on the site user?
A: JavaScript Tree Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
Q: How many of the menus (templates) allow for a javascript float menu?
A: Actually all templates can float, you should only set the followingparameters:
var floatable=1;
var floatIterations=5;
var floatableX=1;
var floatableY=1;
var floatableDX=15;
var floatableDY=15;
You can find a javascript float menu sample here:
http://deluxe-menu.com/floatable-menu-sample.html
Q: I found the problem with de JavaScript Tree Menus:
When the menu is inside the <DIV> </DIV> tags, the menu is shown, but does not scroll.
A: See, you use absolute position for this <div>
<div STYLE="position:absolute;top:151px; left:0px">
But you can use absolute position for the menu. Your menu will scrollin this case.
For example, you should set:
var absolutePos=1;
var posX="0";
var posY="151px";
And install your menu
<div>
<script type="text/javascript" src="data.js"></script>
</div>
Or, write:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" src="dmenu.js"></script>
<script type="text/javascript" src="data.js"></script>
Q: I have been working with the trial package for the last couple of days, of which I have been really impressed with. However there have been a couple of things that have frustrated me greatly...
The natural place that I first tried was replacing the "content1" line with a direct URL in the var bmenuItems section but this made no difference at all. I am also trying to work out what each set of "" equate to as I have found a couple of pages on the Internet very similar to this but none of them have nine different sections.
["Home","content1", "", "", "", "", "1", "", "", ],
Is it possible to allow one of the tabs on this template to just open another page? I look forward to your response in regards to these questions and hope to hear from you again soon so that I can crack on with this project.
A: You can't assign links in Dhtml Tabs when you're using var tabMode = 0;.
You can assign only the object's ID of <div> on your page.
Try to set var tabMode = 1;
and use links for your items.