Recent Questions Jsptree Renderer
Q: How can I from javascript code change a displayed tab selection to another one in the dynamic menu tabs... lets say from first tab to the third tab?
A: This Tabs menu can save pressed item automatically within1 page only.
If you open another page, the menu can't remember presseditem.
You should do that manually using Javascript and menu parameters
( var bselectedItem and var var bselectedSmItem) or using any server-side script (php, asp, etc.)
Deluxe Tabs doesn't support API functions which can return theselected tab.
If your site is written on PHP you can set "bselectedItem" and "varbselectedSmItem" parameters
based on your link beforeyou call your data file.
For example, move "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=<?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>
Try that.
Q: I am using deluxe-menu for the third time to create a school web site. It has worked fine on the previous two sites, but I am making a horizontal menu this time instead of a vertical menu. The menu won't align itself correctly in Firefox. I read the post in your FAQ and I set the align tag in the TD element and also the size attribute, but that didn't work.
Could you give me some suggestions. It looks fine ie IE, but not Firefox.
A: Try to specify exact value for menu width.
For example:
var menuWidth="800px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
Q: I played with it and I got the tabs java script horizontal menu to work. but having problems with them:
1. I want the tabs to open when you mouse over them, not when you click. Is it possible to do this?
2. I want the tabs to close when your mouse leave them. Can I do this?
3. It keeps saying "Incorrect key" when you click on them. Is it possible to fix them?
A: No, unfortunately it is not possible in Deluxe Tabs.
But you can use JavaScript Tree Menu to create such java script horizontal menu.
To create such menu you should set the following parameters:
var smOrientation=1; //horizontal orientation of submenus
var subMenuAlign="pleft"; //submenu position (left align)
var smHidePause=-1; //your submenus won't be hidden till you click orscroll the page.
"Incorrect Key" message means that you didn't paste your reg. key into data.js filewith your menu.
You should paste your key parameter into .js file where your java script horizontal menuparameters (vars) and items ( var bmenuItems) are placed.You should paste the following code at the beginning of the file:
/*
JavaScript Tree Menu Data File
Created by Deluxe Tuner v3.2
http://deluxe-menu.com
*/
var key="XXXXXX";
// -- Deluxe Tuner Style Names
Where XXXXX the key from your license message.
Try to clear also browser cache.
Notice your key will work on registered domain only. It won't work onlocal machine.
Q: Hi I have been using the trial version with deluxe tuner. The only problem I have had is that I cannot work out how to change the background colour of the menu (how it appears on the page as a menu bar when none of the dropdowns are activated) any help would be appreciated as I am considering purchasing your product but if I cannot change the colour then I am only limited to the sample templates you have supplied
A: Please, see the following parameters:
var menuBackColor="#FCEEB0";
var itemBackColor=["#FCEEB0","#65BDDC"];