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

trouble with iFrames on MAC


Poster: andrea
Dated: Friday August 22 2003 - 8:23:35 BST

hy, now i'm in the right forum :P

http://www.melzidesign.it/html
here is the demopage with the problem

as u can see if u use a mac with ie the submenu
are under the white area of the iframe...

> Are you setting your hidediv correctly? Make sure your iframe has an
> ID and a NAME, and make them the same for simplicity, and then for
> whatever menus you want to go over the iframe, put hidediv=iframeID
> in the menu declaration.

i'm really not good with javascript and i've not understood where
to put the things u've told me in the other post (in the wrong forum)

another thing... i've done my link using:
"http://www.mediaset.it target=main;sourceframe=main;"
and seems to work, i've seen on the site this code:
aI("text=My JS Function;url=javascript:myfunction(\"my parameter\");")
where i'm supposed to use it?

thanks for u'r help
andrea


Poster: Hergio
Dated: Friday August 22 2003 - 13:30:40 BST

Andrea, you were right the first time. Looking at the code on your site, you are using version 3.x, not 5. So the aI() function wouldnt even work for you. You should continue posting into your other post in the other forum if you want to use v3. If you want to upgrade we'll keep it here. We can also move this post over to v3forum if you'd like....the reason I am so anal about keeping the right topics in the right forums is because I use the search feature ALOT and I specify which forums to search and I dont like v3 stuff coming up on v5 searches, know what I mean?


Poster: andrea
Dated: Friday August 22 2003 - 14:32:41 BST

ok :(
i'm very sorry
i've been wrong a lot of time

now i've upgraded but i don't understand where i've to put
"hidediv=iframeID"... where is the menu declaration?

i've putted my examples page in this site:
http://www.melzidesign.it/html

i'll try to explain all:
from the homepage i've to open a new page with a top frame
containing the menu and a bottom frame with an external link
just like the example above

all seems to work fine on my pc but when i try to use the mac
with ie the submenu are overlapped by the iframe...

i know u've just replyed me but i'm not very good with javascript
so i've not idea what to do

thanks for u'r patience
andrea


Poster: Hergio
Dated: Friday August 22 2003 - 15:12:47 BST

ahh ok, glad to see we're set on v5! Glad to have you on board! ;) Ok, when you declare your menu, there is a thing called hidediv that will tell the menu to explicitly render OVER the iframe specified. See my example below...oh and before you do this, make sure your iframe tag in your HTML looks like this.
Code:
<iframe id='myiframe' name='myiframe' src='google.com'></iframe>
ID and Name should be the same.
Then in your menu code it should look like this.:
Code:
with(milonic=new menuname("menu1")){
top=63;
left=6;
style=TopStyle;
alwaysvisible=1;
margin=1;
screenposition="center";
alignment="center";
hidediv="myiframe";    // this should be the iframe you want to go over
orientation="horizontal";
aI("text=Home;showmenu=home;url=#;target=myiframe;status= ;");
aI("text=HR;showmenu=hr;url=#;target=myiframe;status= ;"); //dont forget target


Poster: andrea
Dated: Friday August 22 2003 - 15:35:37 BST

nothing todo

i'm pretty sure to be right now but it doesn't still work
on the mac :(

if it will be wrong for a long time i think i'll have to find
another menu :(

the code i've used is this one:
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
hidediv="main";
orientation="horizontal";
aI("text=HR;showmenu=hr;url=#;target=main;status= ;");
aI("text=Menu Samples;showmenu=Samples;");


all is visible on my site:
http://www.melzidesign.it/html

the thing that make me afraid is that also the example
posted yesterday from this site doesn't work on mac
may be a bug? i hope not because i'm going to love this
menu and i don't want to change with another one

but i'm the only one with this problem?! nobody has to do
a cross browser site?! sob

thanks
andrea


Poster: Hergio
Dated: Friday August 22 2003 - 15:49:57 BST

So far its all I can think of now, this may be a bug and might need fixin'. Andy will be grazing over these posts in a short while, maybe he'll have a comment. Also, dont give up totally on this menu, the next revision may very well fix the problem. Stick with it. :)