Click to See Complete Forum and Search --> : Combined Menu JavaScript in Frames.


theatre22
11-24-2002, 07:18 PM
Hi :)

I'm working on a page trying to use a Combined Menu Javascript code that can be found at:

http://javascript.internet.com/navigation/combined-menu.html

The menus are in one frame on my page, and I want the resulting page to be posted in a different frame. How can I do that with this script?

Any help would be appreciated!

Beach Bum
11-24-2002, 09:05 PM
you need to fix this line

window.location.href = url;

to point to the other frame. in your frameset you gave the other frame a name, say target. then you would say

parent.target.location.href = url;

if i remember correctly. i am not at a place where i can test it right now. but i think that is right.