ik heb deze script:
maar nou wil ik dat ie elke keer als ie deze functie opent het scherm resized, nou had ik er dit op bedacht:
maar dan werkt ie ineens niet meer

weet iemand hoe dit komt, ik heb het Atgast (ons enige echte 3d-prinsesjuh) ook al gevraagd maar hij ziet ook geen oplossing
code:
1
2
3
4
5
6
| function foto(file,title,copyright,width,height) {
a = parseInt(width) + 10;
b = parseInt(height) + 35;
openwin = window.open('foto.php?file=../img/'+file+'&title='+title+'©right=Foto: '+copyright+'','file','status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,top=100,left=100,width='+a+',height='+b+'');
openwin.focus();
} |
maar nou wil ik dat ie elke keer als ie deze functie opent het scherm resized, nou had ik er dit op bedacht:
code:
1
2
3
4
5
6
7
| function foto(file,title,copyright,width,height) {
a = parseInt(width) + 10;
b = parseInt(height) + 35;
openwin = window.open('foto.php?file=../img/'+file+'&title='+title+'©right=Foto: '+copyright+'','file','status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,top=100,left=100,width='+a+',height='+b+'');
openwin.resizeTo(a,b);
openwin.focus();
} |
maar dan werkt ie ineens niet meer
weet iemand hoe dit komt, ik heb het Atgast (ons enige echte 3d-prinsesjuh) ook al gevraagd maar hij ziet ook geen oplossing