View Full Version : Getting Accordian menu working with frames

11-23-2008, 02:24 PM
Script : DD Accordion menu

I think that the above code is exactly what I want Ö however, I (with my lamentable knowledge of Java), cannot find out how I do the following:-

I am using frames.
I am using the accordion menu in the left frame.
I canít see how to get the page I want, when clicking on the appropriate menu choice, into the main frame.

All it does at the moment is load over the accordion menu in my left-hand frame.

Is there a simple solution please?.
My main frame is called ďframe-mainĒ Ö novel, donít you think!

I have tried altering all sorts of bits and pieces, step by step, but I havenít stumbled upon the solution yet.

Any help will be greatly appreciated

11-24-2008, 08:32 AM
Hmm have you tried just specifying a target attribute inside each of the menu links that point to the name of the target frame in question? For example:

<li><a href="http://www.dynamicdrive.com/style/csslibrary/category/C2/" target="myframe">Vertical CSS Menus</a></li>

The menu links are just ordinary HTML, so getting them to target a specific frame is no different than doing so for any link.

More info here: http://htmlhelp.com/faq/html/frames.html#frame-target