nJDSK.confirm
Creates a modal confirm dialog using the nJDSK.Window() function
nJDSK.confirm(title, message, buttons)
Parameters
string title dialog title
string message dialog content
array button the buttons declared as object literals
Example
nJDSK.confirm( 'About', 'About nJDesktop', 'Created by Nagy Ervin<br />Colorful HQ background image by <a href="http://www.superhqwallpapers.com/2012/02/07/hq-random-backgrounds/colorful-hq-background-1920x1200/">Super Hq Wallpapers</a><br />Menu Silk Icons by <a href="http://famfamfam.com/">FAMFAMFAM</a>', [ { type:'ok_yes', // this is a CSS class, so buttons can have different styles value:'OK', // button title callback:function(win){ // button click event win.close(); } }, { type:'no_cancel', // this is a CSS class, so buttons can have different styles value:'OK', // button title callback:function(win){ // button click event win.close(); } } ] );