Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:55

Problems with showmenu and open url together


Poster: HiE
Dated: Thursday September 14 2006 - 17:12:51 BST

Hi, I want to use this line:

aI("showmenu=menu1;text=menu1;url=menu1.htm;openonclick=1;");

but it isn´t works.

I want that I click on the button open url, and showmenu.

It is possible??

Thanks


Poster: Ruth
Dated: Thursday September 14 2006 - 19:32:02 BST

Hi,

If you set openonclick, then when you click on the item, even if the menu were to show for the second or so it takes for the page to change, when you get to the next page the menu wouldn't be open, you'd be back to a page with just the main menu. However, if you don't use open on click then when you mouseover the item the menu will show and when you click on the item you'd go to the next page.

If you want the menus to open on click, then I suggest that, instead of having a url in the item, you put the url in the first item of the submenu that you open on click.

Ruth

my problem continue


Poster: HiE
Dated: Friday September 15 2006 - 7:43:45 BST

Hi, the menu load in a iframe, so i need load some frames before the pages that load inside. So, I need that the menu button with openonclick=1, when click in the bmenu button than load a page with frames and showmenu, then I can clich on submenu item to load another page in the frame load before in the menu button.
If I put the line:
aI("showmenu=menu1;text=menu1;url=menu1.htm;openonclick=1;");
It load the page menu1.htm but don´t show the menu1.
Can someone help me??
Thanks


Poster: Ruth
Dated: Friday September 15 2006 - 7:45:58 BST

Hello,

We are going to need a link to the page so we can see if we can find a solution to what you want, and to clearly understand what it is you want

Ruth

I resolve my problem


Poster: HiE
Dated: Friday September 15 2006 - 8:50:47 BST

I resolve my problem with this line:

aI("showmenu=menu1;text=menu1;clickfunction=iframename.location.href='menu1.htm';");

iframename= iframe name to load de page
It´s OK.

Thanks