Window create with onClick

Is there a way to spawn and place a simple window with a simple onClick method?

I would like to use the windows component to show just a simple modal window.



please check the samples: … imple.html … modal.html

the samples can be found in windows package.

Thank you, yes I have followed the samples. However its not what I want I was hoping to have a simple inline event. I know its a bit anal, but my code is being generated by a different application and its a much easier task to create a 200 character hyperlink than a full blown segment