Recent Questions Zend Framework Tree Menu
Q: I try to fix the height of the submenu "Zone Climatiques" to 400px but I didn't find the way to do this. It worked by setting var smHeight=400px but that setting set all submenus. I would like set only the height of "Zone climatiques" submenu.
Thanks for your help.
A: You should create Individual Style
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
["smHeight=400px"],
];
and assign it to the first item in submenu
["3101 - Ste-Anne-Des-Monts","ProcessClimaticZone/edit.do?id=3101,2003-11-13", , , , , ,"1","stationSubMenu.htm?climaticZoneId=3101,2003-11-13",],
Q: I am a web developer and evaluating your product using the Trial Version. I created navigation bar for our website.
It is displaying fine (centered) when using Internet Explorer 7.0. When I access the same website using FireFox Browser, the java drop down menu code aligns on the left.
A: It is not correct to write
align=middle
you should write
align=center
You should set the following menu parameters:
var absolutePos=0;
var posX="0px";
var posY="0px";
Q: I have an HTML application with 4 iframes. The main html file contains 3 iframes (top toolbar, left toolbar, and main area) and the menu. The main area iframe contains one additional iframe were the actual data is. When I interact with the data in this last iframe and try to dynamically change the menu in the .html file I get the error message: 'm' is null or not an object
The API call is:
dm_ext_addItem(0, 0, ["test1", "testlink.htm", "", "", "test1m", "_blank", "1"]);
I only have one menu.
I am using IE6
I included these files in both the hta file and the iframe source file.
<script type="text/javascript" src="./data.files/dmenu.js"></script>
<script type="text/javascript" src="./data.files/dmenu_dyn.js"></script>
<script type="text/javascript" src="./data.files/dmenu_key.js"></script>
A: JavaScript Tree Menu doesn't work with <IFrame> objects. It works with<frameset> objects only. All it can to do with <IFrame> is to loadpages into it.
You should use standard installation for the menu (cross-frame mode).
See more info here:
http://deluxe-menu.com/cross-frame-mode-sample.html
http://deluxe-menu.com/data-samples/cross-frame-horizontal-1-sample.htm
There is no need to call dmenu_...js files.
<script type="text/javascript" src="./data.files/dmenu.js"></script>
<script type="text/javascript" src="./data.files/dmenu_dyn.js"></script>
<script type="text/javascript" src="./data.files/dmenu_key.js"></script>
You should write:
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "./data.files/";</script>
<script type="text/javascript" src="./data.files/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
Q: I am using the deluxe menu in a cross frame set-up. The sub menu's are to be in the 'MAIN' frame. All works great until I have a php file loaded into the MAIN frame.. the sub menus will load in the parent frame.. where the main drop down menu is..
Click skip intro or wait for the site to appear… you will see the menu down the left side… if you click the second button down you will load a php blog page into the MAIN frame… then hover over the third button down and you will see the problem with the sub menu.. it works fine when other pages are loaded (click Home and then hover over the screenplay button again.
Everything is local (the blog is loaded and running for our server account)
A: Your menu is situated in http://www.domain.com domain andthis content is situated in http://domain.com domain(without www).
Try to use the same domains for the menu and your content.