Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:22

No output on page


Poster: Ice
Dated: Tuesday February 5 2008 - 22:52:47 GMT

Hello,
I have used Milonic a few times in the past & never had any problems. But a client of mine selected to use your menu's and wanted php controls built in to control the content. I am using the normal setup as provided on the help thread (Xhtml version using cdata). The output is for menu_data.js this is what i produces (sorry its norm formatted)

Code:
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps _menuCloseDelay=500; _menuOpenDelay=150; _subOffsetTop=2; _subOffsetLeft=-2; with(AllImagesStyle=new mm_style()){ styleid=1; bordercolor="#DEDFDE"; borderstyle="solid"; fontstyle="normal"; fontweight="normal"; padding=3; } with(menuStyle=new mm_style()){ bordercolor="#DEDFDE"; borderstyle="solid"; borderwidth=1; fontfamily="Verdana, Tahoma, Arial"; fontsize="75%"; fontstyle="normal"; headerbgcolor="#ffffff"; headercolor="#000000"; offbgcolor="#DEDFDE"; offcolor="#DEDFDE"; onbgcolor="#DEDFDE"; oncolor="#ffffff"; padding=5; pagebgcolor="#DEDFDE"; pagecolor="black"; separatorcolor="#DEDFDE"; separatorsize=1; subimage="img/arrow.gif"; subimagepadding=2; } with(milonic=new menuname("Main Menu")){ alwaysvisible=1; left=0; orientation="horizontal"; position="relative"; style=AllImagesStyle; top=0; aI("image=menu/img/home.gif;overimage=menu/img/home_on.gif;url=http://195.169.149.206/~nedhum/;"); aI("image=menu/img/nieuws.gif;overimage=menu/img/nieuws_on.gif;showmenu=menunieuws;"); aI("image=menu/img/overhuman.gif;overimage=menu/img/overhuman_on.gif;showmenu=menuoverhuman;"); aI("image=menu/img/overhumanisme.gif;overimage=menu/img/overhumanisme_on.gif;showmenu=menuoverhumanisme;"); aI("image=menu/img/humanistischeorganisaties.gif;overimage=menu/img/humanistischeorganisaties_on.gif;showmenu=menuhumanistischeorganisaties;"); aI("image=menu/img/diensten.gif;overimage=menu/img/diensten_on.gif;showmenu=menudiensten;"); aI("image=menu/img/contact.gif;overimage=menu/img/contact_on.gif;url=http://195.169.149.206/~nedhum/?pg=cntct;"); } with(milonic=new menuname("menunieuws")){ //overflow="none"; style=menuStyle; } with(milonic=new menuname("menuoverhuman")){ //overflow="none"; style=menuStyle; } with(milonic=new menuname("menuoverhumanisme")){ overflow="none"; style=menuStyle; } with(milonic=new menuname("menuhumanistischeorganisaties")){ overflow="none"; style=menuStyle; } with(milonic=new menuname("menudiensten")){ overflow="none"; style=menuStyle; } drawMenus(); clearTimeout(_mst) _mst=null _startM=1


But when I load the site itself, I get a blank section where the menu should be, In FireFox I can highlight where the images should be, but in IE I cant even do that, nothing displays in that section. I have checked the image locations & their all their, the menu itself doesnt drop down etc either so I dont think that is the problem.

Any help would be greatly appreciated, sorry about the formatting again.

Regards,
Ice aka Mike

Re: No output on page


Poster: Ruth
Dated: Tuesday February 5 2008 - 23:04:55 GMT

Hi Mike,

Well, we would need to have the url so we can test and see why the menu is not showing up. Also, I don't do php but the menu at the main milonic.com site is a php menu and the data file is saved as menu_data.php, not sure if that has anything to do with it. The other thing I'd suggest is checking the paths for the actual milonic program files to make sure that's correct. Without the page, those are all the things I can suggest.

Ruth

Re: No output on page


Poster: Ice
Dated: Tuesday February 5 2008 - 23:22:55 GMT

Issue resolved :
Error was that the php output was not including any menu contents, once I cleaned up the previous coder's php it was able to run perfectly :)