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:18

3 Frames - Menu version 5 problem


Poster: sjelle
Dated: Tuesday August 19 2003 - 15:07:43 BST

OK. I've tried the version 5 menu and dumped my (still not working) version 3 menu.

I'm working on a non-profit school website. I'm having the following problems :

1) the website consists out of 3 frames (header with banner, left with the menu v5 and main were the content will be shown)

Html :

<frameset rows="100,*" border="0">
<frame name="header" src="frames_header.htm" MARGINWIDTH="0" marginheight="0" scrolling="no" frameborder="0" noresize>
<frameset cols="130,*" border="0">
<frame name="side" src="frames_side.htm" MARGINWIDTH="0" marginheight="0" scrolling="no" frameborder="0" noresize>
<frame name="main" src="frames_body.htm" MARGINWIDTH="0" marginheight="0" scrolling="no" frameborder="0" >
</frameset>


2) configuring the menu structure goes fine in version 5. However when I run the menu and go to the submenu, it is stuck into the left frame and thereby is displayed over the menu.

3) I seem to have huge difficulties getting my content in the main frame. I always get an error when trying.

In the menu_data.js i've set the following line :

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=20;
left=260;
alwaysvisible=1;
aI("text=Home;url=http://www.src-veldenstraat.be/ target=_blank;status=Terug naar de startpagina;");
aI("text=De School;showmenu=school;status=De School;");
aI("text=Schoolstructuur;showmenu=schoolstructuur;status=Schoolstructuur;");
aI("text=Oudercomité;showmenu=oudercomite;status=Oudercomité;");
aI("text=Kalender;showmenu=kalender;status=Kalender;");
aI("text=Fotoalbum;showmenu=fotoalbum;status=Fotoalbum;");
aI("text=Klapgat;showmenu=klapgat;status=Klapgat;");
aI("text=Speelplekje;showmenu=speelplekje;status=Speelplekje;");
aI("text=Links;showmenu=links;status=Links;");
aI("text=Contactinfo;showmenu=contactinfo;status=Contactinfo;");
}

with(milonic=new menuname("school")){
style=menuStyle;
top=120;
left=150;
aI("text=Directie-Leerkrachten;url=javascript:openIFrame('main,'http://www.google.be');;status=Directie - Leerkrachten;");
}


drawMenus();

I've taken the google website as an example but it refuses to load.
I've been stuck a few days thinking what I'm doing wrong

Can anyone help me solving this ?


Poster: Hergio
Dated: Tuesday August 19 2003 - 15:24:06 BST

Two things, right now (and probably forever) the menu v5 does not support frames. Menus will not render over frame borders. Andy doesn't really like frames, and I'd like to say I don't either. They are a pain to get things looking right. But they will render over iframes with the hidediv tag. So you can try using iframes...they are like images but you can change their source. Also if you are using asp or php, you can use server side includes to bring in any borders, banners, or menus. Its WAY easier, definetly consider it. (Thanks for trying/using version 5!) :D

Secondly, you can target other iframes by using the target tag. Your aI tag would say url=www.google.com;target=myframe1; You dont need the javascript thing, I dont think.


Poster: sjelle
Dated: Tuesday August 19 2003 - 15:30:18 BST

Thanks for answering that quickly but I don't understand what you are trying to tell me (sorry)

How do I use Iframes ?


Poster: Hergio
Dated: Tuesday August 19 2003 - 15:33:38 BST

An i frame is a tag on a page that allows you to import any other webpage as if it was part of the page. It stands for INLINE FRAME. It behaves just like an img tag, with width and height properties, but its src property can be a URL. If you look at http://www.milonic.com/menusample.php?sampleid=11 you will see what I mean. You can then have your menu open up any page inside of the iframe, without have to reload the main page. Google HTML IFRAMES and see what you can learn!


Poster: Maz
Dated: Tuesday August 19 2003 - 16:35:58 BST

I've upgraded as far as I can go with IE 5.1.6

This is what I see in sample 11.

http://www.geocities.com/maz_arti/example11.gif
(note: geocities probably doesn't allow graphic links)

:cry:
maz