Seite 1 von 1

Bitte helft mir !!!! Html bild rollover problem !!!!

Verfasst: 07.01.2004 17:41
von Markus.Uhl
Halli hallo liebe phpler !!! :grin:

Ich habe ein problem und zwar habe ich meine webseite mit einem html editor erstellt und ich will ein roll - overbild einfügen, welches bei klick zu einer file linkt.
Das mit dem rolloverbild geht im bearbeitungsmode auch aber wenn ich dann eine vorschau mit dem editor macht kommt immer volgende fehlermeldung: In dem skript auf dieser seite wurde ein fehler aufgefunden

Zeile: 59
Zeichen: 1
Objekt erwartet
Code: 0

Hier das script:

Code: Alles auswählen

<html>                       
                      
<head>                      
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1)">
<title> Infinite Emulation - Sony ZN - 1 Emulators</title>
<meta name="GENERATOR" content="Namo WebEditor v5.0">
<meta name="description" content="Fügt eine leere Dokumentvorlage ohne definierten Stil ein.">
<style>
<!--
      A:link { text-decoration: none; color: #00OOFF;}
      A:visited { text-decoration: none; color: #0000FF;}
      A:active { text-decoration: none; color: #0000FF;}
      A:hover { text-decoration: none; color: CCCCCC;}
-->
</style>
</style>
<title>Seitentitel
<script language="JavaScript">
<!--
function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

// -->
</script>
</title>

(Zeile 59)    <body onmouseover="window.status='Infinite Emulation - The Arcade Source'; return true" OnLoad="na_preload_img(false, 'file:///C|/Dokumente%20und%20Einstellungen/Besitzer/Desktop/Icon-DL-Back.gif');">
[kb=knigge#code]Bitte

Code: Alles auswählen

 Benutzen und überflüssigen Code nicht mit posten[/kb]
Mega 10000000 dank für jeden tip !!!!

Verfasst: 07.01.2004 21:07
von Pyramide
Hier mal ausschnittsweise dein Code:

Code: Alles auswählen

<head>
...
<body>

Code: Alles auswählen

<style>
</style>
</style>

Code: Alles auswählen

<title>
<script>
</script>
</title>
Meinst du nicht, daß da etwas falsch ist?

Verfasst: 08.01.2004 00:24
von Markus.Uhl
??? Ich weis es echt nicht??

Stimmt die reihenfolge nicht??

Verfasst: 08.01.2004 00:25
von itst

Verfasst: 08.01.2004 23:48
von Markus.Uhl
Man ich filipp echt nochmal aus !!! Des mit Rollover geht jetzt !!! Danke für den guten link !! :grin:

Hab jetzt aber auf einer page einen Syntaxfehler ?? Zeile 2 Spalte 1 !!

Könnt ihr bitte nochmal gucken ??? :cry:

Das is der link zum html code !!

Code: Alles auswählen

http://infinite-emulation.com/Html%20Code.jpg

Verfasst: 09.01.2004 00:02
von itst
style geht zweimal zu, head gar nicht...