Saturday, May 3rd 2025, 3:36pm UTC+2

You are not logged in.


Date of registration: Sep 19th 2006

Posts: 150

Bike: noch kens

Location: LÜDENSCHEID

1

Monday, October 23rd 2006, 6:05pm

problem mit html/java script

hab mal so folgendes geschrieben:

Quoted


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Mitglieder</title>
<script language="JavaScript">
<!--
function diego(){
var d=68
document.write(d)
}
function iron(){
var i=1961
document.write(i)
}
function bbrak(){
var b=0
document.write(b)
}
function nio(){
var n=0
document.write(n)
}
function killa(){
var k=0
document.write(k)
}
function yann(){
var y=0
document.write(y)
}
function ac(){
var a=0
document.write(a)
}
function insgesammt(){
var all=d+i+b+n+k+y+a
document.write(all)
}
//-->
</script>
</head>
<body text="#FFFFFF" bgcolor="#000000" link="#FFFFFF" alink="#FFFFFF" vlink="#FFFFFF">
<div align="center">
<font face="Arial">
<table>
<tr>
<td width="200">
<u><b><font size="-1" color="#FF0000">Clanname</font></b></u>
</td>
<td width="120">
<u><b><font size="-1" color="#FF0000">Beitrittsdatum</font></b></u>
</td>
<td width="80">
<u><b><font size="-1" color="#FF0000">Rang</font></b></u>
</td>
<td>
<u><b><font size="-1" color="#FF0000">Punkte*</font></b></u>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/Diego.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">Diego</font></b></a>
</td>
<td>
20.10.2006
</td>
<td>
Leader
</td>
<td>
<script>diego()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/iron.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">iron</font></b></a>
</td>
<td>
20.10.2006
</td>
<td>
Leader
</td>
<td>
<script>iron()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/bbrak.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">bbrak</font></b></a>
</td>
<td>
21.10.2006
</td>
<td>
Member
</td>
<td>
<script>bbrak()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/nio.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">nio</font></b></a>
</td>
<td>
21.10.2006
</td>
<td>
Member
</td>
<td>
<script>nio()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/killa.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">killa</font></b></a>
</td>
<td>
21.10.2006
</td>
<td>
Member
</td>
<td>
<script>killa()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/yann.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">yann</font></b></a>
</td>
<td>
22.10.2006
</td>
<td>
Member
</td>
<td>
<script>yann()</script>
</td>
</tr>
<tr>
<td>
<a href="http://pr0j3ct.pr.ohost.de/Pages/Mitglieder/ac.html"><b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">[AC]</font></b></a>
</td>
<td>
22.10.2006
</td>
<td>
Member
</td>
<td>
<script>ac()</script>
</td>
</tr>
<br><br>
<tr>
<td>
<b><font face="Arial Black">[pr0j3ct]<font color="#0000B4">INSGESAMMT</font></b>
</td>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
<td>
<script>insgesammt()</script>
</td>
</tr>
</table>
<br><br><br>
</font>
*Stand 22.10.2006 um 21.20 Uhr
</div>
</body>
</html>


so das dick gemachte ist mein problem.
Der sagt immer, dass die variablen d und i usw. nicht definiert sind.
dabei hab ich das vorher doch getahn ???!!!

Besten dank an die die sich das hier angucken. :D

DIEGO
Wenn man keine Ahnung hat einfach mal Fresse halten.
(mein motto)

This post has been edited 1 times, last edit by "Diego" (Oct 23rd 2006, 6:06pm)

  • Go to the top of the page

Date of registration: Sep 23rd 2002

Posts: 4,458

Bike: Kawa ZR-7

Location: Bayerisches Vorstadtdorf, ehemals Hanauer Vorstadtghetto

2

Monday, October 23rd 2006, 7:22pm

ach du scheisse! ich habe niemals einen so hässlcihen quelltext gesehen
was hast du denn für eine scheisse gemacht? :rolleyes:
ich guck mir das nach dem essen mal genauer an

wieso machst du überhaupt für jeden mist eine neue funktion? :rolleyes:

edit: ich will dich nicht entmutigen... aber ich hab noch nie soviel scheisse auf einen haufen gesehen ^^
ich blick auch noch gar nicht so genau was du überhaupt mit deinen "funktionen" bezwecken willst und deine tabellenkonstuktion ist auch nicht schlecht :rolleyes:
„Die Krawatte ist ein nutzloser Lappen, der deinen Hals einengt“

José Mujica

This post has been edited 2 times, last edit by "Kus-style" (Oct 23rd 2006, 7:27pm)

  • Go to the top of the page

Date of registration: Oct 16th 2005

Posts: 1,087

3

Monday, October 23rd 2006, 7:44pm

schonmal an css gedacht? würdeste dir ne menge code sparen...
Grüße!
  • Go to the top of the page

Date of registration: Sep 19th 2006

Posts: 150

Bike: noch kens

Location: LÜDENSCHEID

4

Tuesday, October 24th 2006, 8:27pm

Quoted

Original von Muffin-Man
schonmal an css gedacht? würdeste dir ne menge code sparen...


hab ich nur noch nicht gemacht^^

brauchter euch net mehr angucken.
Habs problem gefunden.

Aber kannst mir mal n beispiel mit CSS machen ???

*edit* hab jetzt auch einiges weniger an code
Wenn man keine Ahnung hat einfach mal Fresse halten.
(mein motto)

This post has been edited 1 times, last edit by "Diego" (Oct 24th 2006, 8:27pm)

  • Go to the top of the page

Date of registration: Sep 23rd 2002

Posts: 4,458

Bike: Kawa ZR-7

Location: Bayerisches Vorstadtdorf, ehemals Hanauer Vorstadtghetto

