| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
JavaScript Image Popup's Done Right
<html>
<head> <title>JavaScript Image Popup's Done Right</title> <script language=javascript> <!-- //------- popImg() --------------------------------------- //-- Input : (iName) - the name of the large image to be shown in the popup //-- Options : (pInfo) - These are for the base window settings when opened //-------------------------------------------------------------- function popImg(iName) { var pURL='pop.aspx?pi='+iName; pInfo='toolbar=0,'; pInfo+='location=0,'; pInfo+='directories=0,'; pInfo+='status=0,'; pInfo+='menubar=0,'; pInfo+='scrollbars=0,'; pInfo+='resizable=1,'; pInfo+='width=200,'; pInfo+='height=200'; window.open(pURL, 'bigPop', pInfo); } //--> </script> </head> <body> Click the thumbnail for a larger image.<br /> <a href="javascript opImg('bigimg.gif');"><img src="smallimg.gif" border="0"></a> </body> </html> Read Complete Article |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > JavaScript Image Popup's Done Right |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|