You are here: Re: link to picture in seperate small window « HTML « IT news, forums, messages
Re: link to picture in seperate small window

Posted by Nikita the Spider on 12/03/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&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

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация