facebook

Custom JS code not executed – ANSWERED, NO FLASH on iPhone

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #312635 Reply

    Albatros78
    Participant

    Hi All, Wayne,

    I have a very simple project attached to this post.

    I have just modify the generated html file from the ventes-multi-niveau.mobi

    Load this project and run it into the emulator. A very nice graph will be display.

    Now, try to load the test.mobi file and run it into the emulator, click on the link
    The second page is displayed, but no graph is displayed.

    ??? Who can help me on this issue ?

    Bug, something wrong from my side ?

    Wayne I cannot send the file through the forum. File too bug ? I sent it to your attention with the tech support
    Please post it after on this forum to help community.

    Thanks

    #312818 Reply

    support-michael
    Keymaster

    Axel,

    I apologize for the extended delay in digging into this issue. The root of the problem is that the iPhone emulator is give a false positive on your charting system that uses and flash file.

    var rootChart = new FusionCharts( “../graph/Column2D.swf”,…

    On the iPhone flash is N/A. We have a bug to disable flash but it is a little far down the list atm.

    (Secretly we were wondering if flash would ultimately be on the iPhone so held off disabling it.)

    Wayne
    Genuitec Mobile Team

    #312820 Reply

    Albatros78
    Participant

    Wayne,

    Normally the graph design is specially done to work either with flash or either with JS (Fusionchart is the provider of this solution)
    On iPhone/iPad like flash is not supported; their graph were automatically done through a JS script.

    OK. Now I try to add into html code a specifice function from the provider

    FusionCharts.setCurrentRenderer(‘javascript’);

    Normally this code will ask FusionCharts (FusionCharts is the editor of these graphs) renderer to skip Flash rendering and create pure JavaScript based charts.

    Here I send you my new html file.

    But 2 things:
    When you try directly the “ventes-multi-niveau.mobi” file into the emulator the graph is displayed correctly !!!
    Just when you try to start from the test.mobi file and click on the link to go to the graph, in this case the solution does not works on your emulator… and also on my iphone

    Any comments to help me ?

    Attachments:
    You must be logged in to view attached files.
    #312838 Reply

    Albatros78
    Participant

    Hi Wayne,

    just posted through tech support new zipped file, with some fixes

    But does not works any more… Grrrrrrrrr

    #312839 Reply

    Albatros78
    Participant

    May be the beginning of something

    It’s strange…

    Generate the test.html page and look at the link into the code. It is:

    “res/images/tableRowDisclosureIndicator.png” href=”#ventes_multi_niveau:DEFAULT”/>

    and the file on the disk is spelled:

    ventes-multi-niveau.html

    Why the filename has been changed during html generation ?

    Hope this helps

    #313075 Reply

    Albatros78
    Participant

    Hello Wayne,

    No news from you since a long long time !

    Do you have found a fix about this issue with my graphic displaying.
    I sent to you some files long time ago through your tech support team

    And more generally, we have no answers on the forum from you or mb1 team…

    under pressure !

    ill ?

    #313194 Reply

    Albatros78
    Participant

    Hello Wayne,

    I have no answer from you about this issue since a long time ago.

    I repeat here that my issue is not based on flash, because into my sources (sent before to you) I used a specific function to force pure javascript usage.

    I am stopped on this. Help and dev team time should be very nice to solve it

    HTML / JS Sources codes work fine into web browsing even from iPhone.
    It’s really an issue with an application created by mb1.

    Many thanks

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Custom JS code not executed – ANSWERED, NO FLASH on iPhone

You must be logged in to post in the forum log in