KiLLeUr Dieu de San Andreas
Inscrit le: 16 Avr 2006 Messages: 1397
|
Posté le: 16/07/06 à 19:37 Sujet du message: |
|
|
il est bien fait mais y'a un bug tout en haut :
Code: | '; popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1'); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close() }; function afficheVignette2(cheminVignette,cheminMaxi,width,height) { document.write(' '); } function afficheMaxi2(chemin,width,height) { i1 = new Image; i1.src = chemin; var top=((screen.height-height)/2); var left=((screen.width-width)/2); html = '
'; if (width < screen.width) popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,left='+left+', top='+top+', width='+width+',height='+height+''); else popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1,left='+(((screen.width-(screen.width-20))/2)-10)+',top='+(((screen.height-(screen.height-70))/2)-30)+',width='+(screen.width-20)+',height='+(screen.height-70)+''); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close() } |
sinon la présentation est sympa _________________
|
|