Hi, first of all, i'm very glad the forum is back!
Well, im having some problems with frames.... look: http://www.1litro.com.br/solai/frames_capa.htm
I have 5 main menu items and just one of them has a sub-menu, which appears on the other frame. The problem is that when im over the main options with the mouse and pass through the option that has the sub-menu, it opens and doesn't close until i click on the other frame and then back.
I tried everything I could, read all FAQ, but the example in the FAQ doesn't use images, just text.
Here is the code i used on the menu:
,"<img src=images/menu_home.gif border=0>","capa.htm target=internas swapimage=images/menu_home_over.gif;",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=images/menu_empresa.gif border=0>","empresa.htm target=internas swapimage=images/menu_empresa_over.gif;",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar" offfunction=undefined;
,"","show-menu=lancamentos sourceframe=internas","lancamentos.htm target=internas backimage=images/menu_lancamentos.gif;overbackimage=images/menu_lancamentos_over.gif;",,1
,"<img src=images/menu_parcerias.gif border=0>","parcerias.htm target=internas swapimage=images/menu_parcerias_over.gif;",,,1
,"<img src=images/menu_fale.gif border=0>","fale.htm target=internas swapimage=images/menu_fale_over.gif;",,,0
Thanks in advance!
Charlie.
Submenu in other framedoesn't close while im on the mainmenu
Hi Charlie,
Three suggestions:
(1) In menu_navigado.js, you have the 13th element in your "mainmenu" array set to 1. This is the Keep Alive property; you should set it to 0 or leave it blank. This may have an interactive effect on what's happening.
(2) More importantly, you should specify the sourceframe property in each of your main menu items, even though they are not opening a submenu. So, for example,
should be
Note also the use of semicolons (;) between adjacent properties in the URL field.
(3) You should also specify the name of the target frame in the call to show-menu. So
should be
Hope that helps,
Kevin
Three suggestions:
(1) In menu_navigado.js, you have the 13th element in your "mainmenu" array set to 1. This is the Keep Alive property; you should set it to 0 or leave it blank. This may have an interactive effect on what's happening.
(2) More importantly, you should specify the sourceframe property in each of your main menu items, even though they are not opening a submenu. So, for example,
Code: Select all
,"<img src=images/menu_home.gif border=0>","capa.htm target=internas swapimage=images/menu_home_over.gif;",,,1
Code: Select all
,"<img src=images/menu_home.gif border=0>","capa.htm target=internas;sourceframe=internas;swapimage=images/menu_home_over.gif;",,,1
(3) You should also specify the name of the target frame in the call to show-menu. So
Code: Select all
,"","show-menu=lancamentos sourceframe=internas","lancamentos.htm target=internas backimage=images/menu_lancamentos.gif;overbackimage=images/menu_lancamentos_over.gif;",,1
Code: Select all
,"","show-menu=lancamentos target=internas;sourceframe=internas","lancamentos.htm target=internas backimage=images/menu_lancamentos.gif;overbackimage=images/menu_lancamentos_over.gif;",,1
Kevin
Hehe, there's nothing like the answer from the creator huh! 
You were right Kevin, the problem was I didn't especify the source frame on the other mainmenu items. Damn, how the hell they were supposed to know there were frames?? : ))))
Well, now it works. Thank you very much... I was almost getting mad with that.
See ya,
Charlie.

You were right Kevin, the problem was I didn't especify the source frame on the other mainmenu items. Damn, how the hell they were supposed to know there were frames?? : ))))
Well, now it works. Thank you very much... I was almost getting mad with that.
See ya,
Charlie.
Heh - 'creator' sounds almost Biblical...I thought I should point out, however, that I'm not one of the creators of the menu system. Just another user like you.
That's one of the best things about this forum (besides the menu itself). Not only will you get posts from The Crea... - umm, the author (Andy), but from regular users as well. Most everybody is willing to help, something this world could use more of. Better quit before I get started...

John
1) Hey Kevin.... I could sware you were one of the menu AUTHORS! 
But thanks anyway!
2) Jgillett, sorry by the "CREATOR", my spoken language is portuguese, and in portuguese, "creator" and "author" and "maker" mean the same thing.
I was in a hurry, so I didn't even think about that... but at least you understood what I was trying to say huh?
Bye,
Charlie.

But thanks anyway!
2) Jgillett, sorry by the "CREATOR", my spoken language is portuguese, and in portuguese, "creator" and "author" and "maker" mean the same thing.
I was in a hurry, so I didn't even think about that... but at least you understood what I was trying to say huh?

Bye,
Charlie.