URGENT!!! Frame/XP Style Menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
antumniha
Beginner
Beginner
Posts: 2
Joined: Tue Jan 13, 2004 7:30 am

URGENT!!! Frame/XP Style Menus

Post by antumniha »

Hi All!
I have tried DHTML Menus (XP Style Menus) and liked them alot. A problem: I dont want to load menus on each page again. What i want is that if menus are loaded once on a page then they dont need to be loaded again through out the website navigation. A solution which comes to my mind is the use of frames. Now if I use XP Style menus in frames they dont run correctly and if I use milonic frame based menus then their layout is not like the XP Style menus. I want to use the same menus (XP Style) in frames because I like their layout and specially icons which come along every menu option. Any Suggestions??? Its Urgent plz!!!!
Kind Regards;
mAINA
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Rather than try to do the impossible, perhaps you think about a different way of doing things. I'm not sure about the loading but I don't think it has to load each time the page loads, I think that was changed, and its much faster now. I use xpemenu style even though I've changed it a lot, what you can do is keep it streamlined, so you are only using the same images over again, and you'll find images a pixel in size so there is very little to load.

What I'm saying is think about the menu as sitting on top of the page and you can do what you want with it, frames are no longer the thing to do. Think of the menu as its own frame but sitting on top of your page instead of bound inside. Then you are no longer limited by browser and css rules.

Take a look through all the styles, and use bits of each to build what you want on top of the page. Think out of the frame.

Sorry I can't suggest doing things by way of your current thinking, and I'm sounding as tired as I feel ;)

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

Post by fredlongworthhighschool »

I use IFRAMES which works ok for me.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
antumniha
Beginner
Beginner
Posts: 2
Joined: Tue Jan 13, 2004 7:30 am

Post by antumniha »

I have searched the forum and found many threads suggesting the use of iframes but in my case i dont wana use iframes. I have found a link to http://www.restaurantmagazine.co.uk in a thread. They say Version 5 does work very well with frames using the 'unsupported code'. Problem is that im unable to understand how iz it working can anyone help me out??? Its really urgent.
Kind Regards;
mAINA
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Have you tried contacting the webmaster of the Restaurant site?

Which 'unsupported code' is it they're talking about? I was under the impression that the frames demo files were V3.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Frames run in v3, which is no longer supported.

They do not run in v5, which is supported.

'Unsupported code' is just that - unsupported. Perhaps one of the users will respond to your post.

The menu code does load for every page you want it on (it's JS - it has to), but the modules are very small and load time is not even noticed.

Sleepy-head Maz is right - get away from frames.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

I may as well chime in here too. I am probably in the minority in this forum when I say that I am not a despiser of frames; despite their bad press, I believe that they still have their uses; e.g., in some web situations, on intranets, in html help or web help for applications. That said, it is also defintely the case that using frames introduces unique problems for a website, particularly one that you want to be well listed in search engines. Another problem: trying to support heavy scripting across frames.

As John said, the frames example of the Milonic menu uses version 3 of the menu code. You can achieve the "XP Style" look using version 3 (many have done so), but you are not likely to find much help in doing so since version 3 is no longer officially supported (there is, however, a large forum where you will find many answers for past version 3 questions).

Version 5 does not include built-in support for frames. It may some day, but then again it may never. I believe that the "unsupported code" you mentioned was an idea developed and presented by Dave Hergert (Hergio), one of the admins for these forums. The thread where the idea is discussed appeared in this help forum some months ago; you should b able to find it by using the forum's "search" function (start by searching for 'frames'). If I recall correctly, Dave put the idea out there, but did not offer any official support for it (he's a busy guy too). it was a good idea, and would work in a simple frames setup, but to make it work will require some js coding capability.

Final comment: As John pointed out, the menu scripts will load any time a page ontaining them loads... as is the natre of Javascript. But loading the menu scripts on each page should not pose a problem or any undue strain on loadtime. The code modules are small and load quickly. Also, after loading from the source site the first time, the scripts and images are cached and sould subsequently load from the user's browser cache (unless they have disabled caching), further reducing load time.

Hope that helps,

Kevin
User avatar
Joe-Holzwurm
Beginner
Beginner
Posts: 5
Joined: Wed Jan 21, 2004 4:33 pm
Location: Germany

Post by Joe-Holzwurm »

Hi,

today i got a message from andy. He said:

"Version 5.0 does not as yet support Frames, we are working on this and we
should have something soon."
regards,
Joe
Post Reply