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:22

Not your average FRAMES question


Poster: lawsy
Dated: Sunday October 6 2002 - 14:50:14 BST

I have a problem, and I know it partly steems from the fact that I'm intergrating DHTML into ASP, but lets deal with the real issues for starters....

The site it made up of 3 frames..

TOP , LeftMenu , MainFrame

I'm guessing these are pretty obvious... Now if this were my own Site, I would run it off PHP , and not use frames at all, but its not so I need a solution..

Ive utilised the latest version of Milonic Nav and created a menu that works WITHIN the LeftMenu Frame, and simply calls the relevant pages into the mainFrame...

I though that this should be a relative simple process to do..

ie.. ,,"Blah.html target=mainFrame",,,1

And in theory it works quite ok...

But in practice... NOT the same...

The FIRST time you choose an item from the menu, hey presto, works like a charm... your choosen page appears in the mainFrame Menu..

BUT... when you try choose another from this point the following error occurs...


A Runtime Error has occured
Line 205
Error:Object doesnt support this property or method


Can you offer a solution....???

Thanks

-lawsy


Poster: Andy
Dated: Sunday October 6 2002 - 16:23:02 BST

This could be related to the fact that you have not included the menu references in the page that you are calling.

All pages that you want to see the menu on will need the JS references to mmenu.js and your menu_array.js file

-- Andy

Why


Poster: lawsy
Dated: Sunday October 6 2002 - 18:08:00 BST

Why is this Andy...????

Most menus simply work on the basic that if they can find a file, it can be called, and loaded... Even basic HTML allows you to do this...

Why do I need to load the js files on all the pages when I'm not even going to utilise them... And wouldn't loading the js files on each page then also mean that I have the menu on each page... ???

This would mean that i would have the menu duplicated twice.. .. once in the lefthand frame, andd then again in the mainframe....

Surley there is another answer ?

I could understand the need to load the js files on every page if the submenus where going to be called from with that frame.... but this is not the case with this site...

This site uses the menu strictly in the lefthand frame alone... NO part of the menu ever goes near the mainFrame ... No submenu is ever loaded in the mainFrame, it is simply called from the left meanu frame..

Can you please have a re-think, there must be a reason why such a simple function isnt working..

thanks

lawsy


Poster: lawsy
Dated: Monday October 7 2002 - 17:39:49 BST

Help..

Hi Andy.. Ive tried a few different things, but I still cannot get it to work...

It feels like I havnt closed the database, and its trying to read an open id... or the its not refreshing the values...

Any ideas ????


Poster: Andy
Dated: Monday October 7 2002 - 17:47:42 BST

Hmmm - Not sure.

Do you have a URL that I could take a look at?

Should be able to spot the problem straight away then.

-- Andy


Poster: lawsy
Dated: Tuesday October 8 2002 - 16:35:21 BST

Yup... no problem..

http://www.takeskionline.com/frames2.html

I think this works ok...

Thanks Andy

-Greg


Poster: Andy
Dated: Monday October 14 2002 - 19:45:16 BST

Nope sorry, I can't see the site at all.

- Andy


Poster: lawsy
Dated: Tuesday October 15 2002 - 13:11:06 BST

Andy wrote:
Nope sorry, I can't see the site at all.

- Andy


Sorry Andy..... I spelt it wrong... Typo

http://www.takeshionline.com/frames2.html

Cheers

Greg


Poster: trytrix
Dated: Thursday October 17 2002 - 19:30:26 BST

Hi,

Still not connectable !!!!

Trytrix
(From The Flanders Fields 8O )


Poster: lawsy
Dated: Friday October 18 2002 - 1:18:46 BST

Andy, There was a " p " missing from the " htt.." part of the line....



Anyway, I think that I have fixed the code now anyway, and all seems to be working fine........

Thanks for your trouble..


Poster: Andy
Dated: Friday October 18 2002 - 6:50:23 BST

Hi,

An upgrade to the latest version should fix this problem.

The errors went away when I tried version 3.5.05 of mmenu.js

Cheers
Andy