Recent Questions
Q: I've tried to add the pathPrefix_img as suggested and I'm still having trouble with images. 
 Can you provide anymore feedback on what I'm doing wrong?
 
A: Now you have such paths: 
  var pathPrefix_img="http://www.domain-name.com/images/";
and 
  var arrowImageMain=["CFTopMenu.files/arrv_white_1.gif",""]; 
So, the full path we'll be: 
http://www.domain-name.com/images/CFTopMenu.files/arrv_white_1.gif 
Is it right? 
I've tried to download your image from this link. There is no such image. 
If you want to put all your images into the "images" folder you should write so: 
  var pathPrefix_img="http://www.domain-name.com/images/"; 
and 
  var arrowImageMain=["arrv_white_1.gif",""]; 
Please, check that you upload all your images on the server in the right places.
Q: The drop-down submenus are now going "up" instead of "down" in the drop down menus in javascript.
A: Set the following parameter:
  var subMenuVAlign="top";
Q: I can’t seem to figure out how to keep last clicked item in my java menu script marked. 
 I use these options: 
 pressedItem = -1 
   var saveNavigationPath = 1; 
 Where and how do I determine the background color of the clicked item? 
 I also have this problem on Deluxe Tree.
 
A:  The menu has only two states normal and mouseover.
Try to do the following things:
- delete   var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<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>
<script type="text/javascript">  var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
 Sets a current pressed item. 
menuInd - index of a menu on a page, >= 0. 
submenuInd - index of a submenu, >= 0. 
itemInd - index of an item, >=0. 
recursion = true/false - highlight parent items. 
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. 
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: Is there a way to programmatically specify which tab is selected in the html tabs navigation?
A: You can set "bselectedItem" and "  var bselectedSmItem" parameters based on your link before you call your data file.
For example, move "  var bselectedItem" and "  var bselectedSmItem" parameters from your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
  var bselectedItem=   var bselectedSmItem= </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, for example:
<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>