Recent Questions
Q: I have the cursor set as pointer – on some of the top menu items there is no link behind it yet the cursor still turns to a pointer. 
 Is there any way to have it so it only becomes a pointer if there is a link?
 
A:  Unfortunately, you can set different cursor type for the menu items. 
Q: I’d like to know how to populate the navigation bar menu from a database?
A: Please, see the example of .php file.The content of .php file depends on your database structure. 
<?php 
// The example for PHP/MySQL. 
// MySQL database has the table "menuTable" that contains data for menu items. 
// The table has the following fields: 
// 1. "text" - item text 
// 2. "link" - item link 
// 3. "icon1" - item icon (normal state) 
// 4. "icon2" - item icon (mouseover state) 
function getMenuItems()
{ 
$jsItems = ''; 
// Select all records from table "menuTable" 
$allItems = mysql_query('SELECT * FROM menuTable;'); 
// Extract items data from database and build Javascript code for menuItems 
while ($itemData=mysql_fetch_array($allItems)) 
{ 
$jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],'; 
} 
// Return Javascript code 
return $jsItems; 
} 
?>
 <script>
   var menuParam1 = value1; 
  var menuParam2 = value2; 
  var menuParam2 = value2; 
... 
  var menuItems = [ 
// Write Javascript code for menu items 
echo getMenuItems(); 
?> 
]; 
</script> 
Q: There is a grey line that surrounds my menu (its on a page with black background. How do I get rid of the grey line?
 
A:  See, you set the shadow for the top items and submenus 
  var shadowLen=2; 
  var shadowColor="#C4C4C4";
  var shadowTop=1; 
You should set 
  var shadowLen=0; 
  var shadowColor="#C4C4C4"; 
  var shadowTop=0;
Q: After I successfully click and load the data in to my window using the tab menu, the tab defaults back to the original default tab. Because I have to reload my page after the tab has been selected the tab chosen is lost. What do you recommend for "remembering" the tab 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=   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, 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>