Page 1 sur 1

pop-up svp ...

Posté : 10 mars 2005, 01:49
par Scadox
dans une function php, je voudrais que le lien ouvre dans un pop-up et que ce pop-up ai aucun scrool bar ni bouton ni rien avec une grandeur fix qui es 640x240.


if($data['lien_windows']>='a')
{
echo "<a target=newwindow href=";
echo $data['lien_windows'];
echo "?idnews=".$data['id'].">Télécharger</a>";
}


je veu qui prend en charge : ?idnews=".$data['id']."

Merci.

Re: pop-up svp ...

Posté : 10 mars 2005, 01:51
par Invité
dans une function php, je voudrais que le lien ouvre dans un pop-up et que ce pop-up ai aucun scrool bar ni bouton ni rien avec une grandeur fix qui es 640x240.


if($data['lien_windows']>='a')
{
echo "<a target=newwindow href=";
echo $data['lien_windows']; // url stoké dan mysql
echo "?idnews=".$data['id'].">Télécharger</a>";
}


je veu qui prend en charge : ?idnews=".$data['id']."

Merci.

Posté : 10 mars 2005, 04:49
par Elie
http://www.editeurjavascript.com/script ... n_1_51.php
<?php

if($data['lien_windows'] >= "a") 
{ 
echo "<a href=\"javascript:window.open('".$data['lien_windows']."?idnews=".$data['id'],'_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=640, height=240'>Télécharger</a>"; 
} 

?>
>= "a" : Je vois pas trop ce que ca veux dire en fait ... mais bon :)