Hi,
okay... as far as I can see: jQuery is the way to go :)
http://abeautifulsite.net/notebook_files/87/demo/ Just replace alert/promt/confirm with jAlert/jConfirm... Okey... one must define the Event-Handler when pressing OK-Button and so on in a different way. But nothing difficult.
okay, this one sounds cool.. we could also give alert()'s a "native" look with this.
http://docs.jquery.com/UI/Dialog For my tastes a littlebit heavy-weight. But when one want to use more of the UI-Library of JQuery, than maybe a usefull choise.
if the roundcube devs wish to create an UI (including js elements) this may be the way to go since basically everything can be done with this (seems there are many plugins for this)
Yet another way is to use any of the modal-plugins. This way you must do, what the plugin above do for you, by yourself. But also this is not that difficult. First time i had to solve this problem with promts i used the jQuery BlockUI-Plugin (http://www.malsup.com/jquery/block/).
may also be an option, see what I wrote above
One Thing what i'm thinking about is the skinning. Since this Prompts (don't know if this is the same for the plugin darklight mentiod) are skinable the skindefinitions should be editable a replaceable by each rc-skin. For the first two plugins the definitions are done through css-definitions. So also nothing difficult.
the jQuery plugin I used allows to skinning via CSS
maybe the roundcube devs should suggest which of the jQuery plugins will be used, so when other devs/contributors want to do a javascript UI they all use the same jQuery plugin (so no plugin mess will be there)
Regards, Martin _______________________________________________ List info: http://lists.roundcube.net/dev/