Post by Nathan Lecompte on Mar 31, 2015 12:51:44 GMT 10
Just make it as easy as coding a normal website but then with local file access and then you just add your own tags or functions with JS available to us (for example you can make a tag which we can use to name our webapp or set the tittle for it : <my-custom-tag-which-the-dev-can-add>Hello World</end-my-custom-tag> or in JS would make it easier for us devs )
|
|
Post by altair on Mar 31, 2015 23:49:30 GMT 10
Well Lemon always checks for a function called startup on the the script and will run it. You can then execute (window.external.setFrameTitle(String title)) to change the title. And Lemon will anyways treat the contents of the title tag as the second method of title setting. Explaining the app startup process: 1.In the app folder there is going to be a file created by the dev called appinfo.xml which lists the initial page that should be loaded. 2.Then it loads this webpage in a frame (a window with a filled(dock) WebBrowser Control). You can put in separate script or embed the script in the page. It fetches the title from the title tag first. 3.When displayed (Load_Completed), it checks for the startup function. You can then use Lemon APIs to do startup stuff.
Altair - The Flying One
|
|
Post by Nathan Lecompte on Apr 1, 2015 15:26:19 GMT 10
Sounds good
|
|
Post by altair on Apr 1, 2015 19:31:16 GMT 10
Well you guy can ask questions like that, That helps me to create more APIs
Altair - The Flying One
|
|