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

Runtime Errors when menu link target is in different frame


Poster: gstadter
Dated: Saturday May 25 2002 - 17:19:15 BST

Your example of how to make submenus pop up in other frames seems to work just fine, though when i used your regular menu (for example the one available from dynamicdrive.com), the main menu page says i should be able to just add target=framex (example: "http://www.dynamicdrive.com target=framex") to make the results of clicking on that menu item show up in another frame. i tried a downloaded ver from dynamicdrive.com, as well as from your site. created a simple 2 frame page, and added the appropriate target statement to the first menu link (Home). as soon as i run it in IE and hover my mouse over the link, i get nothing but runtime errors. DO you have an example of this opperating properly anywhere on your site?? are there other changes that need to be made? the script debugger points me to the " if(pf)pf.closeallmenus(); " line of the following code:

else if(frt>0)
{
lt=parseLink(v1, "target");
if(lt)
{
v1=v1.substring(10,frt);
close_el(v1)
pf=parent[lt];
if(pf)pf.closeallmenus();

Answer found.....


Poster: gstadter
Dated: Saturday May 25 2002 - 17:52:57 BST

go to the "Bug Reports" area of this forum
look for thread called "Can't use in frames with external content.
read ALL replies.


Poster: yadin
Dated: Sunday May 26 2002 - 14:34:54 BST

We do have a working version of the frames example on our site, you can access it from the main menu. Do you get these same errors on our page? If so it may be an issue on your end as I have not seen this problem.
Thanks,
Yadin