Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

Warum funktioniert das in Mozilla, aber nicht im IE? - Ich stehe auf'm Schlauch! Gruß, Tim!

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title> Freunde, Kollegen & Ich </title>

<style type="text/css">


  <!--

   a:link { text-decoration:none; font-weight:bold; color:green; }

   a:visited { text-decoration:none; font-weight:bold; color:purple; }

   a:hover { text-decoration:none; font-weight:bold; color:green; }

   a:active { text-decoration:none; font-weight:bold; color:white; }

   h1 { text-decoration:none; font-weight:none; color:none; }

   p { text-decoration:none; font-weight:bold; color:white;

   font-family:courier; }

  -->


</style>


<script type="text/javascript">

<!--

  var imgName = new Array(

  "pic/image1.jpg",

  "pic/image2.jpg",

  "pic/image3.jpg",

  "pic/image4.jpg",

  "pic/image5.jpg",

  "pic/image6.jpg",

  "pic/image7.jpg",

  "pic/image8.jpg");


  var imgText = new Array(

  "Bla bla bla bla",

  "Bloe bloe bloe bloe",

  "Bli bli bli bli",

  "Bla bla bla blaasd",

  "Bloe bloe bloe bloesdad",

  "Bli bli bli bliada",

  "Bla bla bla blavcxc",

  "Bloe bloe bloe bloexcvxc");



  var aktuell = 0;



function Pic(Richtung) {

  aktuell = aktuell + Richtung;

  if (aktuell > imgName.length-1)

   aktuell = 0;

  else if (aktuell < 0)

   aktuell = imgName.length-1;

  window.document.images[1].src = imgName[aktuell];

  document.getElementsByName("Text")[0].firstChild.nodeValue = imgText[aktuell];

  }

//-->

</script>


<body style="background-color: black">

<h1 align="center"> <img src="images/image16.jpg" border="0"></h1><br>

<p align="center"><img src="pic/image1.jpg" alt="image"></p>

<p name="Text">Blu blu blu blu</p>

<table align="center" border="3" cellpadding="0" cellspacing="0"

width="320">

<td align="center"><a href="javascript:Pic(-1)">  Zck </a></td>

<td align="center"><a href="javascript:Pic(1)"> Vor  </a></td>

</tr>

</table><br>

<p align="center">Hab ein Bilderbuch gebastelt!<br>

   Leider gibt es noch keine Kommentare zu den Bildern,<br>

   kommt aber alles noch.</p>


</body>

</html>

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...