power-box.de
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 15.12.2004, 00:58   #1
TP-Newbie
 
Registriert seit: Dec 2004
blair macht alles soweit korrekt

Laufzeitfehler in <body onload="banner()">


Hallo,

mach grad ne HTML Page für nen Kumpel. Jetzt bekomme ich folgenden Fehler:

es ist ein Laufzeitfehler aufgetreten.

Zeile: 39
Fehler: Objekt erwartet

Den Fehler findet ihr auf diese Page: http://vrs.scooter-board.de

Hier mal der html code:

PHP-Code:
<html>

<
head>

<
STYLE>BODY 
scrollbar-face-colorblack
SCROLLBAR-TRACK-COLORred;
scrollbar-arrow-colorred
scrollbar-base-colorblack
scrollbar-shadow-color black
SCROLLBAR-3DLIGHT-COLORblack;
SCROLLBAR-DARKSHADOW-COLORblack
scrollbar-highlight-colorwhite
} </
STYLE>

<
meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<
meta name="ProgId" content="FrontPage.Editor.Document">
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<
title>..::Grundsatz-Clikk.de::..</title>
<
base target="Hauptframe">
</
head>

<
body text="#FF0000" bgcolor="#000000" link="#FF0000" vlink="#FF0000" alink="#FF0000" topmargin="0" leftmargin="0">

<
p align="center" style="margin-top: -25"><map name="FPMap0">
<
area target="Hauptframe" coords="30, 3, 109, 29" shape="rect" href="newz.htm">
<
area target="Hauptframe" coords="15, 54, 126, 84" shape="rect" href="artists.htm">
<
area target="Hauptframe" coords="16, 157, 128, 196" shape="rect" href="gallery.htm">
<
area target="Hauptframe" href="downloads.htm" shape="rect" coords="11, 207, 131, 238">
<
area target="Hauptframe" href="http://www.toolia2.de/book/book.cgi?Seite1&id=116962" shape="rect" coords="25, 313, 112, 340">
<
area target="Hauptframe" href="chat.htm" shape="rect" coords="37, 365, 99, 391">
<
area target="Hauptframe" href="tour_dates.htm" shape="rect" coords="2, 413, 137, 442">
<
area target="Hauptframe" href="contact.htm" shape="rect" coords="24, 467, 116, 494">
</
map></p>
<
p align="center">
<!--
webbot bot="ImageMap" text=" (24,467) (116, 494) {} {Times New Roman} 12 B #ffffff CT 0  contact.htm##Hauptframe" text=" (2,413) (137, 442) {} {Times New Roman} 12 B #ffffff CT 0  tour_dates.htm##Hauptframe" text=" (37,365) (99, 391) {} {Times New Roman} 12 B #ffffff CT 0  chat.htm##Hauptframe" text=" (25,313) (112, 340) {} {Times New Roman} 12 B #ffffff CT 0  http://www.toolia2.de/book/book.cgi?Seite1&amp;id=116962##Hauptframe" text=" (11,207) (131, 238) {} {Times New Roman} 12 B #ffffff CT 0  downloads.htm##Hauptframe" text=" (16,157) (128, 196) {} {Times New Roman} 12 B #ffffff CT 0  gallery.htm##Hauptframe" text=" (8,105) (134, 144) {} {Times New Roman} 12 B #ffffff CT 0  " text=" (15,54) (126, 84) {} {Times New Roman} 12 B #ffffff CT 0  artists.htm##Hauptframe" text=" (30,3) (109, 29) {} {Times New Roman} 12 B #ffffff CT 0  newz.htm##Hauptframe" border="0" src="menue/buttons/menue.GIF" width="141" height="508" u-originalsrc="menue/buttons/menue.GIF" u-overlaysrc="file:///C:/Dokumente und Einstellungen/Blair/Desktop/Web/VRS/links.htm_txt_menue.gif" usemap="[A]#FPMap0" --></p>

<
body onload="banner()">

</
body>

</
html
Der Fehler tritt in der zeile "<body onload="banner()">" auf


Wäre sehr nett wenn ihr mir helfen würdet.

Gruß

Tim

Geändert von blair (15.12.2004 um 01:01 Uhr).
blair ist offline   Mit Zitat antworten


Alt 15.12.2004, 01:01   #2
TP-Member
 
Benutzerbild von Hoax
 
Registriert seit: Dec 2004
Ort: Österreich
Hoax ist mal kurz schlecht aufgefallen
Du definierst den Tag BODY 2x!

Mach das onload in den oberen BODY-Tag und lass den unteren öffnenden Tag weg.
Hoax ist offline   Mit Zitat antworten
Alt 15.12.2004, 01:04   #3
TP-Newbie
 
Registriert seit: Dec 2004
blair macht alles soweit korrekt
sorry aber bin ziemlicher newbie in html. könntest du mir das evtl. bisschen genauer erklären? arbeite mit Frontpage deshalb bin ich mit code nicht so vertraut.

