JavaScript dialog box

If you aren’t satisfied with prompt, confirm, alert or window.open, then you need JavaScript dialog box. Dialog box is emulated with two DIVs. First DIV overlays whole page (transparency is styled to 60%) while second DIV is positioned to the page center. That’s nothing new but JavaScript code is short, well commented and closed in own namespace (for easier integration with other frameworks).

Get Source here

Related Posts :

Posted on Sunday, September 5th, 2010 at 5:13 am | Category: Java Script |

Site Meter