<!DOCTYPE HTML><HTML> <Head> <MetaCharSet= "Utf-8" /> <title></title> <styletype= "Test/css">. Cover_layer{width:100%;Height:100%;Top:0%; Left:0%;Display:None;position:fixed;Z-index:1001;Background-color:Rgba (0,0,0,0.2); }. Cover_img{Z-index:1002;Padding-left:25%;Padding-top:13%; } </style> <Scripttype= "Text/javascript"src= "Js/jquery-1.8.0.js"></Script> </Head> <Body> <imgsrc= "Img/10069.jpg"onclick= "covery_img (' picture address ');"/> <!--image magnification effect - <DivID= "Img_enlarge"class= "Cover_layer"onclick= "close_covery_img ();"> <imgID= "Cover_img"class= "Cover_img"/> </Div> </Body> <Scripttype= "Text/javascript"> varcovery_img= function(URL) {$ ("#cover_img"). attr ("src", URL); $("#cover_img"). attr ("width","50%"); $("#cover_img"). attr ("Height","50%"); $("#cover_img"). attr ("src", URL); $("#img_enlarge"). Show (); }; varclose_covery_img= function(){ $("#img_enlarge"). Hide (); }; </Script></HTML>
As follows:
html-pop-up masking layer