1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    2
    Vote Rating
    0
    Matteo425 is on a distinguished road

      0  

    Default Unanswered: Basic problem

    Unanswered: Basic problem


    Hello,
    i'm getting started with sencha right today, and i found the first problem :|
    can someone explain me what is happening????
    whit this works:
    Code:
                    <!DOCTYPE html>
    <html>
        <head>
            <script type="text/javascript" src="http://cdn.sencha.io/touch/1.1.0/sencha-touch.js" ></script>
            <link rel="stylesheet" href="http://cdn.sencha.io/touch/1.1.0/resources/css/sencha-touch.css" type="text/css" />
            <script type="text/javascript" >
     
    new Ext.Application({
        launch: function() {
            new Ext.Panel({
                fullscreen: true,
                dockedItems: [{xtype:'toolbar', title:'My First App'}],
                layout: 'fit',
                styleHtmlContent: true,
                html: '<h2>Hello World!</h2>I did it!'
            });
        }
    });
            </script>
        </head>
        <body></body>
    </html>
    and this doesn't work:
    Code:
    <!DOCTYPE html>
    <html>
        <head>
            <script type="text/javascript" src="touch/sencha-touch-debug.js"></script>
            <link rel="stylesheet" href="touch/resources/css/sencha-touch.css" type="text/css" />
            <script type="text/javascript" >
        
    new Ext.Application({
        launch: function() {
            new Ext.Panel({
                fullscreen: true,
                dockedItems: [{xtype:'toolbar', title:'My First App'}],
                layout: 'fit',
                styleHtmlContent: true,
                html: '<h2>Hello World!</h2>I did it!'
            });
        }
    });
            </script>
        </head>
        <body></body>
    </html>
    obviously the path are correct, and i can read them from google chrome inspect element function.

    thank you

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,790
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What isn't working? Do you get 404 errors for the script and link tags? Do you get any errors?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    2
    Vote Rating
    0
    Matteo425 is on a distinguished road

      0  

    Default


    the differents between two pages are only the locations of css and js files.
    the difference is just that one works ("Hello World" appears on the screen) and the other one doesn't! no strange errors

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,790
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    As long as you are loading Sencha Touch 1 (not 2) then it should be fine.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi