|
Posted by Nikita the Spider on 10/09/29 11:58
In article <450c3ac9$0$1094$dbd4b001@news.wanadoo.nl>, 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
> L3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbmJlaGEuanBn&w=450&h=8
> 04&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
--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Navigation:
[Reply to this message]
|