PDA

View Full Version : Simple Dialog Example


Bobafart
01-22-2007, 12:39 PM
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
01-22-2007, 01:35 PM
Take Jack's example and call showDialog immediately in the init(), instead of on button click.