5

Tuesday, October 24th 2006, 8:51pm

über stylesheets und auch alles über html findest du auf
http://de.selfhtml.org/

stylesheets braucht man halt nicht zwingend, ist halt einfach besser wenn alles einheitlich sein soll und man die formatierung schneller abändern kann... ich bin aber immer zu faul dafür und ich scheiss auf stylesheets :daumen:

ich empfehle dir außerdem auch mit phase5 zu arbeiten, ist ein ganz praktischer html editor
„Die Krawatte ist ein nutzloser Lappen, der deinen Hals einengt“

José Mujica

This post has been edited 2 times, last edit by "Kus-style" (Oct 24th 2006, 8:53pm)

  • Go to the top of the page

m[ike]

Unregistered

6

Tuesday, October 24th 2006, 9:22pm

Quoted

Original von Kus-style
über stylesheets und auch alles über html findest du auf
http://de.selfhtml.org/

stylesheets braucht man halt nicht zwingend, ist halt einfach besser wenn alles einheitlich sein soll und man die formatierung schneller abändern kann... ich bin aber immer zu faul dafür und ich scheiss auf stylesheets :daumen:

ich empfehle dir außerdem auch mit phase5 zu arbeiten, ist ein ganz praktischer html editor


Ich schwöre immer noch auf Dreamweaver. Das Problem: Ist ein bisschen teurer als phase5. :P
  • Go to the top of the page

Date of registration: Sep 23rd 2002

Posts: 4,458

Bike: Kawa ZR-7

Location: Bayerisches Vorstadtdorf, ehemals Hanauer Vorstadtghetto

7

Tuesday, October 24th 2006, 9:30pm

Quoted

Original von m[ike]
Ich schwöre immer noch auf Dreamweaver. Das Problem: Ist ein bisschen teurer als phase5. :P


ich benutze ja auch dreamweaver,weil es einfach schneller geht, aber um html zu lernen oder wenn man alles selbst machen will ist phase 5 ganz gut
der quelltext von dreamweaver ist aber auch nicht immer so toll... diese ganzen dummen <p>'s und leerzeichen die der da reinmacht :rolleyes:
„Die Krawatte ist ein nutzloser Lappen, der deinen Hals einengt“

José Mujica
  • Go to the top of the page

Date of registration: Oct 16th 2005

Posts: 1,087

8

Tuesday, October 24th 2006, 9:58pm

find bei dreamweaver nur der reine html editor gut. wysiwyg-editoren sin ja sowieso absolut das falsche für ansändige programierer.

vorteil bei css ist halt dass du nicht jedes mal nen tag neu formatieren musst. kannst dir also so schonmal font-face und fontcolor tags sparen.
Grüße!
  • Go to the top of the page

da_meat

war: /v)e@T

Date of registration: Oct 15th 2003

Posts: 2,307

Bike: Goldwing

Location: Burkina Faso

9

Tuesday, October 24th 2006, 10:44pm

der standard texteditor ist immernoch das beste
  • Go to the top of the page

Date of registration: Sep 23rd 2002

Posts: 4,458

Bike: Kawa ZR-7

Location: Bayerisches Vorstadtdorf, ehemals Hanauer Vorstadtghetto

10

Tuesday, October 24th 2006, 10:51pm

Quoted

Original von da_meat
der standard texteditor ist immernoch das beste


begründung? ^^
„Die Krawatte ist ein nutzloser Lappen, der deinen Hals einengt“

José Mujica
  • Go to the top of the page

da_meat

war: /v)e@T

Date of registration: Oct 15th 2003

Posts: 2,307

Bike: Goldwing

Location: Burkina Faso

11

Tuesday, October 24th 2006, 10:55pm

du arbeitest nicht mit ihm....
  • Go to the top of the page

Date of registration: Oct 15th 2002

Posts: 235

Bike: SXV 250 R ;-)

12

Wednesday, October 25th 2006, 10:31am

Quoted

Original von da_meat
der standard texteditor ist immernoch das beste

Notespad ist besser. (Das 's' bitte nicht übersehen.)
Ein Motorradtraum wird meiner Ansicht nach dann wahr, wenn man mit der eigenen Kohle, der eigenen kreativen Schrauberei, den eigenen Ideen folgend sich mit seinen eigenen Händen sein eigenes Krad zurecht macht. (Helmut Wicht)
  • Go to the top of the page

da_meat

war: /v)e@T

Date of registration: Oct 15th 2003

Posts: 2,307

Bike: Goldwing

Location: Burkina Faso

13

Wednesday, October 25th 2006, 10:50am

was willst du mir sagen? notepad ist doch editor!

This post has been edited 1 times, last edit by "da_meat" (Oct 25th 2006, 10:50am)

  • Go to the top of the page

Date of registration: Sep 23rd 2002

Posts: 4,458

Bike: Kawa ZR-7

Location: Bayerisches Vorstadtdorf, ehemals Hanauer Vorstadtghetto

14

Wednesday, October 25th 2006, 10:55am

Quoted

Original von da_meat
du arbeitest nicht mit ihm....


doch wenn ich schnell was abändern will öffne ich nicht extra phase 5 oder dreamweaver
phase5 z.B. ist aber wesentlich übersichtlicher, durch verschiedene farben und es gibt auch links eine zeilenangabe
„Die Krawatte ist ein nutzloser Lappen, der deinen Hals einengt“

José Mujica
  • Go to the top of the page

da_meat

war: /v)e@T

Date of registration: Oct 15th 2003

Posts: 2,307

Bike: Goldwing

Location: Burkina Faso

15

Wednesday, October 25th 2006, 10:56am

dann benutz ich ab sofort frontpage
  • Go to the top of the page

Rate this thread