- Special JavaScript API for changing javascript menu "on-the-fly" - Sound support! - Transition #14 - "fade out" effect - Top items and submenus have a shadow - Submenus go over all page objects - Unlimited number of sub levels - Submenus automatically scrolls - Items with icons
Good navigation is an important step to website success. If people can't find their way around the site, they will quickly give up looking and leave, never to return. So, it's absolute vital that your website has a fast, neat, and eye-pleasing navigation. Don't allow your website visitors to get lost. Try Deluxe Menu!
Q: I downloaded the trial version of deluxe-menu. I created a four tab menu using the tab'stab menu generator; so far so good. I read the tutorial where to past codeand ensuring all items wire in the menudir/; so far so good. The problem, you talk about two> files 'dmenu.js' & 'data.js', these files were not created bydeluxe-menu program. Where are they, so that I can see if this thing works before buying, so far; not so good.
A:You may have another name for your data file (not data.js).
If you want to use tab menu you'll have dtabs.js engine file and data file.
1. create and save .js file with your menu parameters in Deluxe Tuner(you can use "File/Save as/HTML" function). You can enter any name you like, for example enter "tab". So you'llhave tab.html, tab.js files and "tab.files" folder with all menu files. 2. open your .html page in any text editor 3. Copy generated tab.js file and "tab.files/" folder in the same folderwith your index.html page. 4. Open generated menu.html in any text editor and copy several rows of code (<script> tags), For info see:http://deluxe-tabs.com/product-info/?installation
<head> <!-- Deluxe Menu --> <noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript> <script type="text/javascript" src="tab.files/dmenu.js"></script> </head> <body> ... <script type="text/javascript" src="tab.js"></script> ...
That's all.
Q:
I've looked through the FAQ's till my eyes burned... I know how to collapse/expand all on page load, but can't find an answer to this specific question
I am using tsaveState=1 and tcloseExpanded=1 and that works great when navigating the javascript vertical tree menu. But I'd like to be able to tell the javascript vertical tree menu to collapse all the way on the initial page load, without resetting those first two variables.
for instance;
a user logs on, goes to the order page, uses the menu to navigate and place an order. After the order is processed through a php verification page, the user is directed back to the order page via the php header() function, with the menu still intact, and the values of the order updated.
But once the user navigates away from the order page, and then returns to complete another order, I'd like the menu items to all be collapsed.
If that's not an inherent design of your menu program, is there a variable that I can pass with the initial load that will cause a full collapse?
A: No, unfortunately there is no such parameter in Deluxe Tree.
But you can try to delete var tsaveState=1; parameter from your data file and add it on your html page directly.
So, on your initial page you can set: var tsaveState=0;
and on other pages you should set: var tsaveState=1;
Q:
I know. I have two menus on the page and I am not using beforeItemImage orafterItemImage for the top menu in javascript (the one you referenced below), but I need it for the second menu. The parameters for that menu are in mainnav_data.js.
Even when I only call dmWorkPath and dmenu.js once, it does not work.
A: See, it is not correctly to use image-based items:
and specify beforeItemImage/afterItemImage parameters. They won't work in that case.
You can create such buttons in the following ways: 1) Use image-based menu (images with text).
Create normal and mouse-over state images (with text) for each item: ["","", "mainnav_data.files/corpinfo.gif", "mainnav_data.files/corpinfo2.gif", "", "_self", "", "", "", "", "", ], ["","", "mainnav_data.files/new.gif", "mainnav_data.files/new2.gif", "", "_self", "", "", "", "", "", ], ["","", "mainnav_data.files/xxxxx.gif", "mainnav_data.files/xxxxx2.gif", "", "_self", "", "", "", "", "", ],
2) Use combined background for the menu in javascript items (images without text).
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
You cannot use these two methods together!
Q:
One more query, can we remove the following line from all the pages, <noscript><a href=http://deluxe-menu.com/>Javascript Menu byDeluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
As the script <noscript> tags are used in body section of webpage and when we use this in Head tag, it is creating a problem for us. Will removing this line would cause some problem in working of menu, as now a days every browser in the world supports JavaScripts.
A:You cannot delete the following line: <script type="text/javascript"> var dmWorkPath = "/";</script>
Your menu won't work without this line.
You can try to move the following code in the <body> tag. Try that.
... <!-- Deluxe Menu --> <noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript> <script type="text/javascript"> var dmWorkPath = "menudir/";</script> <script type="text/javascript" src="menudir/dmenu.js"></script> <!-- (c) 2006, http://deluxe-menu.com --> ... <body>
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu