Recent Questions Display Hierarchical Data With Treeview Jsp
Q: Do you sell wordpress javascript menus?
A: Actually we're using JavaScript Tree Menu in our WordPress blogs without anyproblems.
You should edit the php template of your theme.
1. Go to Design -> Theme Editor
Open header.php file
!! Notice that you should CHMOD header.php file to777 setting. Find more info here:
http://www.zachjorgensen.net/za/chmodtutor.html
2. Upload folder with all menu files on your server
3. Add the following code in the <head> tag:
<noscript><p><a href="http://deluxe-menu.com">wordpress javascript menu by Deluxe-Menu.com</a></p></noscript>
<script type="text/javascript"> var dmWorkPath="menu/";</script>
<script type="text/javascript" src="menu/dmenu.js"></script>
where 'menu' is the folder with all menu file on your server.
4. Call data file in the place where you want to have the menu, forexample:
<div style='z-index: 100;position: absolute; right: 0; top: 0; margin: 0; padding: 0;float: left;height: 85px; '>
<script type="text/javascript" src="menu/deluxe-menu-blog.js"></script>
</div>
5. Click 'Update File' button.
Q: I need a way to fix the width of the website navigation bar nomatter how long the menu content is, is there a way that this can be done.
A: You should set the exact width for the menu usinf the following parameter:
var menuWidth="120px";
var noWrap=0;
Q: I just noticed another problem: when I set dmObjectsCheck=1 and I click on a menu-item of the dropdown menu nothing happens! No matter whether the banner is flash or not. And no matter if the browser is IE or Firefox. As soon as I set dmObjectsCheck=0 the submenu works again.
A: You should set the following parameter
var dmObjectsCheck=1;
You should also add dmenu_add.js file into the folder with yourdmenu.js file.
Please, check it.
Q: Last, I couldn't solve the issue I meet when I set up a long name for an dhtml side menu item: next item overlaps. Is it possible to specify the width of an item?
A: You can try to use the following dhtml side menu parameters to use combinedbackground for your items:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gif