Recent Questions Membuat Menu Tree Dengan Ajax
Q: I have seen a certain menu effect on a few websites and have so far been unable to reproduce it in simply HTML/CSS. Today I saw the effect on a website, looked at the source code and it appears they are using some of your code.
I have a fairly typical screen layout with a menu bar on the left hand 10% of the screen and the main screen content on the right 90%. Some of my screens get very long, so that when you scroll all the way down to the bottom, the menu is left way up off screen. I would like the menu block to move down so that it is always a certain number of pixels below the top of the viewed screen, not the absolute top of the page. Is this something your software does? If so, which one of your products?
A: You can create such menu with JavaScript Tree Menu.
You should use floatable menu, so you can always see the menu.
But to use the floatable feature
var floatable=1;
you should use the absolute position for the menu
var absolutePos=1;
var posX="10";
var posY="10";
Please, try the trial version of the menu.
Q: We really like the DHTML Rollover Movable Menu and would like to use it for one of our websites.
Could you please let us know if it is customizable and the costs for the same?
A: See more info here:
http://www.deluxe-menu.com/movable-menu-sample.html
To use JavaScript Tree Menu (movable feature) you should buy license or DeluxeMenu (single site, multiple site or developer license)
JavaScript Tree Menu Single Website License - $39.95
JavaScript Tree Menu Multiple Website License - $99.95
JavaScript Tree Menu Developer License - $299.95
See more info here:
http://www.deluxe-menu.com/order-deluxe-menu-purchase.html
Q: We are using the javascript drop down menu code to create an external link. The absolute path is recognised but it does not work. At the bottom of the page the browser displays an "error on page" message and nothing happens.
A: Now you have
<script type="text/javascript"> var dmWorkPath = "wdmenu.files/";</script>
<script type="text/javascript" src="wdmenu.files/dmenu.js"></script>
<script type="text/javascript"> var dmWorkPath="wdtabs.files/";</script>
<script type="text/javascript" src="wdtabs.files/wdtabs.js"></script>
The second call for dmWorkPath is incorrect. Delete it. So you'llhave:
<script type="text/javascript"> var dmWorkPath = "wdmenu.files/";</script>
<script type="text/javascript" src="wdmenu.files/dmenu.js"></script>
<script type="text/javascript" src="wdtabs.files/wdtabs.js"></script>
Your menu will work correctly.
Q: How can I have the sub tab option that initiated the action highlighted once the new page is reloaded? I want to highlight the tab which is done with 'bselectedItem', please tell me about the sub-tab option.
A: See you cannot create subitems in
var tabMode=0;
it is not correct.
You should set
var tabMode=1;
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript"> var bselectedItem=3;
var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>