PDA

View Full Version : Simple Dialog Example



Bobafart
22 Jan 2007, 9:39 AM
Hello,

can someone link me a very simple, bare-bones dialog example that does *not* include a button to activate it?

I am talking about something really basic that uses a div/span element as the clickable element that opens a simple dialog.

Jack's example is great but he uses a button. I am a noob and am having difficulty learning from it.

thanks

tryanDLS
22 Jan 2007, 10:35 AM
Take Jack's example and call showDialog immediately in the init(), instead of on button click.