弹出自适应图片大小的窗口弹出窗口根据图片大小,自动判断高和宽

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<html> 
<head> 
    <title>iPop Demo</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link rel="stylesheet" type="text/css" href="/global/styles/v3all.css"> 
<script src="/demo/ipop/ipop.js" type="text/javascript"></script> 
</head> 

<body style="margin:1em"> 

<h1>iPop Demo</h1> 

<p>This is a demo of the image popup script.  I know you want to 
<a href="flag.jpg" title="Flag">see it in action</a>.</p> 

<p><a href="http://demo.rexsong.com/200511/ipop/flag.jpg"><img src="http://demo.rexsong.com/200511/ipop/flag-thumb.jpg" width="50" height="75" alt="American Flag" border="0"></a></p> 

<p>Testing things with a <a href="flag-thumb.jpg">small image</a>.</p> 

<p>The popups have been setup with the AutoApply extension which will automatically apply iPop to all links to images within a document or within a section of the document.</p> 

<script type="text/javascript"> 
<!-- 
iPop.AutoApply(); 
//--> 
</script> 
</body> 
</html> 


猜你喜欢

转载自blog.csdn.net/Byd_chao/article/details/50613978
今日推荐