Ist das aber wirklich elegant?
naja, eleganter wäre es sicher serverseitig, aber für den Anfang reicht das sicher.
So geht's mit Browserauswahl:
\\
<script type="text/javascript">
<!--
if(navigator.appName == "Microsoft Internet Explorer")
document.write("<img src="bild1.png" alt="" />")
else
document.write("<img src="bild2.png" alt="" />");
// -->
</script>
<noscript>
<img src="bild1.png" alt="" />
</noscript>
///
Gruß,
KonRad -
--
SELF-Code: (http://emmanuel.dammerer.at/selfcode.html)
ss:| zu:( ls:$ fo:! de:] va:| ch:? sh:) n4:# rl:? br:& js:| ie:) fl:| mo:|
SELF-Code: (http://emmanuel.dammerer.at/selfcode.html)
ss:| zu:( ls:$ fo:! de:] va:| ch:? sh:) n4:# rl:? br:& js:| ie:) fl:| mo:|