JavaScript in HTML 5 page

Comments

12 comments

  • IBA Support

    Hi Ken, please, use WYSIWYG editor to fill the HTML page with the content. We can't guarantee you that all the code you added not via wysisyg will work for you on your end.

    0
    Comment actions Permalink
  • Ken Masters

    Hi

    Thanks - it's a pity, because I want to enter Javascript, and this can't be done through the wysiwyg editor (it works fine in the e-book template when I enter raw javascript through the html editor).  Ah well, can't have everything :-).  Thanks anyway.

     

     

    0
    Comment actions Permalink
  • Edrina

    Im also trying to make a quiz app by using the html page but too bad the javascript wont execute...Then guess theres no  point of a quiz without seeing results...Any other ways to add a quiz then please?

    0
    Comment actions Permalink
  • Ken Masters

    The only way I know is to add the e-book as a widget.  You can then create a chapter and add your code in there.  You will still need to test it, but it has more chance of running there than a standard HTML5 page.

     

    0
    Comment actions Permalink
  • Edrina

    Thanks Ken, it actually works at  the designing phase in the WYSIWYG editor  but when i publish it and test the link on my phone it doesn't run...o well like you said, cant have everything aye lol...

    0
    Comment actions Permalink
  • Bjn

    I also tried using javascript like that, and it made the iBuild site go berserk. The screen zoomed to ridiculous proportions, all the scroll bars disappeared, etc. Too bad; having the ability to use javascript would make this really powerful.

    0
    Comment actions Permalink
  • Ken Masters

    Yeah, they've changed some stuff.  My students reported that my JavaScript I gave them did not work.  So, I looked at the app in which it was working, copied-and-pasted my JavaScript to another part of the same app, and it doesn't work.  As you save it, iBuildApp changes the JavaScript :-(

     

    0
    Comment actions Permalink
  • iBuildApp

    @Bjn @Ken Masters

    Our mobile engineers are currently looking at the issue with JavaScript malfunctioning in the HTML5/JS editor. We will inform you when the hotfix will be released for HTML5/JS to full functionality.

    0
    Comment actions Permalink
  • Deshinab

    @ibuildapp

    I am having this problem today. As I save my code in the HTML editor it deletes portions of it and it does not run the JavaScript.  Its been a while since this was posted... Have you released the hotfix yet?

     

    0
    Comment actions Permalink
  • Tudo321

    i have the some question,

    1.I use the html/js funtion,   It runs perfectly in the simulator , but is not in the phone. 
    How to solve the problem?

    0
    Comment actions Permalink
  • IBA Support

    Dear Tudo321,

    Not all of the html functions are applicable to all Android versions. Please, send us the name of the application and the full description of the problem to support@ibuildapp.com and our engineers will take a closer look at this issue.

    Sincerely,

    IBA Team

    0
    Comment actions Permalink
  • Tudo321

    Thanks Supervisor .

    I found my problems and resolve.

    0
    Comment actions Permalink

Please sign in to leave a comment.