hallo volker,
danke für deine info - komme irgendwie nicht zurecht - bin anscheinend zu blöd ;-)
habe mir jetzt aus dem netz ein anderes tutorial angesehen und folgenden code eingegeben:
<script language="JavaScript" type="text/javascript">
function OpenNewWindow(picture, width, height) {
xsize = width + 35;
ysize = height + 50;
ScreenWidth = screen.width;
ScreenHeight = screen.height;
xpos = (ScreenWidth / 2) - (xsize / 2);
ypos = (ScreenHeight / 2) - (ysize / 2);
Bildpopup = window.open("","picture","height=" + ysize + ",width=" + xsize + ",scrollbars=no,resizeable=no,toolbar=no,menubar=no,location=no,top=" + ypos + ",left=" + xpos);
Bildpopup.document.write("<html><head><title>Bildanzeige</title></head>");
Bildpopup.document.write("<body bgcolor='#cccccc' onload='focus();'>");
Bildpopup.document.write("<table align='center' border='0'><tr>");
Bildpopup.document.write("<td align='center' valign='top'>");
Bildpopup.document.write("<img src='" + picture + "' border='1'>");
Bildpopup.document.write("</td></tr><tr>");
Bildpopup.document.write("<td align='center' valign='bottom'>");
Bildpopup.document.write("<input type='button' value='FENSTER SCHLIESSEN' style='font-family: Verdana; font-size: 10px' onClick='self.close()'>");
Bildpopup.document.write("</td></tr></table>");
Bildpopup.document.write("</body></html>");
Bildpopup.document.close();
}
</script>
den aufruf dann folgendermaßen:
<td align="center" valign="middle" ><a href="#" on Click="OpenNewWindow('bild_gross.jpg',600,400);"><img src="test.jpg" width="110" height="110" border="0"></a></td>
bin am verzweifeln - es öffnet sich kein pop-up - was mach' ich falsch?
(test.jpg ist mein thumbnail)
danke schon mal grissini