PDA

View Full Version : lighweight dialog



kallou
13 Sep 2007, 11:02 PM
The componet BasicDialog works like a charm, but sometime you just want get some simple additionnal information a using a dialog it's to much regarding the information you want to input.

Like it's done for the forum with the search option i want to write a simple lighweight dialog who can appear near the object i clicked with a simple frame shadowed effect.
has anyone written a code fragment doing that stuff ?

brian.moeskau
13 Sep 2007, 11:13 PM
An easy approach might be to create your form, wrap it in an absolute positioned div and then use the Element.alignTo method to place it relative to the parent control. For shimming and shadowing, look at the Layer class.