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

milonic menu and php script


Poster: Penge
Dated: Wednesday June 23 2004 - 11:56:50 BST

Hi all

I am trying to use the milonic menu called from a simple php script.
Here is my very simple script:

//Header including!!
if(file_exists("header.html"))
{
include("header.html");
}
else
{
echo "<li><b>header.html was not found. Make sure it resides in the root directory of this website.<br /><br /></li></b>";
}
//End header including
//Header including!!
if(file_exists("main.html"))
{
include("main.html");
}
else
{
echo "<li><b>main.html was not found. Make sure it resides in the root directory of this website.<br /><br /></li></b>";
}
//End header including
?>


Nothing strange. Just calling header.html and main.html
I have the milonic menu in the header.html code but when I let the menu choise go to an url it opens the new url in the header window and not the main window. How do I solve this ????
Hope you understood my problem....you can see the code at http://www.hunstok.no/ny/

Thanks.

Petter


Poster: Ruth
Dated: Thursday June 24 2004 - 4:58:11 BST

Unfortunately, we can't see the code as that link just takes us to a place that says page cannot be displayed. Header window and main window, is this some sort of frames?

Ruth


Poster: Penge
Dated: Thursday June 24 2004 - 6:08:59 BST

Ruth wrote:
Unfortunately, we can't see the code as that link just takes us to a place that says page cannot be displayed. Header window and main window, is this some sort of frames?

Ruth



It seems that the server is down for the moment.
Just try again.

Its sort of a frame but uses php instead as frame is something that is adviced not to use.
However the page you find at http://www.hunstok.no right now uses Iframes but still I would like to use php if someone have any experience to share in that issue.

Petter


Poster: John
Dated: Thursday June 24 2004 - 15:15:22 BST

Please provide an exact URL where the menu code is located. Like Ruth, I have been unable to locate it.


Poster: Ruth
Dated: Thursday June 24 2004 - 15:31:39 BST

Hi,
Ok, I just checked the page. The menu is opening the pages in the iframe. The problem is the position of the menu and/or iframe. Either move the table with the iframe down about 20 pixels or move the menu up about 20 pixels. I looked at it in ie5.5, netscape7.1, firebird.07

Ruth