To cover all screen resolution including portrait and landscape screens. Found from stuff & nonsense (http://www.stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/) /* Smartphones (portrait and landscape) ———– */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* Styles */ } /* Smartphones (landscape) ———– */ @media only screen and (min-width : 321px) { /* Styles…
Tag: samsung-smart-tv-sdk-jquery
Sencha Touch – Ajax JSON with multiple roots
I have JSON result that contains multiple roots. Most example JSONReader source codes are dealing with one root. According to cnelissen from Sencha Forum, using below code will make it working: var store1 = new Ext.data.Store({ url: ‘/path/to/json-data.php’, method: ‘POST’, autoLoad: true, reader: new Ext.data.JsonReader({ root: ‘root1’, fields: [‘field1’, ‘field2’, ‘field3’] }), listeners: { ‘load’:…