|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| browser.createEx(windowID, URL, x,y, width,height) |
Parameters
| ID | windowID | Window ID to host the web browser object.
| | STRING | URL | Local file or URL to be loaded in the web browser object. The HTML document should load the JavaScript library mioEngine.js.
| | INT | x,y | Position of the web browser object in the window.
| | INT | width,height | Size of the web browser object. |
Return value
| ID of the new web browser object, or NULL if object cannot be created. |
Description
MioScript Sample Code
// Declaration of a public function in MioScript
function.public:myFunction()
...
function.end
// Calling the function in the HTML document
<SCRIPT src="mioEngine.js"></SCRIPT>
<SCRIPT>
sendToMio("myFunction");
</SCRIPT> |
|
|
|