 | |
| Voir le sujet précédent :: Voir le sujet suivant |
| Auteur |
Message |
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 18:52 |
|
|
je l'ai est enlevé
Quand je clique cette fois ci, sa m'ouvre une page avec ce lien :
| Code: |
| http://www.allez-monaco.com/window.open(/'popup/news1.php/',/'_blank/',/'toolbar=0,%20location=0,%20directories=0,%20status=0,%20scrollbars=1,%20resizable=1,%20copyhistory=0,%20menuBar=0,%20width=350,%20height=300/');return(false) |
Voici le code, peut étre que j'ai mal fait quelque chose :
| Code: |
<body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href ="window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td>
|
|
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 19:32 |
|
|
On y arrivera
Sur ton lien remplace le href par
| Code: |
| href="javascript:window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)" |
|
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 19:48 |
|
|
Hélas cette fois ci, lorsque je clique sur le lien il se passe rien, et après avoir cliquez sur ce même lien, en bas à gauche, il m'indique à nouveau qu'il y a une erreur
| Code: |
| <body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)" ="window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td> |
On y arrivera pas  |
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 19:55 |
|
|
Si
regarde ton lien, il y a problème, il faut qu'il soit comme ca :
| Code: |
| <body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td> |
|
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:01 |
|
|
arff j'ai éssayé, ça ne marche pas, pourtant j'ai bien bien le code que tu ma dit de mettre
| Code: |
<body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0, width=350, height=300');return(false)"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td>
|
|
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:10 |
|
|
| Code: |
| href="window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');" |
essaye-ca on vera bien  |
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:21 |
|
|
Alors cette fois ci, avec ce code :
| Code: |
| <body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');" "><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td> |
Quand je clique sur le lien, une page s'ouvre, la page est introuvable, blablabla...., avec ce lien dans la barre d'adresse :
| Code: |
| http://www.allez-monaco.com/window.open(/'popup/news1.php/',/'popup/',/'width=400,height=200,toolbar=false,scrollbars=false/'); |
|
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:31 |
|
|
| Code: |
| href="javascript:window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');" |
Désolé, je m'étais trompé  |
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:44 |
|
|
Bon bin, ça ne marche toujours pas lool
cette fois ci quand je clique sur le lien, il se passe rien, sauf qu'il m'indique de nouveau une erreur a la page.
Le code que j'ai mis
| Code: |
| <body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');" "><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td> |
|
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:48 |
|
|
Tu as un " de trop.
| Code: |
| <body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td> |
|
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 20:54 |
|
|
bon bin sa marche toujours pas, toujours quand je clique sur le lien, il se passe rien
| Code: |
<body bgcolor="transparant"><TABLE ALIGN="CENTER" bgcolor="#FFFFFF"><TR><TD><table border="0" ALIGN="CENTER"><tr ><td><a class="type2" href="javascript:window.open('popup/news1.php','popup','width=400,height=200,toolbar=false,scrollbars=false');"><p align=center><FONT COLOR="CC0000"><b><FONT COLOR="000066">TESSSSSST1</FONT></b></a></FONT></p></td></tr><tr ><td>
|
Je crois que l'on va abandoner puisque sa n'a pas l'air de vouloir marcher  |
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 21:03 |
|
|
Depuis chez moi, ca fonctionne !
Il y a juste un truc bizarre, c'est que la fenêtre de derriere change aussi.
mé bon, il y a plus la phrase Error. |
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 21:16 |
|
|
Chez moi lorsque je clique sur le lien j’ai toujours le message d’erreur en bas a gauche , et aucune page qui s’ouvre.
Bizarre bizarre lol  |
|
|
Tophe82 dreamweaver mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 22:44 |
|
|
Pour info, voici le code que le gars ma donné pour le temps de chargement de la page :
Il ma dit sa :
Donc en fait ceci : (AVEC $start_time ET $total_time déclarés en global)
| Code: |
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$end_time = $mtime;
$total_time = ($end_time - $start_time);
$total_time = ""._PAGEGENERATION." ".substr($total_time,0,4)." "._SECONDS.""; |
Qui bien sûr ne marchera que s'il y a ceci au début de la création de la page (en standard c'est dans mainfile.php, vers le début)
| Code: |
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$start_time = $mtime; |
|
|
|
Nevinrhal html mioche

|
Popups qui s'affichent en cliquant sur des liens , Posté le: 09-06-2005 23:46 |
|
|
ok merci pour le code.
VRAIMENT désolé pour ne pas avoir réussit à résoudre ton probleme.
A+ sur le forum  |
|
|
|
|
S'enregistrer
Profil
Se connecter pour vérifier ses messages privés
Rechercher
Membres
FAQ
Connexion
|