Search Type: Posts; User: jameshenderson

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. When I try the same thing with a clean new sencha touch project - there is no problem with cacheing - so it must be something strange to do with my project
  2. When I run "sencha app build production" or "sencha app build testing", the output app.js file does not reflect the file changes I have made, and simply recreates the same app.js again and again.
    ...
  3. I'm doing a demo in one hour. I need a quick way to make an xtype:'button' look like the tabbar type buttons (the attached image is what I am trying to do).

    32057
  4. I have a full screen app that holds 5 visible columns of different content, and a load of columns that are not visible in the initial viewport either side of the visible 5 columns. I was hoping to...
  5. I'm doing a Sencha app for DailyMailOnline - it has loads of items on the bottom tabbar with horizontal scrolling (you can download the native android phone app for an example). The native android...
  6. The problem goes away on iOS and Android if you use Sencha 2 but be careful to check the current license agreement for Sencha 2.
  7. Thanks to everyone at Sencha - yay!
  8. I can get carousels in ST2 to work fine with hard coded cards, but when I try adding new panels, the content gets cut short. I have tried all sorts of combinations of scrolling and styleHtmlContent...
  9. Not sure why but its working without layout:'fit'.

    If it helps, I am using the carousel inside a tabpanel, and not using layout:'fit' anywhere else.

    Mark that as Answered if you like? Keep up...
  10. When I create a carousel with 3 or more added items, the first page holds two or more sets of content, for example:



    var carousel2 = new Ext.Carousel({
    layout: 'fit',
    items: []
    });
  11. Sorry - I looked all over the place but couldn't find a simple example - strike this off as Answered if you like
  12. The problem with the iframe solution is that it does not allow the iframe content to be draggable (only a problem if you have scrollable content)
  13. I always get this error in my console:

    Uncaught TypeError: Cannot call method 'decode' of undefined


    Example:


    Ext.Ajax.request({
    url: 'json.js',
  14. and not display:none or it messes up the scrolling
  15. by using document.getElementById("ext-viewport").style.display="block" after a timeout, but its not perfect as there's a black blank screen that shows for the first few seconds whilst sencha is...
  16. I'm trying to build an app that shows a loading screen for 2 seconds, and then the ST2 interface.

    With Chrome, I can achieve this by loading the sencha.js files using a timeout to create a script...
  17. On Android you get "Unsupported action" popup, on iOS it doesn't do anything. Its cool, looks like I'll just have to wait until href's are sorted
  18. With SenchaTouch v1, I used to do something like this:

    <a href="mailto:james@example.com">Opens native iOS/android email app</a>


    I realize that with ST2 I need to use this for links:
    ...
  19. Yes, that bind is useful, thanks!

    I realise now why I've been having problems with this - I've been using Ext.get('elementID') to locate elements inside a carousel, and I kept getting:

    Uncaught...
  20. I'm almost there - am using this:
    Ext.get("linkID").on("tap", functionName);

    But is there a way to add parameter to the functionName call please?

    For example - this doesn't work:
    ...
  21. Thanks Mitchell - any chance of an example of how to do this please? I have tried a few things but have not had much luck so far
  22. I'm using HTML content from a content management system - I don't mind changing all the link formatting or adding an ID to each.


    For example:
    html : ''+
    '<a href="http://google.com">Does...
  23. I've created a basic carousel with direction: 'horizontal', and with cards that have scroll: 'vertical'. Its great on iOS, but when I try it with Android, its almost impossible to scroll down through...
  24. With sencha touch v1.x I could do something like this:



    Ext.setup({ onReady: function(){
    new Ext.Carousel({
    fullscreen: true,
    listeners: {
    ...
  25. REQUIRED INFORMATION

    Ext version tested:

    Sencha Touch 2 PR2
    Browser versions tested against:

    Phonegap v1.x & iOS v4x - iPad and iPhone
    DOCTYPE tested against:
Results 1 to 25 of 52
Page 1 of 3 1 2 3