erst mal danke für deine antwort
blair ist offline   Mit Zitat antworten
Alt 15.12.2004, 02:48   #4
TP-Senior
 
Benutzerbild von hhcity
 
Registriert seit: Sep 2002
Ort: Hamburg
hhcity ist auf einem guten Weg
Cool

Hi,
Du hast die zwei Body-Tags geöffnet!! [Siehe unten (fett)]
Code:
<body text="#FF0000" bgcolor="#000000" link="#FF0000" vlink="#FF0000" alink="#FF0000" topmargin="0" leftmargin="0">

<p align="center" style="margin-top: -25"><map name="FPMap0">
<area target="Hauptframe" coords="30, 3, 109, 29" shape="rect" href="newz.htm">
<area target="Hauptframe" coords="15, 54, 126, 84" shape="rect" href="artists.htm">
<area target="Hauptframe" coords="16, 157, 128, 196" shape="rect" href="gallery.htm">
<area target="Hauptframe" href="downloads.htm" shape="rect" coords="11, 207, 131, 238">
<area target="Hauptframe" href="http://www.toolia2.de/book/book.cgi?Seite1&id=116962" shape="rect" coords="25, 313, 112, 340">
<area target="Hauptframe" href="chat.htm" shape="rect" coords="37, 365, 99, 391">
<area target="Hauptframe" href="tour_dates.htm" shape="rect" coords="2, 413, 137, 442">
<area target="Hauptframe" href="contact.htm" shape="rect" coords="24, 467, 116, 494">
</map></p>
<p align="center">
<!--webbot bot="ImageMap" text=" (24,467) (116, 494) {} {Times New Roman} 12 B #ffffff CT 0  contact.htm##Hauptframe" text=" (2,413) (137, 442) {} {Times New Roman} 12 B #ffffff CT 0  tour_dates.htm##Hauptframe" text=" (37,365) (99, 391) {} {Times New Roman} 12 B #ffffff CT 0  chat.htm##Hauptframe" text=" (25,313) (112, 340) {} {Times New Roman} 12 B #ffffff CT 0  http://www.toolia2.de/book/book.cgi?Seite1&amp;id=116962##Hauptframe" text=" (11,207) (131, 238) {} {Times New Roman} 12 B #ffffff CT 0  downloads.htm##Hauptframe" text=" (16,157) (128, 196) {} {Times New Roman} 12 B #ffffff CT 0  gallery.htm##Hauptframe" text=" (8,105) (134, 144) {} {Times New Roman} 12 B #ffffff CT 0  " text=" (15,54) (126, 84) {} {Times New Roman} 12 B #ffffff CT 0  artists.htm##Hauptframe" text=" (30,3) (109, 29) {} {Times New Roman} 12 B #ffffff CT 0  newz.htm##Hauptframe" border="0" src="menue/buttons/menue.GIF" width="141" height="508" u-originalsrc="menue/buttons/menue.GIF" u-overlaysrc="file:///C:/Dokumente und Einstellungen/Blair/Desktop/Web/VRS/links.htm_txt_menue.gif" startspan --><img border="0" src="file:///C:/Dokumente%20und%20Einstellungen/Blair/Desktop/Web/VRS/links.htm_txt_menue_cmp.gif" width="141" height="508" usemap="#FPMap0"><!--webbot bot="ImageMap" endspan i-checksum="29837" --></p>

<body onload="banner()">

</body>
Lösche das zweite und füge onload="banner()" in das erste ein! etwa so:
Code:
<body text="#FF0000" bgcolor="#000000" link="#FF0000" vlink="#FF0000" alink="#FF0000" topmargin="0" leftmargin="0" onload="banner()">
lg Nico
hhcity ist offline   Mit Zitat antworten
Alt 15.12.2004, 12:25   #5
TP-Moderator
 
Benutzerbild von Adromir
 
Registriert seit: Jun 2004
Ort: Hannover
Adromir lebt für das TP und seine UserAdromir lebt für das TP und seine UserAdromir lebt für das TP und seine UserAdromir lebt für das TP und seine UserAdromir lebt für das TP und seine UserAdromir lebt für das TP und seine User
Kann er das Onload="banner()" nicht komplett weglassen? Ich meine, ich sehe nirgends ne möglichkeit, daß diese Funktion irgendwo definiert wird..
Adromir ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Traum-Talk > Webdesign & Co.
Laufzeitfehler in <body onload="banner()"> Laufzeitfehler in <body onload="banner()">
« pop up! | welches forum soll ich nehmen? »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Laufzeitfehler euler Webdesign & Co. 18 11.08.2004 11:24
Laufzeitfehler - Debug Modus kenny Webdesign & Co. 5 29.06.2004 23:46
Laufzeitfehler Paco HTML Puristen 3 29.10.2002 11:29
Laufzeitfehler felis Dreamweaver 1 16.03.2002 12:24


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:02 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67