I created YUI 2 login widget, imYUILogin, for an intranet project that I am working on. I originally created it as a Dialog Container, but I recently updated it so that it could be configured as a Panel or a Module. Logging in is done ajaxally, of course.
Tag Archives: Dialog
YUI Dialog onClose Event
Ajax, YUII was surprised to find that the YUI Dialog does not have a onClose event. I have been working on a login dialog widget using the Yahoo User Interface Library. I want to display a message if the user closes the dialog.
Using The JQuery UI – Part 1
Ajax, JQueryAlthough I have used some of the JQuery UI widgets in the past, I really began to explore the JQuery UI in a recent project. One of the reasons that I like using the UI widgets is that I can standardize on a set of components (plugins) that have a consistent look and feel as well as a consistent coding standard.
Dojo – Changing Dialog’s Underlay Color
Ajax, CSS, Dojo, PebbletI read on dojocampus.org that the color of the Dialog’s underlay can be changed. The example on the site shows how to change the underlay color of an individual dialog box:
#dialogColor_underlay { background-color:green; } |
<div id="dialogColor" title="Colorful" dojoType="dijit.Dialog">
My background color is Green
</div> |
But, this only changes the underlay color of an individual dialog box. It seems to me that unless I am building an Dojo application for, let’s say a kid’s website, that I want the color change to be consistent. I also don’t want to have to create a separate style for each Dialog box that I may have on a page. So, to change the underlay color for all dialog boxes on a page:
.dijitDialogUnderlay { background: green; } |
Easy.
Dojo – Dynamically Creating Multiple Dialogs
Ajax, DojoI have created Dojo Dialog boxes via markup in the past, but I recently began to dynamically create all Dialogs within an application. My primary reason for doing so is to remove some of the code from an html page and give me greater flexiblity with the functionality.

