When you create a new HTML5 project in the Ubuntu SDK, it creates some default files for you. There's a small typo in the 'index.html' file that will confuse new developers. The data-role attribute for the div that contains the content for a tab is set to the value 'page'. However a quick test and a look at the docs (http://developer.ubuntu.com/api/html5/current/UbuntuUI.Tabs/) shows that this should be set to the value 'tab' instead. The content only changes when data-role is changed to 'tab'.
Simple typo, easy fix.
When you create a new HTML5 project in the Ubuntu SDK, it creates some default files for you. There's a small typo in the 'index.html' file that will confuse new developers. The data-role attribute for the div that contains the content for a tab is set to the value 'page'. However a quick test and a look at the docs (http:// developer. ubuntu. com/api/ html5/current/ UbuntuUI. Tabs/) shows that this should be set to the value 'tab' instead. The content only changes when data-role is changed to 'tab'.
Simple typo, easy fix.