Milonic menu in a php loaded page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Penge
Beginner
Beginner
Posts: 5
Joined: Tue Jun 15, 2004 7:53 am
Location: Norway
Contact:

Milonic menu in a php loaded page

Post by Penge »

Hello all you wise people. ;)

I have searched through the pile of e-mails on my computer to try to
find a solution to my problem but it might be too simple to be posted
here so I really feels like a dummy.....but anyhow...I am a "brave guy"
and dump my troubled question out to you guys......looking for some
help in the horizon......

I am working on a homepage were a php script loads 2 html
documents. One is called "header.html" and the other is called
"main.html"
That's all the php script do (so far).
The "header.html" contain the milonic menu (horizontal).
What I want is to let a choice on the menu in the "header.html" load a
new page to replace the main.html.
But just putting an url or a "*.html" statement in the menu replace the
"header.html" (were the menu is) instead of what I want, replace the
"main.html"

Hope you understood it.
How can I solve this ????

BR

Petter
Norway
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Forgive my ignorance if I'm wrong, but is this a frames scenario?

It reads to me like your PHP file is calling up a 'header' frame with the menu in, and a 'body' frame with your web pages. Then, when you select a page in the menu, it loads up a new page in your 'body' frame.

I'm using IFRAMEs which does something very similar.

Andy.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Penge
Beginner
Beginner
Posts: 5
Joined: Tue Jun 15, 2004 7:53 am
Location: Norway
Contact:

Post by Penge »

fredlongworthhighschool wrote:Forgive my ignorance if I'm wrong, but is this a frames scenario?

It reads to me like your PHP file is calling up a 'header' frame with the menu in, and a 'body' frame with your web pages. Then, when you select a page in the menu, it loads up a new page in your 'body' frame.

I'm using IFRAMEs which does something very similar.

Andy.
Hello Andy,

Yes this is a frame situation.
I want to try using php in this was to avoid HTML frames which I've learned is not adviceable.
Php loaded frame should work better with search engines an so...is what I've learned.

Yes I've seen the example of using Milonic and IFrames...
But how compatible is IFrames ??
Is it as "bad" as HTML frames ???


Petter
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Iframes is a very good solution. I've had no problems with it so far, but I am in the process of replacing the site with INCLUDES calls instead. You can see the results on my site.


http://milonic.com/forum/viewtopic. ... ht=iframes

http://milonic.com/forum/viewtopic. ... ht=iframes


These two topics really got me working with iframes. Hope they help.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Penge
Beginner
Beginner
Posts: 5
Joined: Tue Jun 15, 2004 7:53 am
Location: Norway
Contact:

Post by Penge »

fredlongworthhighschool wrote:Iframes is a very good solution. I've had no problems with it so far, but I am in the process of replacing the site with INCLUDES calls instead. You can see the results on my site.


http://milonic.com/forum/viewtopic. ... ht=iframes

http://milonic.com/forum/viewtopic. ... ht=iframes


These two topics really got me working with iframes. Hope they help.
Thanks again Andy.
Sorry for all my typos in my messages but its still early morning for me :-)

I will look at your examples and consider using Iframes.

Thanks a lot.

Petter
Norway
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

No problem, feel free to ask any questions if you get stuck!
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Post Reply