par
pierrot » 05 avr. 2007, 15:03
merci à vous 2, ca semble marcher, c'est-a-dire le lien marche, ca ouvre bien en plein ecran. Mais il reste un ptit probleme de quote (j'ai jamais réussi à comprendre vraiment comment ca marche ces trucs là !!!)
du coup, sur la 1ere page, ca m'affiche:
plante plein écran onclick="window.open(this.href,'photo', 'height= '+h+', width= '+w+', top=0, left=0, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=no, status=no'); return false;"
voilà le code comme je l'ai modifié:
echo "<a href='./photosplantes/".$nomgrandeplante."' onclick=\"window.open(this.href,'photo', 'height='+h+', width='+w+', top=0, left=0, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=no, status=no'); return false;\">plante plein écran</a>";
Voilà, je pense qu'il doit juste rester ce probleme de quote et ca devrait fonctionner comme dans mes plus beaux reves !!!
merci à vous 2, ca semble marcher, c'est-a-dire le lien marche, ca ouvre bien en plein ecran. Mais il reste un ptit probleme de quote (j'ai jamais réussi à comprendre vraiment comment ca marche ces trucs là !!!)
du coup, sur la 1ere page, ca m'affiche:
[quote]plante plein écran onclick="window.open(this.href,'photo', 'height= '+h+', width= '+w+', top=0, left=0, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=no, status=no'); return false;"[/quote]
voilà le code comme je l'ai modifié:
[php]
echo "<a href='./photosplantes/".$nomgrandeplante."' onclick=\"window.open(this.href,'photo', 'height='+h+', width='+w+', top=0, left=0, toolbar=no, menubar=no, location=no, resizable=no, scrollbars=no, status=no'); return false;\">plante plein écran</a>";
[/php]
Voilà, je pense qu'il doit juste rester ce probleme de quote et ca devrait fonctionner comme dans mes plus beaux reves !!!