Discussion Forums  >  Uncategorized

Replies: 4    Views: 212

Kelegar
Aspiring developer
Profile
Posts: 4
Reg: Mar 17, 2011
Barcelona
40
05/31/11 08:28 AM (14 years ago)

Problem with html 5

Hi, I made ​​a html5 page and start the simulator or device is not shown me anything. The file is associated with a javascript file that I deleted and copied as sample.js explains. With HTML4 I have not had any problems. I tried it in Xcode 3 and 4. Any suggestions? Thanks!!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/31/11 10:26 AM (14 years ago)
Hi, lots of things can cause this. Are you have an HTML problem or a Javascript problem or both? THe version of Xcode has nothing to do with your trouble. Are you adding the HTML file to your project directly or are you adding HTML in the buzztouch control panel? Lots of different things can cause this, please give some details as to what you're doing to create the HTML so we can point you in the right direction.
 
Kelegar
Aspiring developer
Profile
Posts: 4
Reg: Mar 17, 2011
Barcelona
40
like
05/31/11 02:28 PM (14 years ago)
Hi David, I think the problem is in javascript because I can see the page but blank. In the body of html only link to the javascript. The html I've added in the buzztouch control panel. The html works perfectly in any browser. Thanks!!
 
Kelegar
Aspiring developer
Profile
Posts: 4
Reg: Mar 17, 2011
Barcelona
40
like
06/02/11 09:55 AM (14 years ago)
Hi David, I have been trying every way I could think of, but still appears blank. Any solution? Thanks!!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/02/11 10:55 PM (14 years ago)
Back after a camping weekend ;-) Ah ha, that could be exactly the trouble. Adding javascript files to your project can get a bit tricky because Xcode wants to compile them - which keeps them from working. See the sample.js file in BT_Docs folder for an explanation of how to add javascript files to your project. Bet it fixes your trouble.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.