Recent Questions Css Tree Menu Tutorial
Q: Will html navigation bar work with site created using FrontPage?
A: Yes, Deluxe CSS Menu will work fine with site created in Frontpage.
Add all code generated by Deluxe Tuner.
You should copy all css styles for the menu and add it into your own .css file (orcreate a new .css file for the menu and call it on your page).
Then copy all HTML code for the menu and paste it in the place where you want to have amenu.
To view css styles and html code click "View HTML" button on the Preview window in theDeluxe Tuner.
Q: I have a question regarding deluxe tab implementation.Can you guide me on how to change tab selection dynamically for the tabbed navigation.
A: Deluxe Tabs doesn't support API functions which can return the selected 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= 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>
Q: I see you have a right click in expanding menu javascript, is this function available in JavaScript Tree Menu?
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item.
However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
Q: But given the sample on
http://deluxe-menu.com/highlighted-items-sample.html#ind
we want to delete menuentry 'Sample1' and do
dm_ext_deleteItem(2, 4, 0)
This raises an error but according to your javascript menu master manual the first argument should be the menuindex ....which is 2 in our opinion.
A: See, if you have several menus on your page they will have differentID's, for example:
<script type="text/javascript" src="menu/data1.js"></script> //ID=0
<script type="text/javascript" src="menu/data2.js"></script> //ID=1
<script type="text/javascript" src="menu/data3.js"></script> //ID=2
<script type="text/javascript" src="menu/data4.js"></script> //ID=3
So, if you have only one menu on your test page you should use ID=0