As per client request, we created webzones which creates 'collapsible regions' of the content. So if you add multiple webparts to a 'collapsible region' zone, the webparts collapse and clicking on the header will expand them (using a expanded
css class), collapsing any other open part.
So at any time, only 1 webpart is expanded at a time.
Now we can across an issue in IE that, when in edit mode, clicking on the header wont expand or reveal the content. Well, it does, but only if you click it in a very unintuitive way (you kinda get lucky to get it to expand).
The solution that has been proposed was to, on Edit, expand all the regions for easy editing.
But I am unsure on how to catch or be aware that the page has gone into Edit mode in order for me to use some JavaScript to then expand all collapsed parts.
Is there a way to handle this or achieve this?
thanks!