Recent Questions Using Sfjquerytreedoctrinemanagerplugin
Q: Having purchased JavaScript Tree Menu and I am having a problem with the simple javascript menu I have created. The menu works fine when I view the html page generated by Deluxe Tuner but when I put it into my own html page the submenus are appearing above the simple javascript menu and not below as required. How do i stop this from happening please?
A: Try to adjust the following parameter:
var subMenuVAlign="top";
or
var subMenuVAlign="bottom";
Q: Does your menu have the ability to have small text boxes on it?
For example the search box on your main page under your logo.
A: You can use any html code within item text, for example:
var menuItems = [
["<input type=text value='field'>text", ],
];
Try that.
Q: Currently let us know how can we align the text at the top dropdown menu script so that the text will appear above the horizontal line.
Kindly help us to solve this problem as soon as possible.
A: Unfortunately you cannot set vertical align for items text.But you can try to write your item text in the following way:
var menuItems = [
["Home<br> ","/index.asp?pgid=1", , , , , "0", , , ],
["About Us<br> ","/index.asp?pgid=2", , , , , "0", , , ],
["Company News<br> ","/index.asp?pgid=3", , , , , "0", , , ],
["Services<br> ","/index.asp?pgid=4", , , , , "0", , , ],
["|Custom Publishing","/index.asp?pgid=6", , , , , , , ,],
["|On Product Publishing","/index.asp?pgid=7", , , , , , , , ],
["|Investment","/index.asp?pgid=10", , , , , , , , ],
["Contact Us<br> ","/index.asp?pgid=5", , , , , "0", ,, ],
];
Q: Tell us javascript code to select or highlight the tab and sub tab in javascript tabs navigation.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
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=<?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>