I am new to using the menu and am having trouble getting it to work exactly how I want.
My page loads a placeholder 'loading' image.
When the page loads, I use ASP.Net Ajax to issue a webservice call.
My webservice makes a request to an aspx page where I have my actual image and the top level menu text.
My webservice screen scrapes the page and returns the image and <script> tag top level menu.
My page handles the returned data and put the real image and menu into the appropriate table cell.
My problem is that if I leave 'drawMenus();' in the <script> tag it will not get exec after it is returned to the client. However if I exec 'drawMenus();' after the cell has been populated then the whole page is overwritten and becomes the div for the menu. I have also tried calling 'drawMenus()' before 'popup('Main Menu')' on my image and that overwrites the page too.
Is there a way to build all the menus on my page at the point in code when I am ready to buld them?
To throw an extra spanner in the works, I will need multiple buttons on my page which will flyout menus. Plus I need to Ajaxify the last level of the menus
