[Project_owners] Dialog question.

Neil neil at parkwaycc.co.uk
Tue Feb 10 00:54:18 EST 2004


Jaap A. Haitsma wrote:

> Basically I want a dialog with a Yes and No button below some text 
> asking a question.

Rather than reinventing the wheel, why not use window.confirm (content) 
or the prompt service (chrome)?

If you insist on writing your own dialog, you should be using the 
standard dialog buttons otherwise you will be showered with complaints 
from Mac users. Use the ondialogaccept and ondialogcancel attributes of 
the <dialog> to specify what should happen. Unless they explicitly 
return false then your dialog will close.



More information about the Project_owners mailing list