Putting mbedlets into HTML pages

When you click on the Browser button, Interactor generates an HTML page and launches a browser to run the HTML page. The file is located in the same directory as your .mbd file.

To quickly try out your mbedlet, you can simply use this generated HTML file, or cut the tag out and paste it into your real HTML file. Or, if you don't want to figure out the Javascript, you can modify the following and include it in your HTML page.

<object
        id=topmain
        codebase="http://www.mbed.com/control/MbedCtrl.cab"
        classid="clsid:873237C3-C440-11CF-B4B6-00A02429C7EF"
        height=115 width=450>
        <param name="src" value="http://www.mbed.com/topmain.mbd">
        <param name="name" value="topmain"">
        <embed src="http://www.mbed.com/topmain.mbd" name="topmain"
height=115 width=450>
</object>

Previous Page Next Page