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:36

milonic and php problem


Poster: ferp2
Dated: Sunday August 7 2005 - 16:56:23 BST

Hello,

I'm using Version 5.0 Release Candidate 8.0, which I purchased a license for in 2003.

Previously I had milonic running on a plain html page, but now I have the html page divided into "head.txt", "body.php" and "tail.txt" files. The body.php page sources head.txt and tail.txt using the include() function. In this php scenario, the Milonic menu works normally; however, when I scroll to the bottom of the page, and then click on a link to bring me back to the top of the same page, the Milonic menu puts a space between the primary (horizontal) menu and the secondary (vertical) menu.

The reason this is happening is that the piece of code:

Code:
<a name="top"></a>


that allows me to return to the top of the page is initially found in the head.txt. If I put the above code in the body.php page, Milonic continues working as normal after I have clicked the link to return to the top of the page.

I would like to keep the above code in the head.txt file which php parses along with tail.txt. Is there a way to do this without causing the Milonic menu to put a space between the primary menu and secondary menu?

I should add that I am using Firefox/1.0.5

Thank you.


Poster: Ruth
Dated: Sunday August 7 2005 - 17:50:57 BST

Hi,

I'm sorry to give you the bad news, but there's no way we can help with this. Support is at the current menu level only. We would have no way of knowing what that level had as to programming to see what it was that was causing such a space. It is probably something that was fixed in some version along the way.

The only thing I can suggest is using it the way it works, or upgrading to the newest version of the menu. If you do upgrade, remember to keep your existing files separate so you have that until you get the new version working as you want. There are a lot of new features including a php menu [I don't know anything about php so can't give you info on how it works or anything]

You could download the unlicensed version to check things out.

Ruth