Recent Questions Outlook Menu Tree Jquery
Q: Expandable javascript menu doesn't actually affect the plus/minus icon I have specified. Any ideas?
A: It is not correctly to add expand/collapse buttons into the iconfield, they won't work. You should add icons there.
To add expand/collapse buttons you should use the followingparameters:
var texpandBtn=["img/expandbtn.gif","img/expandbtn.gif","img/collapsebtn.gif"];
var texpandBtnW=14;
var texpandBtnH=14;
var texpandBtnAlign="left";
Q: How I make to insert a code java in the event on click of the button "Ok", when this button is simple tree view?
A: You are able to paste any html code within items.
For example:
var tmenuItems = [
...
["<nobr><FORM method=GET action='http://www.google.com/custom'>
<nput name='as_q' value='searchthe web' size=15 style='font-size:10'> <INPUT type=hidden name=cof
value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","",
"images/icons/search.gif", "", "", "", "", "", "", "", "",],
You should write your own code within tmenuItem.
Q: I am setting up a 3 tab script and each tab opens a new page but the state of the javascript tab menu selected reverts back to the default tab.а Howdo I keep the tab selected when advancing to the next tab (new page)?
A: You should change the selected tab depending on the page you are now.
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) or using any server-side script (php, asp, etc.)
Deluxe Tabs doesn't support API functions which can return theselected tab.
So, you can set "bselectedItem" parameter based on your link beforeyou call data.js file.
For example, move "bselectedItem" parameter from data.js file to yourcode.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs using server side script.
Q: We need to place a vertical menu on the right of our page, and have the subnav options popout on the LEFT of the vertical navbar.
Can you script handle this?
A: Yes, you can create such menu with JavaScript Tree Menu.
Please, see:
http://deluxe-menu.com/ways-showing-submenus-sample.html
You should set this parameter.
Submenus can be shown in 4 ways. More info you can find here:
http://deluxe-menu.com/ways-showing-submenus-sample.html
var smViewType=2;