title image


Smiley Re: pop-up-fenster mit bild erzeugen
Meine Version:



HTML:

________________________________________________________________________________________







Externes JavaScript (script.js/ oder direkt im HTML)

_______________________________

function view(IMGsrc)

{

var IMGX = new Image();

IMGX.src = IMGsrc;

var IMGwidth = IMGX.width;

var IMGheight = IMGX.height;





win = window.open('','Fenster','width=' + window.innerWidth + 'height=' + window.innerHeight + ', dependent=yes,scrollbars=yes');

win.document.open();

win.document.writeln('')

win.document.writeln('')

win.document.writeln('Bild-Großansicht')

/*ev. Styles

win.document.writeln('')

*/

win.document.writeln('')

win.document.writeln('')

win.document.writeln('')

win.document.writeln('Schließen')

win.document.writeln('')

win.document.writeln('')

win.document.writeln('')

win.document.writeln('')

win.document.writeln('')

win.document.writeln('')

win.document.close();

}



MFG


surprisedtongue-outlaughingwinkcool



geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: