modalpopups

How to code a JavaScript modal popup (to replace Ajax)?

萝らか妹 提交于 2019-11-26 07:34:39
问题 I need to replace our Ajax Modal Popup controls with a JavaScript equivalent. We use this as a simple context sensitive help type popup. I did a quick browse but didn\'t see quite what I was looking for. I just need some text and a simple Close button/link, but I would like the page darkened below the popup, as it does with the Ajax modal control. Can anyone suggest a nice JavaScript popup/help type solution that you\'ve used? 回答1: I can provide you the code. Do your modifications as