OSCON/test.html
author ivanl
Thu, 30 Jul 2009 16:17:56 +0100
changeset 16 6544cc5386ce
parent 7 97dcd250e5be
permissions -rw-r--r--
Adaptation to new login mechanism. Fix for font size on hi-res devices. Detection is now automatic and right font size is set immediately after installation.

<html>
<body>
<script language="JavaScript">
function function1() {
   var myElement = document.createElement('<div style="width:300; height:200;background-color:blue;"></div>');
   document.all.myDiv.insertBefore(myElement); 
} 
</script>
<button id="myButton" onclick="function1();">Insert element</button>
<div id="myDiv" style="width:300; height:200;"></div>
</body>
</html>