Recent Questions Tree Control Php Css
Q: Is it possible to have your menu mouseover call one of my functions?
I need to change some text on the screen based on which menu itemis highlighted.
A: Each menu items can include any html code.
So, you can include your own objects with onmouseover event, forexample:
var menuItems = [
["<div onmouseover='yourFunc()'>item text</div>"]
];
Where yourFunc() is Javascript function.
Q: I am interested in buying your software for some web development I planning on doing.а Before I buy your software, I have a concern that I was hoping you could help me with.
I downloaded the trial version of the software and set up some menus.а However, when I load them with IE7, the information bar comes up and asks me if I want to run scripts or ActiveX controls.а Is there a way I can prevent this from happening?а Is there some setting I have chosen in one of the properties that is causing this to happen?
I am not interested in buying a license for this software if this is what is going to happen.а I really like the way I can modify just about anything in the menusЕ but having this pop up is not user friendly.а Please tell me there is a way to fix this.
A: Please, see security preferences: IE/Tool/Internet Options
Make sure that Active content is enabled.
You should check your Security Settings.
There is no way to enable these settings automatically.
Q: How can I have the sub tab option that initiated the action highlighted once the new page is reloaded? I want to highlight the tab which is done with 'bselectedItem', please tell me about the sub-tab option.
A: See you cannot create subitems in
var tabMode=0;
it is not correct.
You should set
var tabMode=1;
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript"> var bselectedItem=3;
var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>
Q: I'm experimenting with the purchased Treemenu. Looks very nice!
A question: When I set the menu width to 200px and the text of the item exceeds this width, text is not wrapped resulting in some strange display. How can I wrap the text in the java menu tree?
I can not simply use extra <br> tags because the data of the items are dynamic (php + MySQL).
A: You should set the following parameter
var tnoWrap=0;
Try that.