GeekArticles
Web Programming
Java ScriptResize a Popup to Fit an Image's Size
Author: aspdev.org |
Published: 10th Aug 2005 |
Visited: 637 times |
Add CommentFiled in: Java ScriptIf you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem -- how to resize a popup window to fit the image sizes displayed in it. The script works in NS 4/5/6/7 and IE 4/5/6. First of all you'll need one main HTML page that will contain links to the full-sized pictures in your gallery: <HTML> <HEAD> <TITLE>The Image Gallery</TITLE> <script language="Javascript"> function PopupPic(sPicURL) {...n
Read Article Sponsored Links
Related Articles
• Reducing Code Size of Ajax Applications Building an Ajax based applications is mostly difficult due to the fact that codes are usually rendered longer. Because different web developments are used in building an Ajax based applications, developers have to combine these codes so that they can achieve the asynchronous function of Ajax. If th ...