Tilretning af script
mclemens var hurtig på tasterne i går og hjalp mig med dette script. Men jeg vil gerne ha' teksten "LUK/CLOSE" stående i bunden af rammen, hvordan kommer det så til at se ud?<script type="text/javascript" language="javascript">
function popit(pict){
popins=window.open("","popins","width=0,height=0,status=no,toolbar=no,location=no,directories=no,resizable=no,menubar=no");
popins.document.write('<html><head><title>Mintekst</title><script type="text/javascript" language="javascript">function resizepopit(){pich=document.getElementById("pictpopit").offsetHeight+55;picw=document.getElementById("pictpopit").offsetWidth+6;if(pich>screen.availHeight)pich=screen.availHeight;if(picw>screen.availWidth)picw=screen.availWidth;window.resizeTo(picw,pich);window.moveTo((screen.availWidth-picw)/2,(screen.availHeight-pich)/2)}<\/script><style type="text/css">html,body{margin:0px;padding:0px;border:0px;}</style></head><body><img id="pictpopit" src="'+pict+'" onLoad="resizepopit();" onclick="window.close();"></body></html>');
}
</script>