open picture sized window ?

windows

Guest
<a href=http://www.webdeveloper.com/forum/archive/index.php/"bild/F1.jpg" target="_blank"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"bild/H1.jpg" width="300" height="208" align="right" alt="" border="0"></a><br />
<br />
the mouse click opens a new window and displays F1.jpg<br />
<br />
I want that window to resize adjusted to the picture size (I have pictures of different sizes)<br />
<br />
How can I do this ?<!--content-->http://gil.davis.home.att.net/openit_example.htm<!--content-->Download <!--more-->ed the files, and modified my source file as instructed but doesn't work !<br />
I deleted all my java scripts and only kept the reference to the openit.js ...<!--content-->Did the example work?<br />
<br />
What browser?<br />
<br />
Are all the files in the same directory?<br />
<br />
Post your code.<!--content-->Sorry, but I forgot to include the link to the stylesheet !<br />
it works perfectly now, thank you<br />
IE 6 (PC)<br />
<br />
---------------------------------------------------------------<br />
<br />
further tests give the following results :<br />
<br />
Netscape 7.1 : O.K. but window slightly smaller than pict<br />
<br />
IE 5.1 (Mac) : not O.K. gives small window with background only and RED scrollbars ?<!--content-->
 
Back
Top