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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:46

menus in frames


Poster: b.dam __at__ gmx.net
Dated: Wednesday January 30 2002 - 12:46:06 GMT

First of all, thanks for this menu, it's the best by far, and I've seen a lot of them!

There's always a but however, so here it goes:

When will the framesupport be included?

Or are there any happy coders out there who managed to get this working already? Javascript has always been my weak point, and it only gets me frustrated to get things to work in most browsers, so I won't try it myself.


Bertus

Re: menus in frames


Poster: davezahniser __at__ yahoo.com
Dated: Tuesday March 12 2002 - 21:01:55 GMT

Hi,

<a href=http://milonic.com/menu/frames/>http://milonic.com/menu/frames/</a> should give you a clue..

There's still some work to do but it's almost there.

Andy.

Re: menus in frames


Poster: el_kiwi __at__ hotmail.com
Dated: Tuesday March 12 2002 - 21:21:47 GMT

Hey Andy-

What version of the script did you do this with, or was it just a one-time hack for demo purposes?

-Gyro

Re: menus in frames


Poster: chwats __at__ yahoo.com
Dated: Tuesday March 12 2002 - 23:47:30 GMT

Andy,

It looks like your menu doesn't reload or something. The menu starts fine at first, but upon clicking one of the items in the menu and mousing over the menu again I get a javascript error. I use IE6. Just a beta problem?


Bertus

Re: menus in frames


Poster: thirdoffthematch __at__ yahoo.co
Dated: Tuesday March 12 2002 - 23:58:48 GMT

