Roberto wrote:I guess that we could have multiple hmgscript.css files in a 'themes' folder.
So, the one I've created could be called 'hmgs.standard.css' and the one you've created as 'hmgs.xp.css'.
GREAT !
I am following the progress of this project. I'm loving ...
I made more changings at demo.html, as follows:
Code: Select all
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="themes/hmgs.xp.css">
<script type="text/javascript" src="lib/hmgscript.js"></script>
<script type="text/javascript" src="app/demo.js"></script>
</head>
<body>
<center>
<input type="button" value="Button Demo" onClick="test_1()" style="width:200;height:200" >
<input type="button" value="Label / TextBox Demo" onClick="test_2()" style="width:200;height:200" >
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<br>
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<br>
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<input type="button" value="Available" onClick="" style="width:200;height:200" >
<input type="button" value="Available" onClick="" style="width:200;height:200" >
</center>
</body>
</html>
And also made at demo.js, just to enhance the two functions:
Code: Select all
function test_1()
{
oWindow = new Window( "Hello World!", 600 , 300 );
Button( oWindow , 240 , 248 , "Close" , "oWindow.Release()" );
}
function test_2()
{
oWindow = new Window( "Hello World!", 600 , 300 );
Label( oWindow , 100 , 260 , "This is a Label!" );
TextBox( oWindow , 130, 230, "This is a TextBox!" );
Button( oWindow , 240 , 248 , "Close" , "oWindow.Release()" );
}
And the result it´s:
HTML5 has a lot of new advanced features regarding forms.
That´s excellent for future !