Hello,
I am using HierMenus v. 4.2 on my site. I generate HM_Arrays.js dynamically through a Java class. The problem is that sometimes Java takes too long to create HM_Arrays.js, HTML content is loaded faster and as a result I am left with no menu. I tried to include a refresh directive for a page so that page is reloaded after 1 sec and hopefully HM_Arrays.js had loaded by that time — but do not really like this approach.
I was thinking about putting the whole menu in a layer and initially hiding this layer, but then show it once HM_Arrays.js had been created. However, menu IS a layer so putting it on another layer doesn’t really do anything.
Any suggestions on how can hide/show menu?
thanks,
webtekie