Me too. I have downloaded the demo frameset, and as soon as I click a menu option I get a 404 error on the body (obviously - I don't have the HTML). However, any subsequent attempt to mouseover the menu raises a javascript error.

Surely I don't need coding in each of the body pages too?



Jim

PS Andy - is this the same Andy from Little Leigh?

Re: menus in frames


Poster: brokentoe __at__ bigfoot.com
Dated: Wednesday March 13 2002 - 1:49:12 GMT

Well Jim, when you see the example on this website (http://milonic.co.uk/menu/frames), it works fine. However, you're right about having to include 2 lines of javascript code in each body frame that needs this menu.

Andy, could you also produce a version which doesn't have this problem?(problem at least for me, because I only want to use a frameset to avoid having to dynamically generate those menuscripts on every pageload again).

Re: menus in frames


Poster: tbchmpion __at__ aol.com
Dated: Wednesday March 13 2002 - 2:35:23 GMT

Are the two files
frames_header_array.js
frames_side_array.js

... ready for downloading? I see that they are called in the code on the frames demo. But I don't see access to them on the site anywhere.

I see in this chain that Andy says back in February that the code is almost ready. It is now mid-April and I'm just wondering.

I'm still in the experimental stage as I try to learn this fine menu. Having the menu jump across frames would be a real neat accomplishment. Anyone? /francis

Re: menus in frames


Poster: cbeattie __at__ alphalink.com.au
Dated: Wednesday March 13 2002 - 6:21:36 GMT

Here I'm back almost immediately. I found the code by following the other chain about frames. I've just downloaded it. Now I shall give it a try. /francis

Re: menus in frames


Poster: el_kiwi __at__ hotmail.com
Dated: Wednesday March 13 2002 - 17:32:56 GMT

Francis - where did you find it? I've been looking, too! /terry

Re: menus in frames


Poster: c0llegeguy99 __at__ yahoo.com
Dated: Wednesday March 13 2002 - 21:13:04 GMT

Just go to http://milonic.co.uk/menu/frames and do the view source on the top and side frames and you will see the location of the two files. You can then just enter it on the URL and download the files separately.

HTH

Re: menus in frames


Poster: leatherfoot2 __at__ backpacker.c
Dated: Thursday March 14 2002 - 15:59:23 GMT

Thanks, Indra - oddly enough I did just that about 5 minutes before getting your reply. Now all I need to figure is how to add the frames_body_array and mmenu to each and every 'external' link, so that I don't get the error message. Any ideas, anyone? /terry

Re: menus in frames


Poster: mangaurav __at__ yahoo.com
Dated: Thursday March 14 2002 - 18:04:32 GMT

I downloaded a zipped file called frames.zip. Offhand I don't remember where on the site I found it. It's gotta be there somewhere. There were 9 files in it but of course only the two js files were necessary. The rest was the demo sequence from the site.


However the js files hadn't been fully cleaned up (stray addmenu command in the body file with no corresponding line in the header addmenu plus a Frames_Top_Offset=-34 in the header file. I could not get the menus to line up until I changed that value to 100.)

But all in all the menu is pretty neat. I imagine the external link problem is still being worked on. I have only two external links on the menu and if push comes to shove, user can click the BACK button or one of the other menu options to get the lower menu back.

'm going to get the mid-support. Something this good deserves emolument (dictionary please) . /francis

Re: menus in frames


Poster: mikey __at__ mcrco.com
Dated: Thursday March 14 2002 - 18:19:13 GMT

Thanks, Francis - got it all! /terry

Re: menus in frames


Poster: Michael.Konopka __at__ siemens.c
Dated: Thursday March 14 2002 - 20:03:34 GMT

also many thanks from me, francis!!

Re: menus in frames


Poster: rhthornton __at__ ozemail.com.au
Dated: Thursday March 14 2002 - 22:20:47 GMT

Terry, Andreas, Andy et al.

As regards the external links, has anyone thought of the obvious which I am about to implement on my two externals with a likely chance of success (because the links are kindreds and in one case I know the folks who own the site)?

Email the two lines of code============================

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

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

to the webmaster with the request they be inserted immediately following the <body> tag. Explain you are linked to his website, that you are using this nifty dynamic Wooley-driven cross-frames menu and that by including the code it will maintain his link priority status on your site and mesh his page with your menu. Tell him you think this menu is a real site enhancer because once it becomes well-known more page designers will choose to use frames because of this menu.

Include the click for milonic and you've spread the word. Ask him to bring up your site and test the link to his and observe how the menu works. What better way to serve Andy's hard labor than to advertise the menus through direct contact with the external link site. Seeing is believing.

In addition to the lines (or perhaps in place of), cut and paste the two html tags containing the same code lines into the email which will make the implementation even easier. The external link guy can then paste them into the upper left corner (preferably on their own inserted line) of his various pages and. . .

presto - the external link problem is solved and the word about the menus is spread.


Then {grin} use your own active imagination to see the tags spread to the third and forth generation of external links and beyond..... Today the UK, tomorrow the world. /francis

Re: menus in frames


Poster: hejhejhej __at__ mail.com
Dated: Friday March 15 2002 - 0:55:17 GMT

I forgot to mention that in many email clients you can't see the cut and pasted tags (preferably included as part of an html file) the receiver can't see the tag until he tries to forward the message. Then the tag can be cut and pasted. /f

Re: menus in frames


Poster: tbchmpion __at__ aol.com
Dated: Friday March 15 2002 - 1:00:11 GMT

anybody found out how to position the drop-down that apears in the subframe?

nb
if you look at the demo it appears just fine underneath the main menubar, but try moving the width of the side frame....

Re: menus in frames


Poster: n.mcgill __at__ unn.ac.uk
Dated: Friday March 15 2002 - 12:44:12 GMT

In the header array file what value have you got for Frames_Top_Offset= ?

Re: menus in frames


Poster: n.mcgill __at__ unn.ac.uk
Dated: Friday March 15 2002 - 14:41:56 GMT

left it unchanged at -34

And... YES, right, that's it! I changed it to -63 which for me is the right setting.

Thanx Francis

Guess I should read the discussion more attetively next time!

Niels

Re: menus in frames


Poster: landolt __at__ strichpunkt.ch
Dated: Friday March 15 2002 - 15:40:50 GMT

-63 is puzzling to me. I took a guess, entered 100 (not -100) and it came just right.

Re: menus in frames


Poster: landolt __at__ strichpunkt.ch
Dated: Friday March 15 2002 - 15:41:17 GMT

It depends on the width of the side frame (if you have one). The position of the menu bar in the top frame is of no importance.

If you like you can see my results at http://www.ekoplantpartners.nl (that's a Dutch site)