Forum Moderators: open
However I dont have time to set up a script for every link, I need some kind of universal thing that just tells IE to "open the new window sized to the image whatever size the image may be" type of thing. Is there anything like this? I don't need really fancy results just a window that opes to the size of the image.
Thanks!
[edited by: tedster at 7:44 pm (utc) on June 11, 2004]
Check out message #4 in our Generic Javascript [webmasterworld.com] resource -- the one titled CUSTOM SIZE POPUP WINDOWS.
That javascript allows you to use variables to plug in the height and width. To go any further with automation, I believe you would need to use some server-side scripting, like PHP, to grab the dimesions of the image right from the file.