Ok.. done some thinking (programming isnt my main forte but I still think I know my way around lol)
This should now work, save it as "Autorun.inf"
Code:
[autorun]
open=command /c start /max index.htm
icon=icon.jpg
label=Name you Icon
It will run full screen but restricts the cd to auto running on windows machines only due to the "command" and "start" functions. If you would like an icon aswell, then place the picture in the root directory of the cd.
You could, however, also use a plain and simple, save it as "Autorun.inf"
Code:
[autorun]
ShellExecute=index.htm
icon=myicon.jpg
label=Name you Icon
and place this javascript inside the body tag
Code:
<script type="text/javascript">
<!--
if (document.all || document.layers)
**
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight)
} else if (window.screen) **
window.moveTo(0,0);
window.outerHeight = screen.availHeight;
window.outerWidth = screen.availWidth;
}
//-->
</script>
Strictly speaking it doesn't "maximise" the window, it just stretches to fit the screen, you can probably see that anyway. This would allow the cd to run on both windows and non-windows platforms.
I think the reason why your autorun didn't work is because (had a similar problem on my first time) is that capitals do play an important roll. The 'S' and 'E' ought to be capitals :)