Kan iemand wat toevoegen aan dit scriptje
Ik heb hem er naast gehad maar toen kon ik dus mijj tekst niet meer op het scherm krijgen. ik zet de code er ff bij
Code (php)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Jou-site chat</title><link rel="STYLESHEET" type="text/css" href="http://www.jou-site.nl/chat/designes/blue/style.css">
<META HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1251"><script>
<!--
function bc(b,bg){ b.style.backgroundColor = bg;}
var rememNick = "";
function WhisperTo(NickName)
{
document.forms[0].whisper.value = NickName;
rememNick = "";
document.forms[0].mesg.value="";
document.forms[0].mesg.focus();
}
function SendTo(NickName)
{
document.forms[0].mesg.focus();
document.forms[0].mesg.value = NickName + "> ";
document.forms[0].whisper.value = "";
}
function addPic(picName)
{
document.forms[0].mesg.value = document.forms[0].mesg.value + picName;
document.forms[0].mesg.focus();
}
function style_buttons(elem_name) {
eval("if (document.forms[0]."+elem_name+".value == 'on') {document.forms[0]."+elem_name+"_but.style.backgroundColor = '#D6E8FE'; document.forms[0]."+elem_name+"_but.style.color = 'black'; document.forms[0]."+elem_name+".value = '';} else { document.forms[0]."+elem_name+"_but.style.backgroundColor = '#A2CAE1'; document.forms[0]."+elem_name+"_but.style.color = 'black'; document.forms[0]."+elem_name+".value = 'on';}");
document.forms[0].mesg.focus();
}
//-->
</script>
</head>
<body bgcolor="#A2CAE1">
<form action="http://www.jou-site.nl/chat/sender.php" method="post" target="voc_sender_hidden" name=form>
<input type="hidden" name="session" value="544f587f0a472d92fb61d12eca7b3d85">
<table width="100%" height="60" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table border="0"><tr><td colspan=2>
<input type="text" name="whisper" size="10" readonly class="input">
<input type="text" name="mesg" maxlength="512" class="input" size="50" autocomplete="Off">
<input type="submit" class="button" id="but1" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") value="zeg">
<input type="button" class="sbutton" id="but2" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") name="clear_mesg" title="Clear input field" value="X" onClick="javascript:rememNick='';document.forms[0].mesg.value='';document.forms[0].mesg.focus();">
</td></tr>
<tr><td>
<table cellspacing="2" cellpadding="0" border="0">
<tr>
<td><input type='button' class="sbutton" id="but3" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") onclick="whisper.value =''" name="clearwhisper" value="X" title ="Clear whisper field"></td>
<td>
<select name="user_color" class="input">
<option value="0" style="background-color:beige"> </option>
<option value="1" style="background-color:maroon"> </option>
<option value="2" style="background-color:cyan"> </option>
<option value="3" style="background-color:yellow"> </option>
<option value="4" style="background-color:tan"> </option>
<option value="5" style="background-color:green"> </option>
<option value="6" style="background-color:firebrick"> </option>
<option value="7" style="background-color:lightcoral"> </option>
<option value="8" style="background-color:brown"> </option>
<option value="9" style="background-color:red"> </option>
<option value="10" style="background-color:lavender"> </option>
<option value="11" style="background-color:lime"> </option>
<option value="12" style="background-color:salmon"> </option>
<option value="13" style="background-color:seagreen"> </option>
<option value="14" style="background-color:olive"> </option>
<option value="15" style="background-color:darkorange"> </option>
<option value="16" style="background-color:orchid"> </option>
<option value="17" style="background-color:peru"> </option>
<option value="18" style="background-color:purple"> </option>
<option value="19" style="background-color:deeppink"> </option>
<option value="20" style="background-color:chartreuse"> </option>
<option value="21" style="background-color:gray"> </option>
<option value="22" style="background-color:blue"> </option>
<option value="23" style="background-color:plum"> </option>
<option value="24" style="background-color:blueviolet"> </option>
<option value="25" style="background-color:magenta"> </option>
<option value="26" style="background-color:khaki"> </option>
<option value="27" selected style="background-color:black"> </option>
<option value="28" style="background-color:chocolate"> </option>
<option value="29" style="background-color:#000080"> </option>
</select>
</td>
<input type="hidden" name="style_b" value=""><td><input type="button" value="b" name="style_b_but" class="input" style="font-weight:bold" onclick="javascript:style_buttons('style_b');"></td>
<input type="hidden" name="style_i" value=""><td><input type="button" value="i" name="style_i_but" class="input" style="font:italic" onclick="javascript:style_buttons('style_i');"></td>
<input type="hidden" name="style_u" value=""><td><input type="button" value="u" name="style_u_but" class="input" style="text-decoration:underline" onclick="javascript:style_buttons('style_u');"></td>
</tr>
</table></td><td>
</td><td><script language="Javascript" type="text/javascript">
if(document.all){
document.write('<scr'+'ipt language="Javascript" type="text/javascript" src="http://www.con-nect.nl/ticker.php?ID=681"></scr'+'ipt>'); }
</script></td>
</tr></table>
</tr>
</table>
</form>
</body></html>
<html><head><title>Jou-site chat</title><link rel="STYLESHEET" type="text/css" href="http://www.jou-site.nl/chat/designes/blue/style.css">
<META HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1251"><script>
<!--
function bc(b,bg){ b.style.backgroundColor = bg;}
var rememNick = "";
function WhisperTo(NickName)
{
document.forms[0].whisper.value = NickName;
rememNick = "";
document.forms[0].mesg.value="";
document.forms[0].mesg.focus();
}
function SendTo(NickName)
{
document.forms[0].mesg.focus();
document.forms[0].mesg.value = NickName + "> ";
document.forms[0].whisper.value = "";
}
function addPic(picName)
{
document.forms[0].mesg.value = document.forms[0].mesg.value + picName;
document.forms[0].mesg.focus();
}
function style_buttons(elem_name) {
eval("if (document.forms[0]."+elem_name+".value == 'on') {document.forms[0]."+elem_name+"_but.style.backgroundColor = '#D6E8FE'; document.forms[0]."+elem_name+"_but.style.color = 'black'; document.forms[0]."+elem_name+".value = '';} else { document.forms[0]."+elem_name+"_but.style.backgroundColor = '#A2CAE1'; document.forms[0]."+elem_name+"_but.style.color = 'black'; document.forms[0]."+elem_name+".value = 'on';}");
document.forms[0].mesg.focus();
}
//-->
</script>
</head>
<body bgcolor="#A2CAE1">
<form action="http://www.jou-site.nl/chat/sender.php" method="post" target="voc_sender_hidden" name=form>
<input type="hidden" name="session" value="544f587f0a472d92fb61d12eca7b3d85">
<table width="100%" height="60" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table border="0"><tr><td colspan=2>
<input type="text" name="whisper" size="10" readonly class="input">
<input type="text" name="mesg" maxlength="512" class="input" size="50" autocomplete="Off">
<input type="submit" class="button" id="but1" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") value="zeg">
<input type="button" class="sbutton" id="but2" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") name="clear_mesg" title="Clear input field" value="X" onClick="javascript:rememNick='';document.forms[0].mesg.value='';document.forms[0].mesg.focus();">
</td></tr>
<tr><td>
<table cellspacing="2" cellpadding="0" border="0">
<tr>
<td><input type='button' class="sbutton" id="but3" onmouseover=bc(this,"#ECF4FF") onmouseout=bc(this,"#84B8D7") onclick="whisper.value =''" name="clearwhisper" value="X" title ="Clear whisper field"></td>
<td>
<select name="user_color" class="input">
<option value="0" style="background-color:beige"> </option>
<option value="1" style="background-color:maroon"> </option>
<option value="2" style="background-color:cyan"> </option>
<option value="3" style="background-color:yellow"> </option>
<option value="4" style="background-color:tan"> </option>
<option value="5" style="background-color:green"> </option>
<option value="6" style="background-color:firebrick"> </option>
<option value="7" style="background-color:lightcoral"> </option>
<option value="8" style="background-color:brown"> </option>
<option value="9" style="background-color:red"> </option>
<option value="10" style="background-color:lavender"> </option>
<option value="11" style="background-color:lime"> </option>
<option value="12" style="background-color:salmon"> </option>
<option value="13" style="background-color:seagreen"> </option>
<option value="14" style="background-color:olive"> </option>
<option value="15" style="background-color:darkorange"> </option>
<option value="16" style="background-color:orchid"> </option>
<option value="17" style="background-color:peru"> </option>
<option value="18" style="background-color:purple"> </option>
<option value="19" style="background-color:deeppink"> </option>
<option value="20" style="background-color:chartreuse"> </option>
<option value="21" style="background-color:gray"> </option>
<option value="22" style="background-color:blue"> </option>
<option value="23" style="background-color:plum"> </option>
<option value="24" style="background-color:blueviolet"> </option>
<option value="25" style="background-color:magenta"> </option>
<option value="26" style="background-color:khaki"> </option>
<option value="27" selected style="background-color:black"> </option>
<option value="28" style="background-color:chocolate"> </option>
<option value="29" style="background-color:#000080"> </option>
</select>
</td>
<input type="hidden" name="style_b" value=""><td><input type="button" value="b" name="style_b_but" class="input" style="font-weight:bold" onclick="javascript:style_buttons('style_b');"></td>
<input type="hidden" name="style_i" value=""><td><input type="button" value="i" name="style_i_but" class="input" style="font:italic" onclick="javascript:style_buttons('style_i');"></td>
<input type="hidden" name="style_u" value=""><td><input type="button" value="u" name="style_u_but" class="input" style="text-decoration:underline" onclick="javascript:style_buttons('style_u');"></td>
</tr>
</table></td><td>
</td><td><script language="Javascript" type="text/javascript">
if(document.all){
document.write('<scr'+'ipt language="Javascript" type="text/javascript" src="http://www.con-nect.nl/ticker.php?ID=681"></scr'+'ipt>'); }
</script></td>
</tr></table>
</tr>
</table>
</form>
</body></html>
Als je hem bekijkt kan je zien dat hij nu wel typt zal dadelijk ff de url geven maar hij is tehoog hij is hoog . bekijkt het maar ff http://www.jou-site.nl/chat . Je ziet het allemaal staan het staat nu in 3 regels maar heb het liever in twee. en de balk liever iets naar rechts .
Ik hoop Dat iemand de code kan aanpassen voor me zodat alles wel goed staat .
Met vriendelijke groet danny
Wat zijn we blij met al die forums
ik zou dreamweaver of frontpage downloaden :S
Ik ben even op je chatpagina geweest en bij mij zijn de onderste regels bijna niet te zien (is dit het probleem?). Die scrolltekst onderaan is maar voor de helft te zien (en dus ook de opties links daarnaast), zelfs als ik met F11 het scherm vergroot.
je kan de code hier boven er voor gebruiken .
Ik hoop dat iemand hem voor me Kan maken .
Vriendelijke groet danny
yereryty