Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Web Programming Java Script

Resize a Popup to Fit an Image's Size

Author: aspdev.org | Published: 10th Aug 2005 | Visited: 637 times | Add Comment
Filed in: Java Script

If 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 ...

 Agochar Keypad : Part 2 - A draggable and customizable Hindi Keypad - like popup A draggable and customizable keypad to input hindi (official language of India) characters in text box using mo ...

 How to burn optical file images with IMAPI 2.0 from managed code Burn ISO files using IMAPI v2.0 and ...

 Dynamically generating thumbnail images in ASP.NET with C# without affecting initial page load time Generate thumbnail on the fly without affecting page load ...

 How to Disable TEdit's Default PopUp (Context) Menu in Using VCL :: When a user right-clicks on an Edit component at run time (or any other component that allows editing such as MaskEdit, Memo, DbEdit, etc.), by defaul ...

 Upload and view images to/from an Oracle database using an XML Web Service This article explains about uploading and fetching images to/from an Oracle database using XML web services and ASP. ...

 Auto Resize Tabcontainer Automatically resize a TabContainer or TabP ...

 Restore Form Position and Size in C# Presents some logic and code to intelligently restore windows' sizes and positi ...

 Use Custom Check Box Images for a ListView - Delphi 's TListView Checkboxes are Ugly in Delphi TIPS :: When the ViewStyle property of a TListView Delphi control is set to vsReport and CheckBoxes is set to true, list view includes a check box nex ...

 How to Use Transparent Images and Labels in Windows Forms The controls in Windows Forms (.NET) don't support true transparency. In this article we show how to use transparent labels and ima ...



Next: Adding controls to PlaceHolders dynamically



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links