Integrate the Menu into a Framesite with PHP-Pages

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Tiedi
Beginner
Beginner
Posts: 1
Joined: Tue Dec 24, 2002 1:32 pm
Location: Germany
Contact:

Integrate the Menu into a Framesite with PHP-Pages

Post by Tiedi »

OK. i´m from Germany, so I be sorry for my english.

OK. I´ve already installed the menu on my homepage. my homepage is working with frames. the menu already runs on al html pages that are shown in the mainframe but how I have to integrate the Code into a PHP file?

I mean this code that must in every page head:

<HTML>
<Head>
<script language=JavaScript src="frames_body_array.js" type=text/javascript></script>
<script language=JavaScript src="mmenu.js" type=text/javascript></script>
</HEAD>

How musst I do it in a PHP file?
F. Jeffe
Beginner
Beginner
Posts: 2
Joined: Thu Nov 14, 2002 7:37 pm

Post by F. Jeffe »

Hello Tiedi,

I don't know whether you've already came to a solution. If not you could try to put the code into an include file, like:

$menu = <<<HERE

<script language=JavaScript src="frames_body_array.js" type=text/javascript></script>
<script language=JavaScript src="mmenu.js" type=text/javascript></script>

HERE;

print $menu;


Then include this file into the page you want to show the menu. Also you could paste the code directly into the file you want the menu to appear. It works for me so why not for you! Success....



F.J.
Post Reply