I was tinkering with a few ideas and decided to create a few prototypes. Let me know what you think of these two menus. If you have any suggestions let me know.
There is content I want to toggle - if the user clicks a button they can switch between data sets. The problem occurs when the user clicks the toggle button and the initially hidden content comes to view. When this happens, the page scrolls to the top. See the problem here: http://jsfiddle.net/CZspU/2/.
Does anyone have any idea why this may happen?
EDIT: After doing some thinking and experimenting I realize it does make sense. The list is still there, just hidden. So when it is toggled the page stays at the same position, it's just that the second list is "further down" the page. Not sure how to change this... Maybe instead I need to clear the list and add the content.
I was wondering if anyone has had a chance to use the new loading message text? I can get the text to show up IF there is no spinner. If the spinner is present I can't get text to show up.
I have created a random html document to test some of the new JQM1.1 features. Check it out here to view the code and maybe help me figure out why I can't see the text! :).