1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    62
    Vote Rating
    0
    gigas01 is on a distinguished road

      0  

    Default Unanswered: Why is this loading that i didn't coded!!!

    Unanswered: Why is this loading that i didn't coded!!!


    Oh man

    I'm frustrated.

    I have a problem just running the hello world!!

    man...

    i can't solve the problem

    i just copy pasted all the files, but still not working!!

    index.html
    Code:
    <!DOCTYPE html>
    <html>
    	<head>
    		<meta http-equiv="Content-Type" content="text/html;
    		charset=utf-8">
    		<title>TouchStart Application – My Sample App</title>
    		<!-- Sencha Touch CSS -->
    		<link rel="stylesheet" href="lib/resources/css/sencha-touch.css"
    		type="text/css">
    		<!-- Sencha Touch JS -->
    		<script type="text/javascript" src="lib/sencha-touch-debug.js">
    		</script>
    		<!-- Application JS -->
    		<script type="text/javascript" src="app/TouchStart.js">
    		</script>
    		<!-- Custom CSS -->
    		<link rel="stylesheet" href="css/TouchStart.css" type="text/css">
    	</head>
    	<body></body>
    </html>
    TouchStart.js
    Code:
    Ext.application({
    	name : 'TouchStart',
    	launch : function() { 
    		var hello = new Ext.Container({
    			fullscreen : true,
    			html : '<div id="hello">Hello World</div>'
    		});
    		this.viewport = hello;
    	}
    });
    and the error msg is this




  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    Answers
    3107
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Did you require Ext.Container?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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