hwg-techniques archives | Jun 2003 | new search | results | previous | next |
JavaScript helpby "Thomas Fisher" <raidermp(at)yahoo.com> |
|
Hello all; I am having a problem and I need someone with a bit of JS experience to help me out. I have some screenshot images I use for previews of some skins I have available for download, and instead of having them placed directly on the page, I opted instead of a pop up window, to save those with slower connections the trouble of waiting for them all to load. Instead, I included some code in a hyperlink to open a new window to the path of the image, sized to include just a bit of white space around it. Problem I'm having, is that there are two sets of images. One is say 300 x 200, while the other is 200 x 300. What I'm looking to do, is have the window close once the user clicks on a new preview link, or at least automatically resize to the other set of images if they select those. I've had someone suggest onBlur, but what they suggested closed the main window instead of the pop up. What I'm looking for, is just something I can place in the link tags to control the window, instead of something larger inside the head tags. If anyone has any suggestions, I'd appreciate the ideas. Thanks, Thomas War is delightful to those who have had no experience of it. -- Desiderius Erasmus
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA