Recent Questions Tree Menu And Submenu In JqueryQ: Hello. I had a question about the vista templates. Is it possible to extend the width on the java menu buttons to get more text in them? I put to much text and the button is repeating itself. Is there a way to extend the width of the button without the repeat?
A: See images in Vista Templates have the fixed width and height (92 x 21).
You can try to use the following parameter to use combinedbackground for your items, for example:
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:
Q: I'm trying out the cross-browser (top to bottom) drop down menu and I was wondering if it was possible to have the top bar (the main items) use a background image while the sub-items beneath used a plain background color and no image?
So far I've gotten them to either both use a background image, or both use a background color. Any advice would be greatly appreciated. :)
You can use Individual Styles to set background image for the items
var itemStyles = [
oryou can use images instead of icons (you should delete item's text).
["","", "deluxe-menu.files/btn_black.gif", "deluxe-menu.files/btn_black_green.gif", "", "", "", "", "", ],
Q: I have another question concerning pop-up windows. If I do the following:
1) Use the Deluxe Tuner to create a pop-up window.
2) Change the location of the gif, css, and js files from all of them being within "deluxe-popup-window.files" to the files being in separate directories and
3) Update the "deluxe-popup-window.js" file and the "jaw_skin_windowsvista_graphite.css" file so that they contain the new directory locations
Will the html window function properly? Thanks for the help.
A: If you change all paths in jaw_skin_windowsvista_graphite.css and deluxe-popup-window.jsfiles correctly your popup window should work fine.
Q: I am spending a lot more time and have figured a few things out. One more question please: How do I specify the target link I want a dhtml submenu to go to?
I see HREF specified in the code, but no where in the program to specify it.
A: See, the following parameter sets target for all items
If you want to set different target for each item you should set it inthe "Item Parameters" window. Choose your item in the main window andset target in the target field.