link to picture in seperate small window

N

Nikita the Spider

wich autosizes to the picture...

i found this on a site,link does not work
anymore,only for showing the code.
but how can i adjust this to autosize the opening
window?

<a href="http://www.jagg/big.jpg"
onclick="window.open('http://www.jaggle.nl/log/includes/photo.php?img=aHR0cDov
L3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbmJlaGEuanBn&amp;w=450&amp;h=8
04&amp;t=','imagewindow','width=450,height=804,directories=no,location=no,menu
bar=no,scrollbars=no,status=no,toolbar=no,resizable=no,left=0,top=0');return
false" target="_self">link</a>

Andre,
See the "width=450,height=804" section of that code? They're the numbers
you need to manipulate.

You should probably re-ask this question in comp.lang.javascript since
that's what this is about. Or better yet, Google for "resize javascript
popup" and you'll find hundreds or perhaps thousands of examples.


Good luck
 
D

dre

Nikita the Spider schreef:
Andre,
See the "width=450,height=804" section of that code? They're the numbers
you need to manipulate.

You should probably re-ask this question in comp.lang.javascript since
that's what this is about. Or better yet, Google for "resize javascript
popup" and you'll find hundreds or perhaps thousands of examples.


Good luck


thanks,i was afraid of that...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top