Recent Questions Tree View Mac
Q: Thank you in advance for reviewing my question. By the way, I love the software and the menus it creates!
Question: I would like my horizontal menu buttons all have a uniform width, for example, all 7 top level buttons 120 pixels wide. I am not finding this setting in the available parameters.
Is there a way to do this? Any assistance would be appreciated.
A: You should create Individual Style and assign it for all top items.
var itemStyles = [
["itemWidth=120px"],
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "", "", ],
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", ],
Q: Ok, please disregard my previous email, it was IE 8! I went back to IE 7 and everything is fine.
I do however got requests to speed up the javascript treeview action (of my 2 out of 2 customers thus far on your menus).
Is there a setting to make it go faster?
A: var tXPIterations=5;
You can also try to use AJAX feature. It will increase the loading speed.
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: We just downloaded the trial versions to evaluate and I noticed something a little odd. When I build a menu that will not have icons next to the links, I don't see a way the I can move the test further tothe left inside the menu.
Notice how the links within the menu box are almost centered? Is there anyway to move those items further to the left?
A: Try to set the following parameter.
var tlevelDX=0;
You cannot move it closer to the left side.