[Project_owners] nsIAlertsSevice.showAlertNotification()

Brian King brian at mozdev.org
Fri Jul 21 20:14:33 EDT 2006

Eric H. Jung wrote:
> Hi,
> Does anyone know how to display multiple lines of alertText with
> nsIAlertsSevice.showAlertNotification()? I don't mean using
> alertTitle and alertText as two lines; I mean having two or three
> lines of alertText. I've tried separating lines with "\n" and also
> "\r\n" but these characters just show up as funny question marks.

commonDialog(.xul/.js) contructs separate lines based on \n input:


I don't recall however, what call you need to do to invoke commonDialog.

Brian King
www.mozdev.org - free project hosting for the Mozilla community

More information about the Project_owners mailing list