How-to?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Mega_Lewis
Beginner
Beginner
Posts: 3
Joined: Fri Jul 18, 2003 4:37 pm
Contact:

How-to?

Post by Mega_Lewis »

I am trying to find out in the *.js where I can specify that I want the URLS to load in the mainframe.
I got your very nice menu in the topframe, and i want it to load pages in the mainframe...

thanks!
Louis Gagnon
Mega_Lewis
Beginner
Beginner
Posts: 3
Joined: Fri Jul 18, 2003 4:37 pm
Contact:

Post by Mega_Lewis »

here is my awnser... pretty disappointing...
-------------------------------------------------------------
Does the DHTML menu support Frames?
Yes

The menu can cross frames and you can see a demo of this here Frames Demo

You will need to put the menu code in all pages that your frames target. Some of you find this defeats the object of frames but it's the only way we can safely add Frames support to the menu.

We are also working on scripts that will allow you to add the menu to a page before viewing in a frame, more details will be available soon.
Louis Gagnon
Mega_Lewis
Beginner
Beginner
Posts: 3
Joined: Fri Jul 18, 2003 4:37 pm
Contact:

Post by Mega_Lewis »

I am sorry, I am an idiot.. I found what I wanted, it patches my prob :

Can the DHTML menu open a document in another Frame?
Yes

All you need to do is add the text ' target=yourframe;' to the link in the menu_array file. Replacing 'yourframe' with the name of the frame you are targeting

Here is an example:

menu3=["menuname",
,,120,1,"",prop1,,"left",effect,,,,,,,
"Static Sample","images_sample.php target=yourframe",,,1,
"Dynamic Images","dyn_images_sample.php",,,1
]
Louis Gagnon
Post Reply