HTML fenêtre popup
Fermé
mattouuu
Messages postés
136
Date d'inscription
jeudi 13 décembre 2007
Statut
Membre
Dernière intervention
3 février 2011
-
17 déc. 2007 à 12:06
mattouuu Messages postés 136 Date d'inscription jeudi 13 décembre 2007 Statut Membre Dernière intervention 3 février 2011 - 17 déc. 2007 à 16:12
mattouuu Messages postés 136 Date d'inscription jeudi 13 décembre 2007 Statut Membre Dernière intervention 3 février 2011 - 17 déc. 2007 à 16:12
A voir également:
- HTML fenêtre popup
- Editeur html - Télécharger - HTML
- Raccourci agrandir fenetre - Guide
- Html download - Télécharger - HTML
- Fenetre privée - Guide
- /Var/www/html/index.html ✓ - Forum Linux / Unix
2 réponses
doctormad
Messages postés
430
Date d'inscription
mercredi 28 novembre 2007
Statut
Membre
Dernière intervention
2 avril 2015
99
17 déc. 2007 à 14:33
17 déc. 2007 à 14:33
window.open('http://babla.com','ta_frame');
Cf doc de window.open
Cf doc de window.open
mattouuu
Messages postés
136
Date d'inscription
jeudi 13 décembre 2007
Statut
Membre
Dernière intervention
3 février 2011
21
17 déc. 2007 à 16:12
17 déc. 2007 à 16:12
Merci pour ta réponse mais malheureusement cela ne marche pas, je te montre mon js :
/* Ouverture de 'pop-connexion.html' pendant le chargement de la page 'contenu' */
function attente(theURL,winName,features) {
window.open(theURL,winName,features);
}
Dans mon body on a ceci :
<LI><a href="Javascript:UneFonctionQuiRenvoiUneUrl" onClick="attente('pop-
connexion.html','pop','width=410,height=200,top=400,left=500')">Textes</a></li>
/* pop-conection.html */
<SCRIPT LANGUAGE="javascript">
/* Fermeture de la fenêtre au bout de 10 secondes */
function timer()
{
setTimeout("self.close()", 10000)
}
</SCRIPT>
</head>
<body onLoad="self.focus();timer()">
<table>
<tr>
<td><table>
<tr>
<td><img src="images/chargement.gif"></td>
<td><B><I> Chargement de la page, patientez </td>
</tr>
</table></td>
</tr>
</table>
</body>
/* Ouverture de 'pop-connexion.html' pendant le chargement de la page 'contenu' */
function attente(theURL,winName,features) {
window.open(theURL,winName,features);
}
Dans mon body on a ceci :
<LI><a href="Javascript:UneFonctionQuiRenvoiUneUrl" onClick="attente('pop-
connexion.html','pop','width=410,height=200,top=400,left=500')">Textes</a></li>
/* pop-conection.html */
<SCRIPT LANGUAGE="javascript">
/* Fermeture de la fenêtre au bout de 10 secondes */
function timer()
{
setTimeout("self.close()", 10000)
}
</SCRIPT>
</head>
<body onLoad="self.focus();timer()">
<table>
<tr>
<td><table>
<tr>
<td><img src="images/chargement.gif"></td>
<td><B><I> Chargement de la page, patientez </td>
</tr>
</table></td>
</tr>
</table>
</body>