In article <450c3ac9$0$1094$>, dre <v> wrote:
> 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
> L3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbm JlaGEuanBn&w=450&h=8
> 04&t=','imagewindow','width=450,height=804,dir ectories=no,location=no,menu
> bar=no,scrollbars=no,status=no,toolbar=no,resizabl e=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
--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more