- function modalWin()
- {
- if (window.showModalDialog)
- {
- window.showModalDialog("<a href="http://www.Codesnippet.cn">http://www.Codesnippet.cn","name","dialogWidth:255px;dialogHeight:250px");
- }
- else
- {
- window.open('<a href="http://www.Codesnippet.cn">http://www.Codesnippet.cn','name','height=255,width=250,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes');
- }
- }
- //该片段来自于http://www.codesnippet.cn/detail/080120131403.html
来源: http://www.codesnippet.cn/detail/080120131403.html