un link, deux pages qui s'ouvrent ???? en html

Statut
N'est pas ouverte pour d'autres réponses.

♥♥♥

ex membre
Tu m'en diras des nouvelles bonhomme! :wink:
 

QwesT

Elite
si le truc de fab te pose probleme, j'ai fait ca pour wwW.julos.be

ca ressemblais a ca ...



<SCRIPT language=JavaScript><!--
function act()
{
open("menuactualite.htm","menugauche");
}



function ag()
{
open("menuactualite.htm","menugauche");
}

function to()
{
open("menuactualite.htm","menugauche");
}

function jul()
{
open("menujulographie.htm","menugauche");
}

function cat()
{
open("menucatalogue.htm","menugauche");
}

function ei()
{
open("menuinteractif.htm","menugauche");
}

function com()
{
open("menucommandes.htm","menugauche");
}

function eq()
{
open("menuequipe.htm","menugauche");
}

function con()
{
open("menucontactez.htm","menugauche");
}

function li()
{
open("menuliens.htm","menugauche");
}

function pr()
{
open("menupresse.htm","menugauche");
}

function ar()
{
open("menuarchives.htm","menugauche");
}

// --></SCRIPT>
<STYLE type=Text/CSS></STYLE><link rel="stylesheet" href="menugauche.css" type="text/css">
</HEAD>
<BODY TEXT="#FFFFFF" LINK="#FFFFFF" ALINK="#99CC66" VLINK="#CCCCCC" BACKGROUND="images/arondi_menu.gif">
<CENTER><A HREF="indextournee.htm" TARGET=Central onclick="to();" class=liensmenuhaut>Tournée</A>
- <A HREF="indexjulographie.htm" TARGET=Central onclick="jul();" class=liensmenuhaut>Julographie</A>
- <A HREF="indexcommandes.htm" TARGET=Central onclick="com();" class=liensmenuhaut>Catalogue
online</A> - <A HREF="indexequipe.htm" TARGET=Central onclick="eq();" class=liensmenuhaut>Equipe</A>
- <A HREF="indexcontactez.htm" TARGET=Central onclick="con();" class=liensmenuhaut>Contactez</A><BR>
<A HREF="indexagenda.htm" TARGET=Central onclick="ag();" class=liensmenuhaut>Agenda</A>
- <A HREF="lien.htm" TARGET=Central onclick="li();" class=liensmenuhaut>Liens</A>
- <A HREF="indexarchives.htm" TARGET=Central onclick="ar();" class=liensmenuhaut>Archives</A>
- <A HREF="indexpresse.htm" TARGET=Central onclick="pr();" class=liensmenuhaut>Presse-Photo</A></CENTER>

:roll: :wink:
 

QwesT

Elite
le truc de fab semble plus simple :)
 

♥♥♥

ex membre
R

RedCross

ex membre
lol, ouais, plus dynamique disons :wink:

là, faut définir une fonction à chaque fois, donc, prévoir tt les cas de figures, alors que dans les 2 autres exemples, les variables sont dans le lien :)
 
1er
OP
DaBeast

DaBeast

Elite
mauvaise nouvelle lol..............ca marche tjs po, pourtant je vois po ce que je fait de mal :-(

<script language="JavaScript">
<!--
function load_multi_frames(url_1,url_2)
{

parent.frames['menu'].l0cation = url_1;
parent.frames['main'].l0cation = url_2;

}
-->
</script>


<a href="#" onclick="load_multi_frames('dutchmenu.html','dutchwelcome.html')"><img src="file:///C|/Documents%20and%20Settings/Pacha69/Desktop/Cv%27s%20site/Pictures/Dutch%20Flag.gif" width="40" height="30" align="baseline" border="0"></a>
 
1er
OP
DaBeast

DaBeast

Elite
si qq1 voit le truc qui pourait faire foirer tout le bazard.....

juste un chtite question fab, a quoi il sert ton # dans ton tag
a ?????

<a href="#" onclick="load_multi_frames('head_contact.htm','contact.htm')">clique ici</a>
 

♥♥♥

ex membre
C'est l'appel au javascript, enfin façon de parler, il faut laisser ça comme ça... :wink:
 
1er
OP
DaBeast

DaBeast

Elite
sniff ca marche tjs po, quand je clique sur le lien il fait rien.......
 

Nicool_

Motherfucker
lol t'as bien remplacé le "0" location par un O ? :wink:

On ne sais jamais !
 
1er
OP
DaBeast

DaBeast

Elite
euh non lol........pensait que ca devait rester un 0 moi.....

t'es sur que ca doit etre un O et po un 0 ?
 

Nicool_

Motherfucker
lol non, ça se transforme automatiquement en "0" mais c'est bien un "o" :)
 
1er
OP
DaBeast

DaBeast

Elite
ok, bon je testerais ca, la je termine les autres pages, on vera bien, je vous tient au jus.
 
1er
OP
DaBeast

DaBeast

Elite
okay, ca marche, thx tout le monde !!!!!!!!!!!!!
 
Statut
N'est pas ouverte pour d'autres réponses.
Haut