Recent Questions
Q: http://deluxe-tabs.com/file/templates/tabs-vertical-template.html Can this dhtml menu frames have images as well as text? Docs are not clear on it.
A: I'm not sure I understand your question.
These are image-based dhtml menu frames (four vertical round buttons on the left side). Onthe right side there is a content DIV. You can add any html elementsinside the DIV (text, images, forms and so on).
Q: I have to find out, how the javascript tree control is NOT expanding in the beginning..
A: You should set the following parameter:
var texpanded=0;
Use + signs before items text to expand some items:
["+Land","", "", "", "", "", "", "0", "", "", ],Q: I used Deluxe Menu and generated a beautiful drop down navigation menu for our school web page. however, I am using MS FrontPage and apparently it is blocking the content. Whenever I bring it into the program all I get is a text drop down navigation menu. What am I doing or not doing?
A: Deluxe Menu wasn't developed as Dreamweaver/Frontpage extension,BUT you can use it as standard Javascript files. To install the drop down navigation menuinto your html page:
1. create and save .js file with your menu parameters in Deluxe Tuner
2. open the page in Frontpage
3. add several rows of code (<script> tags), For info see:
http://deluxe-menu.com/installation-info.html
<head>
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath="deluxe-menu.files/";</script>
<script type="text/javascript" src="deluxe-menu.files/dmenu.js"></script>
</head>
<body>
...
<script type="text/javascript" src="data-deluxe-menu.js"></script>//your data file created in Deluxe Tuner
...
</body>
You should copy all engine files and images for the drop down navigation menu in "deluxe-menu.files/" folder and paste it in the same folder with you .html files.
Engine files:
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
dmenu_search.js
That's all.
It is possible that you'll have errors in the preview but your drop down navigation menushould work fine in the browser.
Q: I've finally got it working and it looks good. So thanks. But... unfortunally there's still a small problem wich occured after I got everything else working: No matter if I set the parmeter " var texpanded" to '1' or '0' it expands by default tree menu javascript. Why?
I also have another question I forgot to ask you about earlier: Originally I only had the data.js file but in the non-profit zip file you gave me there was no "data.js" file, only "data-tree.js". Wich one will the script use? Do I need both? The javascript call I put where I want the menu to appear calls for "DATA. js". So what good does the "data-TREE.js" file do?
I include the "data.js" file if you need to have a look at it. The "data-tree. js" file is identical now that I changed all the " var tmenuItems" at the bottom). (The "menu.html" I guess you can look at yourself by "View source".)
Also, the submenus where I would like to put XP style menus are not finished yet but for now I have the same "tree" script in them. They are under "DART/dartspel.html", and on six artist discographys under MUSIK: Edguy, Katie Melua, Joe Satriani, Michael Schenker, Trans-Siberian Orchestra and Magnus Uggla. This is if you'ld like to see the sub pages where I use other "copys" of Deluxe-tree. (I hope you don't mind that the "Illegal copyright" nag is very small. It's supposed to dissapear anyway with the new Non-profit license).
A: 1) See the structure of your tmenuItems is incorrect now.
You should write:
["->HEM (Klicka f?r meny)","welcome.html", "data.files/hem.gif", "data.files/hem2.gif", "data.files/hem.gif", "Startsidan", "right", "", ],
Without '|' symbol in the beginning.
2) You should write tleft parameter correctly. Now you have:
//--- Positioning
var tabsolute=1;
var tleft="00px";
var ttop="10px";
Write it in the following way:
var tleft="10px";
3) data-tree.js file is the default tree menu javascript file. There is no need to use it if you already haveyour data.js file.