效果:
jQuery插件viewer加入关闭按钮
样式是自己加的
jQuery插件viewer加入关闭按钮

		<iframe id="pdfCon" src="" width="100%" height="100%"></iframe>
		<div id="closeDv"><a id="closePdf" class="aui_close" ></a></div>
			$('#closePdf').click(function(e){
				if(e.target.id == 'closePdf'){
					$('#showPdf_con').removeClass('active');
					setTimeout(function(){
						$('#showPdf').removeClass('active');
						$('#custom-mask').show();
						},300)
				}
			})

相关文章:

  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-19
  • 2022-01-23
  • 2022-12-23
相关资源
相似解决方案