hello,
I’m using a slideshow script with function window.open to enlarge the photos in a new window.
is there a property for window.open like align, or center or something?
this is the script I’m using:
[code]var Bild = new Array(6);
Bild[0] = new Image(); Bild[0].src=”images/fotos/1.jpg”;
Bild[1] = new Image(); Bild[1].src=”images/fotos/2.jpg”;
Bild[2] = new Image(); Bild[2].src=”images/fotos/3.jpg”;
Bild[3] = new Image(); Bild[3].src=”images/fotos/4.jpg”;
Bild[4] = new Image(); Bild[4].src=”images/fotos/5.jpg”;
Bild[5] = new Image(); Bild[5].src=”images/fotos/6.jpg”;
Bild[6] = new Image(); Bild[6].src=”images/fotos/7.jpg”;
var zeige = 1;
function Blaettern(Richtung)
{
zeige = zeige + Richtung;
if(zeige > Bild.length – 1) zeige = 0;
else if(zeige < 0) zeige = Bild.length – 1;
document.suzuki.src = Bild[zeige].src;
PA.innerHTML = “Bild ” + (zeige + 1) + ” von ” + Bild.length;
}
function show()
{
window.open( document.suzuki.src , ‘Preview’, ‘toolbar=no,
location=no,
directories=no,
status=no,menubar=no,scrollbars=no,resizable=no,
copyhistory=no,
width=520,height=418,screenX=0,screenY=0’);
}
thx for your help! ?
the page is already online, if I’m allowed to post the link let me know.