Hi tin tin
there are 2 ways to to creat a CD will autorun your HTML files
1/ windows shell
2/ java script
about windows shell write this in the .inf file
[autorun]
open=command /c start /max index.htm
max means maximized html file and you have to know that this cd will only autorun on windows platforms
about java scripts write this in the .inf file
[autorun]
ShellExecute=index.htm
but in order to be maximized put the following script in your index html body
<script language="JavaScript">
<!--
if (document.all || document.layers)
{
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight)
} else if (window.screen) {
window.moevTo(0,0);
window.outerHeight = screen.availHeight;
window.outerWidth = screen.availWidth;
}
//-->
</script>
the last one will work in non-windows platforms
regards
DoctorMahdi
Enter your message below
Sign in or Join us (it's free).