1) Erstell eine HTML Datei mit folgendem Inhalt:
<html>
<head>
<title>flashhilfe.de</title>
<script language="JAVASCRIPT"><!--
var platform;
var browser;
var version;
var adjWidth;
var adjHeight;
version = parseInt(navigator.appVersion);
if(navigator.userAgent.indexOf('Win') == -1) {
platform = 'Macintosh';
} else {
platform = 'Windows';
}
if(navigator.appName.indexOf('Netscape') == -1) {
browser = 'IE';
} else {
browser = 'Netscape';
}
function EnterSite(){
if((platform == 'Windows') && (browser == 'IE')) {
window.open("[COLOR=skyblue]intro.html[/COLOR] ","home","fullscreen=yes");
} else {
FullScreen();
}
}
function FullScreen(){
if((platform == 'Macintosh') && (browser == 'Netscape')) {
adjWidth = 20;
adjHeight = 35;
}
if((platform == 'Macintosh') && (browser == 'IE')) {
adjWidth = 20;
adjHeight = 35;
winOptions = 'fullscreen=yes';
}
if((platform == 'Windows') && (browser == 'Netscape')) {
adjWidth = 12;
adjHeight = 12;
}
if((platform == 'Macintosh') && (browser == 'IE')) {
self.location.href = '[COLOR=skyblue]intro.html[/COLOR] ';
}
if(version < 4) {
self.location.href = '[COLOR=skyblue]intro.html[/COLOR] ';
} else {
var winWidth = screen.availWidth - adjWidth;
var winHeight = screen.availHeight - adjHeight;
var winSize = 'width=' + winWidth + ',height=' + winHeight;
var FlashhilfeWin = window.open('[COLOR=skyblue]intro.html[/COLOR] ', 'Intranet', winSize);
FlashhilfeWin.moveTo(0,0);
}
}
// -->
</script>
[COLOR=silver]
</head>
<body>
<script language="JavaScript"><!--
if((platform == 'Macintosh') && (browser == 'IE')) {
location.href = "[COLOR=skyblue]intro.html[/COLOR] "
}
// -->
</script>
<a href="#" onclick='EnterSite();'>Intro</a>
</body>
</html>
2) An den Stellen an denen die Schriftfarbe [COLOR=skyblue]Blau[/COLOR] wird,
musst Du denn Pfad angeben der zur Deiner HTML-Seite mit dem Flash-Intro führt.
3) Die Seite mit dem Flash-Intro ([COLOR=red]intro.html[/COLOR] ) sollte so aussehen:
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=Intro WIDTH=[COLOR=red]100%[/COLOR] HEIGHT=[COLOR=red]100%[/COLOR] >
<PARAM NAME=Intro VALUE="Intro.swf">
<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="Intro.swf" quality=high bgcolor=#FFFFFF WIDTH=[COLOR=red]100%[/COLOR] HEIGHT=[COLOR=red]100%[/COLOR]
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/">
</EMBED>
</OBJECT>[/COLOR]