PDA

View Full Version : AnyLink Drop Down Menu...Not anywhere....



krspar
06-20-2005, 11:08 PM
Script: AnyLink Drop Down Menu
http://dynamicdrive.com/dynamicindex1/dropmenuindex.htm

It works, but I am having two problems...
Problem 1:
The drop down menu is not displaying correctly. It will not display to the right of the "buttons", it displays to the left which presents a problem, because the "buttons" are aligned on the left of the page...Further it will only display in the frame that the buttons are in. Is there a way for me to tell it to display in another frame? I would like the drop down menu to display to the right of the buttons in the "main" frame. (the buttons are in the content frame)

Problem 2:
The links are not opening in the "main" frame. The frame that the buttons and by extension the menus are in is the "content" frame, but I want the links contained in the drop down menus to open in main, but instead they are opening in "content".

So how do I get this to happen...Is it even possible? I would be grateful for any help that you can give me. :confused:

If you need to see my html code to understand what I am talking about feel free to ask and I will be happy to provide it.

jscheuer1
06-21-2005, 08:17 AM
That menu wasn't really designed to do all that. If you want that sort of functionality try:

HV Menu v5.5 (http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm)

You can get the Anylink Menu to open links in a target frame (simply by using the target attribute in its links' tags*) but, dropping down, or over, across frames is beyond its design capabilities.


*ex:


//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.javascriptkit.com" target="main">JavaScript Kit</a>'Added Later:

You can drop down or across an iframe using Anylink Menu but, Anylink cannot be in an iframe. That would mean abandoning your frameset and substituting a suitable iframes setup.

krspar
06-22-2005, 07:33 PM
:o Okay thank you very much for your help...I didn't really think I could get the menu to display in another frame but thanks for your suggestions!