Sie sind nicht angemeldet.

-SJ-

If light cannot escape me, what hope have you?

Beiträge: 6 608

Wohnort: Black Hole

Beruf: Alles

  • Nachricht senden

28 781

10.08.2009, 16:05

Give it to me (abartig geiles lied)


w0rd w0rd und nochmals w0rd

beste im moment ist aber sowieso das erste naruto ending


28 782

10.08.2009, 16:05

nein excel und word undso war ganz am anfang,

also am ende waren unsere programme schon etwa auf diesem niveau: (habs im inetz gefunden)

<html>
<head>
<title>Taschenrechner</title>
<script type="text/javascript">
function Check (Eingabe) {
var nur_das = "0123456789[]()-+*%/.";
for (var i = 0; i < Eingabe.length; i++)
if (nur_das.indexOf(Eingabe.charAt(i)) < 0)
return false;
return true;
}

function Ergebnis () {
var x = 0;
if (Check(window.document.Rechner.Display.value))
x = eval(window.document.Rechner.Display.value);
window.document.Rechner.Display.value = x;
}

function Hinzufuegen (Zeichen) {
window.document.Rechner.Display.value = window.document.Rechner.Display.value + Zeichen;
}

function Sonderfunktion (Funktion) {
if (Check(window.document.Rechner.Display.value)) {
if (Funktion == "sqrt") {
var x = 0;
x = eval(window.document.Rechner.Display.value);
window.document.Rechner.Display.value = Math.sqrt(x);
}
if (Funktion == "pow") {
var x = 0;
x = eval(window.document.Rechner.Display.value);
window.document.Rechner.Display.value = x * x;
}
if (Funktion == "ln") {
var x = 0;
x = eval(window.document.Rechner.Display.value);
window.document.Rechner.Display.value = Math.log(x);
}
} else
window.document.Rechner.Display.value = 0}
</script>
<style type="text/css">
.button { width:60px; text-align:center;
font-family:System,sans-serif;
font-size:100%; }
.display { width:100%; text-align:right;
font-family:System,sans-serif;
font-size:100%; }
</style>
</head>
<body bgcolor="#FFFFE0">

<form name="Rechner" action="" onsubmit="Ergebnis();return false;">
<table border="5" cellpadding="10" cellspacing="0">
<tr>
<td bgcolor="#C0C0C0">
<input type="text" name="Display" align="right" class="display"></td>
</tr><tr>
<td bgcolor="#E0E0E0">
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td><input type="button" width="60" class="button" value=" 7 " onclick="Hinzufuegen('7')"></td>
<td><input type="button" width="60" class="button" value=" 8 " onclick="Hinzufuegen('8')"></td>
<td><input type="button" width="60" class="button" value=" 9 " onclick="Hinzufuegen('9')"></td>
<td><input type="button" width="60" class="button" value=" + " onclick="Hinzufuegen('+')"></td>
</tr>
<tr>
<td><input type="button" width="60" class="button" value=" 4 " onclick="Hinzufuegen('4')"></td>
<td><input type="button" width="60" class="button" value=" 5 " onclick="Hinzufuegen('5')"></td>
<td><input type="button" width="60" class="button" value=" 6 " onclick="Hinzufuegen('6')"></td>
<td><input type="button" width="60" class="button" value=" - " onclick="Hinzufuegen('-')"></td>
</tr>
<tr>
<td><input type="button" width="60" class="button" value=" 1 " onclick="Hinzufuegen('1')"></td>
<td><input type="button" width="60" class="button" value=" 2 " onclick="Hinzufuegen('2')"></td>
<td><input type="button" width="60" class="button" value=" 3 " onclick="Hinzufuegen('3')"></td>
<td><input type="button" width="60" class="button" value=" * " onclick="Hinzufuegen('*')"></td>
</tr>
<tr>
<td><input type="button" width="60" class="button" value=" 0 " onclick="Hinzufuegen('0')"></td>
<td><input type="button" width="60" class="button" value=" . " onclick="Hinzufuegen('.')"></td>
<td><input type="button" width="60" class="button" value=" = " onclick="Ergebnis()"></td>
<td><input type="button" width="60" class="button" value=" / " onclick="Hinzufuegen('/')"></td>
</tr>
<tr>
<td><input type="button" width="60" class="button" value="sqrt " onclick="Sonderfunktion('sqrt')"></td>
<td><input type="button" width="60" class="button" value=" pow " onclick="Sonderfunktion('pow')"></td>
<td><input type="button" width="60" class="button" value=" ln " onclick="Sonderfunktion('ln')"></td>
<td><input type="reset" width="60" class="button" value=" C "></td>
</tr>
</table>
</td></tr></table>
</form>

</body>
</html>

28 783

10.08.2009, 16:07

spielerei... und warum html tags wenn ihr ALLES mit js gemacht habt

btw hätteste auf den code bei uns von vornherein 0 punkte, da nicht valide
I've got a heart on for you

28 784

10.08.2009, 16:11

ach natürlich hatten wir html tags, kenne die begriffe nicht so gut!

aber leider kann ich nich mehr so viel :( man verlernts megaschnell

28 785

10.08.2009, 16:45

ach natürlich hatten wir html tags, kenne die begriffe nicht so gut!

aber leider kann ich nich mehr so viel :( man verlernts megaschnell
jaaa jessy wird ein info nerd


28 786

10.08.2009, 16:47

seh ich wirklich so aus :O
I've got a heart on for you

Tuna

What the Factor?

Beiträge: 1 657

Wohnort: Düsseldorf

Beruf: Student (Mathe)

  • Nachricht senden

28 787

10.08.2009, 16:53

seh ich wirklich so aus :O
Klar, nur dunkler :P
q.e.d.

28 788

10.08.2009, 16:53

seh ich wirklich so aus :O
Klar, nur dunkler :P
ymmd :=D:
I've got a heart on for you

28 789

10.08.2009, 16:58

hihi :)
Wir müssen [...] der Versuchung widerstehen, ein Geflecht von Gesetzen herzustellen, hinter dem eines Tages die Freiheit unsichtbar wird. - Helmut Schmidt[/size]

28 790

10.08.2009, 17:03

jaaa so seht ihr alle aus die was mir informatik machen allllllllllllllleeeeeeee :D

28 791

10.08.2009, 17:05

zum glück sehen wir nicht so aus:
:=D:
I've got a heart on for you

28 792

10.08.2009, 17:12

ganz natürliche bräune ^^

28 793

10.08.2009, 17:13

also so sehe ich auch nicht aus ^^
aber ich füge gleich ein bild von mir hinzu ^^

28 794

10.08.2009, 17:13

1
Samsas Traum
4,770

2
L'Âme Immortelle
3,163

3
Lacuna Coil
2,519

4
Rammstein
1,982

5
30 Seconds to Mars
1,392

wuhu hab fast 5k
was bedeuten die zahlen oO


wie oft ichs im letzten jahr gehoert hab

28 795

10.08.2009, 17:19

frage wie stellt man bilder rein die skaliert sind also ich möchte sie nicht in voller größe da haben ?

28 796

10.08.2009, 17:28



haha die sind ja geil xD

28 797

10.08.2009, 17:29

der fuß is aber nich gerad schön

28 798

10.08.2009, 17:35

die kommen mir bekannt vor... glaub die hatte caro mal im x-tra-x an
I've got a heart on for you

28 799

10.08.2009, 17:37

scho lustig ^^

der fuß is aber nich gerad schön


net meienr :D:D

28 800

10.08.2009, 18:05

scho lustig ^^

der fuß is aber nich gerad schön


net meienr :D:D
das is er ne?