Recent Questions Treeview Menu Css
Q: What i need is when the menu item is clicked in the dhtml context menu, it'll run a json the onclick or mouseup event.
Is this possible?
A: You can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
Actually you can use any html code within menuItems.
Q: If you look at our site in IE (PC) the deluxemenu looks great justified left w/ our logo justified right. When you look at it in Safari (Mac) the dhtml menu dropdown is stretched across the entire width of the page and our logo is no longer in view (yuk!).
A: Try to set exact width for the menu in 'px':
var menuWidth="300px";
Q: However when recreating the menus after deleting all trace of the trial version and loading on the licensed version I have developed problems.
When I create menus and test using expression web on explorer it works well but when published to web the dropdown menu appear but cannot be clicked on to be diverted to the relevant links. Also since loading the licensed version when using the test browser in expression web firefox a message appears as follows “firefox dosen’t know how to open this address, because the protocol (c) isn’t associated with any program”.
Please advise I have loaded the licence in the correct way I’m sure.
A: You cannot use local paths on your website. They won't work.
["Home","", "", "", "", "", "0", "0", "", ],
["|Localmag Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
["|Medway Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
["|childrens","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "","", "", ],
["|medical","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "","", ],
["|religious","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "","", "", ],
You should write
["Home","", "", "", "", "", "0", "0", "", ],
["|Localmag Homepage","localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
["|Medway Homepage","localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
["|childrens","localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "", "", "", ],
["|medical","localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "", "", ],
["|religious","localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "", "", "", ],
Q: In DHTML Menu, is possible call javascript when click on an item without close the javascript pop up menu ??
I would update a content subitem with ajax when click on a item, but when click the mouse on the item the menu is closed.
I can't use the showByClick property because i use popupMode=1 .
Can you help me ???
A: In JavaScript Tree Menu you can use the following parameter:
Parameter: smHideOnClick
hides submenus on click
0 - disabled, 1 - enabled.
var smHideOnClick=0;