load two pages with one link

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Snopsy
Beginner
Beginner
Posts: 1
Joined: Fri Jun 14, 2002 10:01 pm

load two pages with one link

Post by Snopsy »

Hello,

i will load two different pages in two different Frames. How do i do this?

I have testet it with a function who loads two pages in two frames, but i can't load the function in the menu-scipt. Then i becomes an error-message.

my Function is (the functions is above the menu-script):

Code: Select all

function start_mich()
{

    parent.mitte.location = "mich.html";

    parent.hilfe.location = "hilfe.html";

}

function start_urlaub()
{

    parent.mitte.location = "urlaub.html";

    parent.hilfe.location = "hinweis.html";

}
my load is:

Code: Select all

addmenu(menu=["test",
                ,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
                ,"mich","start_mich()",,,1
                ,"urlaub","start_urlaub()",,,1
        ])
Can Someone help me??

BYE Snopsy[/code]
hippysalamanca
Beginner
Beginner
Posts: 2
Joined: Tue Jun 25, 2002 12:54 pm

Post by hippysalamanca »

I modifyed this function like this

function openwin(url,url2)
{
nwin=window.open(url,"bottom");
window.open(url2,"up");
nwin.focus();
}



and the menus are this way
addmenu(menu=["estructura",,,170,1,"",menu1,,"",effect,,,,,,,,,,,,
,"Presidencia y Coordinación", "javascript:openwin(\"presidencia_y_coordinacion.htm\",\"navegacion/26.html\")",,,1
,"Cultursa", "javascript:openwin(\"cultursa.htm\",\"navegacion/01.html\")",,,1
,"Junta de Gobierno", "javascript:openwin(\"junta_de_gobierno.htm\",\"navegacion/01.html\")",,,1
,"Comisión Ejecutiva", "javascript:openwin(\"comision_ejecutiva.htm\",\"navegacion/01.html\")",,,1
])




that way it work perfectly
Post Reply