dennisintime!: Laufschift in Kopfzeile

HY...

FOLGENDES:

HABE EINEN FRAMESET MIT 4FRAMES.
VERSUCHE NUN EIN LAUFSCHIFT IN DIE KOPFZEILE DES MSIE'S ZU BEKOMMEN.
MUSS ICH DAS IN DEN FRAMESET SCHREIBEN???

MEINE GESCHRIEBENE LAUFSCHRIFT FUNZT ZWAR OHNE FRAMESET ABER WENN ICH MEINE FRAMES EINBINDE, GIBTS NUR DEN <TITLE>

==========
MEINE LAUFSCHRIFT

<html><head><title>WILLKOMMEN AUF XXX</title>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function start() {}
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
// === Texte ===
var texte =
[
  "WILLKOMMEN AUF XXX - HEUTE IM ANGEBOT XXX",
  "WILLKOMMEN AUF XXX - XXX:::";
  "USW:::"
]

var wechsel_tempo = 2500 // Zeit in ms zwischen zwei Schritten

var stepcount     = 0

window.onerror = null

function step()
{
  document.title = texte[stepcount]
  stepcount++
  if(stepcount >= texte.length)
    stepcount = 0
  timer = window.setTimeout("step()", wechsel_tempo)
}

function start()
{
  texte[texte.length] = document.title
  window.setTimeout("step()", wechsel_tempo)
}
//-->
</SCRIPT></head><body onLoad="start()"></body></html>

===========================
ENDE

DAS IST; WIE IHR SEHT; OHNE FRAMESET; WENN ICH NUN MEINE FRAMES EINFÜGE; FUNZT ES NICHT

KÖNNT IHR MIR HELFEN???

GRUß
DENNIS

  1. Hallo,

    DAS IST; WIE IHR SEHT; OHNE FRAMESET; WENN ICH NUN MEINE FRAMES EINFÜGE; FUNZT ES NICHT

    Schreibe doch einfach mal auch den Scriptcode groß ;-).

    KÖNNT IHR MIR HELFEN???

    Bei Tastaturproblemen nicht, aber evtl. mit top.document.title ...

    MfG, Thomas

    1. Hallo,

      KÖNNT IHR MIR HELFEN???

      Bei Tastaturproblemen nicht, aber evtl. mit top.document.title ...

      MfG, Thomas

      Mit Frameset sehen meine Zeilen wie folgt aus:

      01<html>
      02<head>
      03<title>XXX</title>
      04<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
      05<!--
      06function start() {}
      07//-->
      08</SCRIPT>
      09
      10<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
      11<!--
      12// === Texte ===
      13var texte =
      14[
      15  "Text-a",
      16  "Text-b",
      17  "Text-c",
      18  "und so weiter"
      19]

      20var wechsel_tempo = 50 // Zeit in ms zwischen zwei Schritten
      21
      22var stepcount     = 0
      23
      24window.onerror = null
      25
      26function step()
      27{
      28  top.document.title = texte[stepcount]
      29  stepcount++
      30  if(stepcount >= texte.length)
      31    stepcount = 0
      32  timer = window.setTimeout("step()", wechsel_tempo)
      33}
      34
      35
      36function start()
      37{
      38  texte[texte.length] = document.title
      39  window.setTimeout("step()", wechsel_tempo)
      40}
      41//-->
      42</SCRIPT>
      43</head>
      44
      45<frameset framespacing="0" border="0" rows="*,84%,14" 46frameborder="0">
      47  <frameset cols="*,36%,42%">
      48    <frame name="Host1" src="host1.html" target="Host1" 49scrolling="no" marginwidth="1" marginheight="1"  noresize>
      50    <frame name="Host2" src="host2.html" target="Host2" 51scrolling="no" noresize>
      52    <frame name="Host3" src="host3.html" target="Host3" 53scrolling="no" noresize>
      54  </frameset>
      55  <frameset cols="*,81%">
      56    <frameset rows="*,7%,53%">
      57      <frame name="Navigator" src="./Navigator/navigator.html" 58target="Navigator" scrolling="auto" noresize>
      59      <frame name="Navigator1" src="Symbole.html" marginwidth="0" 60marginheight="0" scrolling="no" noresize target="Navigator1">
      61      <frame name="Host4" src="host4.html" target="Host4" 62scrolling="no" noresize>
      63    </frameset>
      64    <frame name="MainFrame" src="./Main/mainframe.html" 65target="MainFrame" scrolling="auto" noresize>
      66  </frameset>
      67  <frame name="Newsticker" src="newsticker.html" marginwidth="0" 68marginheight="0" scrolling="no" noresize target="Newsticker">
      69  <noframes>
      70
      71
      72
      73<body onLoad="start()">
      74
      75
      76</body>
      77</html>

      =============

      Auch in Zeile 28 habe ich statt dokument.title / top.dokument.title eingegeben... bring aber nix. Kann man vielleicht den frameset oder den title aus einer anderen datei auslesen??

      1. Hallo,

        Auch in Zeile 28 habe ich statt dokument.title / top.dokument.title eingegeben... bring aber nix.

        Ich schrieb top.document.title ...

        MfG, Thomas

        1. Hallo,

          Auch in Zeile 28 habe ich statt dokument.title / top.dokument.title eingegeben... bring aber nix.

          Ich schrieb top.document.title ...

          MfG, Thomas

          Meine ich doch.. tippfehler. hab ich auch so geschrieben (top.document.title) Hast du vielleicht noch einen anderen tipp..??