Search code examples
ajaxyui

How to call a YUI panel/dialog without a button


I am building an OS type GUI. I have a start menu that is like Windows. I need to be able to call a panel (newPanel.show()) without it being a button. When I use the right call out of a button it refuses to show the panel or div. Any help is appreciated.


Solution

  • YAHOO.example.container.simpledialog1.show();
    

    Hope this will help. :))