hi,
in one folder i've put all pics, but they are not all the same size. i've
got as many links as pics and clicking on link popUp opens showing that pic.
now, i would like to have one function that opens popUp window but in
different dimension for different pic.
i.e.
<A href="#"
onClick="javasc ript:window.ope n('/path/pic.jpg','','wi dth=[PIC.WIDTH],height
=[PIC.HEIGHT],
toolbar=0,locat ion=0,directori es=0,menuBar=0, scrollBars=no,r esizable=1');">
<STRONG>Enlar ge pic</STRONG></A>
how can i get PIC.WIDTH and PIC.HEIGHT?
thanks
in one folder i've put all pics, but they are not all the same size. i've
got as many links as pics and clicking on link popUp opens showing that pic.
now, i would like to have one function that opens popUp window but in
different dimension for different pic.
i.e.
<A href="#"
onClick="javasc ript:window.ope n('/path/pic.jpg','','wi dth=[PIC.WIDTH],height
=[PIC.HEIGHT],
toolbar=0,locat ion=0,directori es=0,menuBar=0, scrollBars=no,r esizable=1');">
<STRONG>Enlar ge pic</STRONG></A>
how can i get PIC.WIDTH and PIC.HEIGHT?
thanks
Comment