Recent Questions
Q: What do you recommend for "remembering" the tab in the js tab menu,
so that when the page reloads the correct tab is highlighted.
A: Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=^lt;?php echo $selsmtabs; ?>;
</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, forexample:
<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>
Q: I am evaluating 'Deluxe Tree' and have the following question: Is it possible, and how can I hide a dhtml pop menu branch, that only shows up if user logs in with a certain password. The intent is to only make some menu branches visible to and accessible to 'superuser'.
A: Put the special script on each page of site that will open appropriate section.
(dtreet_ext_expandItem)
See more info here:
http://www.deluxe-tree.com/functions-info.htmlQ: I worked up some menus on my local machine and they work fine I want to push them to my server.
When I do, I don't see the menu that I saw on my local machine.
Instead, I see a hypertext link with a word that I used in one menu. What could be wrong?
Do I have to chmod the JS file? Do I have it mapped wrong. Is it because I am using a demo version?
A: Demo version of the menu has full functionality.
I can't find the call of dmenu.js file on deluxe-menu.htm and dmenu.js file in the "deluxe-menu_files" folder.
Please, upload this file on your server.
More info about the installation of the menu you can find here:
http://deluxe-menu.com/installation-info.html
Q: We would like Subprograms to have a different style than the items below it to visually indicate it as a non-clickable header in my javascript drop down menu.
A: You should disable this item. You should set "_" symbol for the itemtarget.
You can also set
var fontColorDisabled="#616321";
You can also create Individual Style for the disabled item.