Recent Questions Javascript Treeview Scrollable
Q: I've added a tab menu to a site but I want to know
how to get the active tab to stay a certain color in the html tabs menu
when you're on that tabs page.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
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=<?php echo $seltabs; ?>;
var bselectedSmItem=<?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 using your javascript menu over. I have had a report today that the menu is problematic with IE8. As follows:
"A bit more of a concern is in IE8 where the menu does not function correctly in general at all. When you hover over the menu text the sub menu appears, but when you move your mouse across to select an item off the sub menu it closes. "
Are you able to confirm and rectify his problem?
A: Yes, our menu has some problems with IE8, because IE8 is a betaversion and has just a part of future functionality, for exampleit still doesn't have filters.
We're planning to add the full support for IE8as well as for all major browsers.
All issues will be fixed with final version of IE8.
Q: I already found out the use of the pressedItem setting. However Iwas looking to be able to have a submenu in the html dropdown menu already expanded on pageload. Can you tell me if this is possible yet in any way ?
A: You can find the example here
http://deluxe-menu.com/highlighted-items-sample.html
Click on the following link:
Highlight "Product Info/Installation/Description of Files" item.
Use the following function to highlight items
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
where parentOpen = true/false - open all submenus to show the selected item
http://deluxe-menu.com/functions-info.html
Q: I need to know if all these products are search engine friendly?
If the content within the javascript menu is easily spidered and indexed.?
A: JavaScript Tree Menu is a search engine friendly menu since v1.12.
To create a search engine friendly menu you should add additional html code within your html page:
<div id="dmlinks">
<a href="menu_link1">menu_item_text1</a>
<a href="menu_link2">menu_item_text2</a>
...etc.
</div>
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).