File "generique.html"
Full Path: /home/analogde/www/Prog/MMM/generique.html
File size: 1.64 KB
MIME-type: text/html
Charset: 8 bit
<HTML>
<HEAD>
<TITLE>Introduction</TITLE>
<SCRIPT type=text/javascript>
<!--
var words = new makeArray ('Bienvenue sur le HOMESITE de Patrice', 'une collection de tutoriels ', 'les bases de la microlctronique','En voiture Simone...');
var wordIntro = new makeSlideShow (words, 1800, '<CENTER><BR><BR><BR><BR><BR><BR><BR><BR><FONT SIZE = 6>', 'acceuil.html');
var blankFrameTop = '<HTML><BODY BGCOLOR = "#000000" TEXT = "#FFFFFF">';
var blankFrameBottom = '</BODY></HTML>';
var blankFrame = blankFrameTop + blankFrameBottom;
var doneLoop = false;
function makeArray() {
this.length = makeArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i + 1] = makeArray.arguments[i];
}
function makeSlideShow (obj, wait, pre, url) {
this.curText = '';
this.posit = 1;
this.word = obj;
this.length = obj.length;
this.pre = pre;
this.wait = wait;
this.url = url;
this.display = displaySlideShow;
}
function displaySlideShow() {
if (this.posit <= this.length) {
this.curText = this.word[this.posit]
outStringWord = blankFrameTop + this.pre + this.curText + blankFrameBottom;
parent.draw.location = 'javascript:parent.outStringWord';
this.posit++;
}
else {
doneLoop = true;
top.location = this.url;
}
}
function displayLoop() {
if (!doneLoop) reDraw = setTimeout('displayLoop()', wordIntro.wait);
wordIntro.display();
}
// -->
</SCRIPT>
</HEAD><FRAMESET border=0 frameBorder=0 frameSpacing=0 onload=displayLoop() rows="100%, *">
<FRAME marginHeight=2 marginWidth=2 name=draw src="javascript:parent.outStringWord">
</FRAMESET>
</BODY>
</HTML>