R
riki
hi,
i've asked this question before and didn't get an answer...maybe i didn't
explain it well so i'll try again...
--------------------------------------
main.html
i'm calling popUp like
window.open('/path/pic.jpg','popUp','toolbar=no, location=no etc.')
now...all pics don't have the same width and height so i don't wanna fix
manualy width and height for each pic...
--------------------------------------
popUp.html
instead i would like to write a function in the popUp.html that resizes the
window, but i don't know how to get hold of pic object so i could extract
width and height of individual pic...
<script lang=jscr>
picWidth=?
picHeight=?
</script>
i've asked this question before and didn't get an answer...maybe i didn't
explain it well so i'll try again...
--------------------------------------
main.html
i'm calling popUp like
window.open('/path/pic.jpg','popUp','toolbar=no, location=no etc.')
now...all pics don't have the same width and height so i don't wanna fix
manualy width and height for each pic...
--------------------------------------
popUp.html
instead i would like to write a function in the popUp.html that resizes the
window, but i don't know how to get hold of pic object so i could extract
width and height of individual pic...
<script lang=jscr>
picWidth=?
picHeight=?
</script>