Recent Questions Jquery Ui Treeview From Mysql DatabaseQ:
I have a top horizontal menu with one level sub-menus.
I am using images for the rollover (on & off). I donâ€™t need the generated text on the main menu, only on the submenus.
??? How do I eliminate the text and only have roll-overs?A: You should delete item's text:
["","testlink.html", "image.gif", "imageo.gif", "", "", "", "", "", ],
Please could you advise me on how I could resolve this problem.
Thank you for taking your time to read this email.
I look forward to receiving your reply. A: You can try to use the following 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:
How can I set the top-level items to be transparent for the dhtml dropdown?A: You should create Individual Item and Submenu styles with transparent itemBackColor and assign it for the top items:
var itemStyles = [
var menuStyles = [
More info you'll find here:
I have one final question:-
If you go to http://domain.com/mainboard.asp
And click the tools icon.
My application has 3 types of settings.
Click the line icon (which highlights) then you can use the line tool Then click the thickness icon (which only changes the thickness of the line) And then click the colour icon (which only changes the colour of the line)
Unfortunately, when another icon is selected it resets the original icon.
Is there a way to show one of the top 8 function icons highlighted as well as the selected thickness icon and palette icon all in a selected state together? A: function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
Changes parameters and an appearance of the item.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0. See more info about indexes here.
iParams = [array] - the array of item parameters. This parameter has the same structure as an item in menuItems array. You can assign parameters of another existent item of themenu or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
You should change icon_normal, icon_over parameters for the items.