Runtime Errors when menu link target is in different frame

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
gstadter
Beginner
Beginner
Posts: 3
Joined: Sat May 25, 2002 5:04 pm

Runtime Errors when menu link target is in different frame

Post by gstadter »

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();
gstadter
Beginner
Beginner
Posts: 3
Joined: Sat May 25, 2002 5:04 pm

Answer found.....

Post by gstadter »

go to the "Bug Reports" area of this forum
look for thread called "Can't use in frames with external content.
read ALL replies.
User avatar
yadin
Super Advanced
Super Advanced
Posts: 69
Joined: Sun May 19, 2002 8:23 pm
Location: State College, PA, USA
Contact:

Post by yadin »

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
Post Reply