hallo,
ok, ok, sende dir da ein paar code-schnitzel, wie ich sie z.t. verwendet habe oder was auf selfhtml zu finden ist. musst aber schon noch selber hand anlegen, resp. einfach die einzelnen teile richtig zusammenfügen. . .
und siehe auch mal hier nach :
http://selfhtml.teamone.de/...bjekte/navigator.htm ___________________________________________________________
Pop-up
Im head platzieren ;
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features)
{
// appel double pour correction bug version 2.0
// var newWindow = window.open(theURL,winName,'scrollbars=no,resizable,width=290,height=392');
newWindow = window.open(theURL,winName,'scrollbars=no,resizable,width=200,height=200');
}
// -->
</script>
<body bgcolor="#990000" text="#FFFF99" ONLOAD="MM_openBrWindow('pop/pop_click.html','form', 'pop/pop_click.html')">
_______________________________________________________
browserabfrage ob mozilla oder ie
<script type="text/javascript">
<!--
if(navigator.appCodeName == "Mozilla")
alert("So ein drachenstarker Browser!")
else if(navigator.appCodeName == " MSIE") // eher index.of
alert("boff. . . ");
//-->
</script>
_____________________________________-
abfrage version
<script type="text/javascript">
<!--
if(navigator.appVersion.substring(0,1) == "4")
alert("Oh, ein Browser der 4. Generation!");
//-->
</script>
________________________________________________
weitere browser abfrage
<script language="JavaScript">
<!--
browser = navigator.appName;
version = parseInt(navigator.appVersion);
if (browser == "Netscape" && version <5) {
document.location.href="default_main_anime.htm";
}
if (navigator.userAgent.indexOf("MSIE")!=-1) {
document.location.href="default_main_anime.htm";
}
_________________________________________________
statt alert oder document.locaton.href etwas basteln wie
ONLOAD="MM_openBrWindow('pop/pop_click.html','form', 'pop/pop_click.html')
have a lot of fun
jurg