Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    dcandler is on a distinguished road

      0  

    Default 2.0 problem, not sure if its browser or server

    2.0 problem, not sure if its browser or server


    I have downloaded the 2.0 Developer and tried the Hello world example.

    In google chrome I can see it has loaded the sencha touch .js file, but it doesnt change the body tag like it says in the video tutorial..

    Server IIS 6 Win 2003 Web
    Browser: Lastest Google chrome.

    Code
    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Getting Started</title>
    <script type="text/javascript" src="lib/touch/sencha-touch.js"></script>
    <link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">
    </head>
    <body></body>
    </html>
    If I change the JS Link to the 1.1 hosted at CDN then it works fine,
    Thanks in advance.

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    What code are you using? How are you viewing the source (to view the body tag)?
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    dcandler is on a distinguished road

      0  

    Default Code used

    Code used


    Code:
    <!DOCTYPE html>
    <html>
        <head>
            <title>Hello World</title>
     
            <script type="text/javascript" src="lib/touch/sencha-touch.js"></script>
            <link href="lib/touch/resources/css/sencha-touch.css" rel="stylesheet" type="text/css" />
     
            <script type="text/javascript" src="app/app.js"></script>
     
            <style>
                .hello {
                    background:#ffffff;
                    background-image:url(http://src.sencha.io/320/http://chuv...07/hello.jpg);
                }
                .world {
                    background:#ffffff;
                    background-image:url(http://src.sencha.io/320/http://www....ld-globe.jpg);
                    background-repeat:no-repeat;
                }
            </style>
     
        </head><body></body>
    </html>
    links to .js and .css correct and i was using the element inspector in google chrome, I have tested in Safari to now and this page still doesnt work.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    dcandler is on a distinguished road

      0  

    Default apps.js content too

    apps.js content too


    Code:
    var helloWorld = new Ext.Application({
        launch: function()  {
            this.tabs = new Ext.TabPanel({
                fullscreen: true,
                dockedItems: [{
                    xtype:'toolbar',
                    title:'Hello World'
                }],
                tabBar: {
                    ui: 'light',
                    layout: {
                        pack: 'center'
                    }
                },
                items: [{
                    cls:'hello',
                    title:'Hello'
                }, {
                    cls:'world',
                    title:'World'
                }]
            });
        }
    });

  5. #5
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Ext.Application has been renamed to Ext.application in ST2, and because this is a Preview release, there is no 100% backwards compatibility in place.

    Simple application using ST2:

    Code:
    Ext.application({
        launch: function()  {
            this.tabs = Ext.create('Ext.TabPanel', {
                fullscreen: true,
                tabBar: {
                    ui: 'light',
                    layout: {
                        pack: 'center'
                    }
                },
                items: [{
                    xtype:'toolbar',
                    title:'Hello World',
                    docked: 'top',
                }, {
                    cls:'hello',
                    title:'Hello'
                }, {
                    cls:'world',
                    title:'World'
                }]
            });
        }
    });
    In the current PR, the 'tabBar' configuration will not work, because of a bug.

    Also, please use [code] tags.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar