- Download popup.js and popupclass.js from internet.
- 在页面添加js文件的引用
<script type="text/javascript" src="/Style%20Library/MerckVaccinesJS/Modal%20Window%20Js/popup.js"></script> <script type="text/javascript" src="/Style%20Library/MerckVaccinesJS/Modal%20Window%20Js/popupclass.js"></script>
3. 在需要modal window窗口的控件上添加onclick事件,如下:蓝色连接为需要弹出页面的地址
<A class=thickbox
onclick="return ShowIframe('','http://www.baidu.com',900,800)"
href="http://www.baidu.com">
<IMG src="/EnlargeButton_mini.jpg">
</A>