facebook

Custom Javascript not included

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    leesam
    Member

    Hi,

    I’m using MobiOn Studio 2.0 and just new user to this tool. I’ve been exporing the page architecture in how I can customize the multiple pages. I just know that it’ll compile all other pages content to 1 page. However, I’ve done some coding in **_Custom.js file but it’s not included in the main page HTML? Can someone guide me if I need to manual include it?

    #327800

    Hi leesam,

    If you have many .mobi files, you have to generate your files from your main design and add all the javascript custom code to <main-file>_custom.js file. Please see a similar discussion here: http://www.genuitec.com/support-genuitec/viewtopic.php?p=7778#p7778

    Let me know if your problem isn’t that I described.

    #327814

    leesam
    Member

    Dear Octavio,

    Thank for you the guidance. Yes. I know how to include the rest of the .mobi, xx_custom.js files to the mainpage_custom.js. I have a question is that how do you handle the Windows Onload event if you have all the files combine into one? How do we handle the default event in each of the custom js files?

    I’ve been trying looking for futher documentation from your website for the architecture of the page but I can’t find more details documentation. Therefore, I hope you can explain a bit on how we can use the even in each custom page and how MobiOne Studio will handle it when compiled all other pages to main page. I need to know it so that easier to code in the custom.js

    Thank you.

    regards,
    Sam Lee

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Custom Javascript not included

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