Ik gebruik nu dit script:
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
Nu wil ik in de popup,die verschijnt als je op de link linkt, de title "Vergroting van artikel" hebben. Hoe fix ik dat? Onderstaande code staat in de body. Help mij aub, heb ruim een uur gezocht is de search en op andere sites, maar helaas.
<td width="280"><font color="#FFFFFF"><a onMouseOver=" window.status='Klik hier voor een vergroting van deze foto.'; return true" onMouseOut="window.status=' '; return true" href="http://www.204.nl/Catalogus/Html/Images/<#ITEMFIELD Afbeelding>" onclick="NewWindow(this.href,'name','640','480','yes');return false"><#ITEMPICTURE Afbeelding 300 0 1 0></font></td>
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
Nu wil ik in de popup,die verschijnt als je op de link linkt, de title "Vergroting van artikel" hebben. Hoe fix ik dat? Onderstaande code staat in de body. Help mij aub, heb ruim een uur gezocht is de search en op andere sites, maar helaas.
<td width="280"><font color="#FFFFFF"><a onMouseOver=" window.status='Klik hier voor een vergroting van deze foto.'; return true" onMouseOut="window.status=' '; return true" href="http://www.204.nl/Catalogus/Html/Images/<#ITEMFIELD Afbeelding>" onclick="NewWindow(this.href,'name','640','480','yes');return false"><#ITEMPICTURE Afbeelding 300 0 1 0></font></td>