java Chat - Namen nicht anklickbar.

maar

Lieutenant
Registriert
Mai 2006
Beiträge
742
Hallo liebe Community, hab folgendes Problem:

in einem Chat wo ich manchmal unterwegs bin kann ich den nick einer Person nicht anklicken vor dem Text halt seinen Namen einzufügen.

Ich klicke auf den Nick doch er erscehint nicht untern in der schreibleiste.
siehe screen.(link) Ausserdem lädt die Seite ständig und hört nicht auf.
Gibts hier Java experten?
 
keine css experten da?? bzw. java leute?
 
Unter Umständen schon - jedoch leider keine Zauberer. Wie sollen wir denn bitte mithilfe eines einzigen Screenshots eine Lösung für dein Problem finden? Was ist das denn überhaupt für ein Chat? Wir wissen noch nicht mal, ob der Chat auf deinem Computer installiert ist oder ob du ihn mithilfe eines Browsers aufrufst. Im zweiten Fall wäre es nicht schlecht, wenn du uns deinen Browser nennen würdest und uns eventuell auch gleich die Internetadresse geben würdest. Überhaupt sind in beiden Fällen weitere Informationen unverzichtbar. Und was CSS mit deinem Problem zu tun hat, solltest du gegebenenfalls auch noch etwas näher erläutern. :rolleyes:

EDIT: Ich sehe gerade, man kann erahnen, dass du den Chat mithilfe eines Browsers aufrufst. Trotz allem haben wir viel zu wenige Informationen.
 
der chat ist natürlich online
mein browser Firefox 2.0.0.12
die insternet adresse, aber mann muss angemeldet sein um in den chat zu kommen.

was css mit meinem problem zutun hat weis ich nicht.. hab davon keine ahnung


ich weis nicht ob der quellcode des chats was über die eigenschaften ausssagt, hab den mal auch kopiert

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Germany.ru Chat</title>
	<link rel="STYLESHEET" type="text/css" href="http://chatui.germany.ru/voc/designes/hi-tech/style.css">
<script language="javascript">
<!--
var css_style = 'BODY { color: #000000; background-color: #FCE58C; scrollbar-base-color: #FDEDA5; scrollbar-track-color: #FFF1BE; scrollbar-face-color: #FCE58C; scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #CD7D00; scrollbar-darkshadow-color: #CD7D00; scrollbar-shadow-color: #CD7D00; scrollbar-arrow-color: #000000; } td, body { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; } A:link        { color:#000080; TEXT-DECORATION: none;} A:visited     { color:#000080; TEXT-DECORATION: none;} A:hover        { color:#cc0000; TEXT-DECORATION: none;} A.jsnavi:link        { color:#000080; TEXT-DECORATION: none;} A.jsnavi:visited       { color:#000080; TEXT-DECORATION: none;} A.jsnavi:hover        { color:#cc0000; TEXT-DECORATION: none;} a.jsnavi_red,a.jsnavi_red:visited,a.jsnavi_red:hover,.jsnavi_red { font-family: Verdana, Arial; font-size:11px; color: red; font-weight: bold; text-decoration: none; } a.jsnavi_green,a.jsnavi_green:visited,a.jsnavi_green:hover,.jsnavi_green { font-family: Verdana, Arial; font-size:11px; color:green; font-weight: bold; text-decoration: none; } a.nick, a.nick:visited { font-weight: bold; text-decoration: none; } a.nick:hover { color:#000000; font-weight: bold; text-decoration: none; } a.nickgray, a.nickgray:visited { color:gray; font-weight: bold; text-decoration: none; } a.nickgray:hover { color:gray; font-weight: bold; text-decoration: none; } input, select, textarea { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px;} .input_textfill { color: #000000; background-color: #FFFFFF; border: 1px solid #999999; margin: 2px; } .input_textfill_M { color: #000000; background-color: #FFFFFF; border: 2px solid #CD7D00; margin: 1px;} input { BACKGROUND-COLOR: #FEFED4; BORDER-BOTTOM: #CD7D00 1px solid; BORDER-LEFT: #CD7D00 1px solid; BORDER-RIGHT: #CD7D00 1px solid; BORDER-TOP: #CD7D00 1px solid; COLOR: #000000; FONT-SIZE: 12px; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 2px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; font-family: Verdana, arial, Helvetica; } a.nickgray:hover { color:gray; font-weight: bold; text-decoration: none; } a.nickgreen, a.nickgreen:visited, a.nickgreen:hover { color:#32CD32; font-weight: bold; text-decoration: none; } a.nickgreengray, a.nickgreengray:visited, a.nickgreengray:hover { color:#8FBC8F; font-weight: bold; text-decoration: none; }  ';

var voc_who_reload = 0;
var current_title = '';
var voc_username = 'sedmoyprohozhiy';
var startedAt = new Date();
function ini(total, inChatPhrase, u_s, n_room, cur_r, p)
{
startedAt = new Date();
	users = new Array(total);
	users_rus = new Array(total);
	u_url = new Array(total);
	sexes = new Array(total);
	statuses = new Array(total);
	last_actions = new Array(total);
	times = new Array(total);
	u_ids = new Array(total);
	ignored = new Array(total);
	sm_photos = new Array(total);
	hbs = new Array(total);
	admins = new Array(total);
	
	inChat = inChatPhrase;
	user_status = u_s;
	room_ids = new Array(n_room);
	room_names = new Array(n_room);
	room_users = new Array(n_room);
	current_room = cur_r;
	photos = p;
	if (photos == 1) {pho_word = "yes";} else {pho_word = "no";}

}
function addUser(id, nick, encoded_nick, nick_rus, sex, st, last_action, time_cur, u_id, ign, ph, hb, admin)
{
	users[id] = nick;
	u_url[id] = encoded_nick;
	users_rus[id] = nick_rus;
	sexes[id] = sex;
	statuses[id] = st;
	last_actions[id] = last_action;
	times[id] = time_cur;
	u_ids[id] = u_id;
	ignored[id] =  ign;
	sm_photos[id] = ph;
	hbs[id] = hb;
	admins[id] = admin;
}
function addRoom(id, r_id, r_name, r_p)
{
	room_ids[id] = r_id;
	room_names[id] = r_name;
	room_users[id] = r_p;
}


function whoList(informer)
{
var startedAt = new Date();

        with (window.parent.voc_sender.window.document.form_sender)
        {
                var count;
                var new_nick;
                var ok;
                var nick_selected = '';
                var i_select = 0;
                if(whisper.length >= 1)
                        nick_selected = whisper.options[whisper.selectedIndex].value;
                whisper.length = 0;

                count = users.length;
                new_nick = new Option ('--NONE--','');
                whisper.options[i_select] = new_nick;
                i_select++;
                for(i=0;i<count;i++) {
                        if (users[i] != voc_username) {
				var user_tmp = users[i].replace(/\\/g, "");
                                var new_nick = new Option (user_tmp,user_tmp);
                                whisper.options[i_select] = new_nick;
                                i_select++;
                        }
                }

                count = whisper.length;
                ok = 1;
                whisper.selectedIndex = 0;
                if(nick_selected != '') {
                        for(i=1;i<count;i++) {
                                if (whisper.options[i].value == nick_selected) {
                                        whisper.selectedIndex = i;
                                        ok = 0;
                                        break;
                                }
                        }
                        if (ok) {
				var user_tmp = nick_selected.replace(/\\/g, "");
                                var new_nick = new Option (user_tmp,user_tmp);
                                whisper.options[whisper.length] = new_nick;
                        }
                }
        }

	with (window.parent.voc_who_visible.window.document)
	{
		open('text/html', '');
		writeln('<html><head><title>Germany.ru Chat</title><style>'+css_style+'</style>');
		writeln('<script>\n<!--\nfunction info(u_name)\n{');
		writeln('window.open(\'http://my.germany.ru/\'+u_name, \'Info\', \'\');');
		writeln('}\n//-->\n<'+'/script>');

write('</head>\n<body bgcolor="#FCE58C">\n\n');
		writeln('<table border="0" cellpadding="0" cellspacing="0" width="200" height="100%">');
		writeln('<tr><td rowspan="7" width="1" background="http://chatui.germany.ru/voc/designes/hi-tech/images/vert_dot_line.gif" valign="top"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/vert_dot_line.gif" width="1" height="10"></td>');
		writeln('<td align="center"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/pixel.gif" width="1" height="13">');
		if (photos == 1)
		{
			writeln('<a href="who.php?session=352f2b7f2c75607ba9115cca5eee8400&photoss=no" target="voc_who">Выключить фото</a>');
		}
		else
		{
			writeln('<a href="who.php?session=352f2b7f2c75607ba9115cca5eee8400&photoss=yes" target="voc_who">Показывать фото</a>');
		}
		
		writeln('</td></tr>');
		writeln('<tr><td background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');
		writeln('<tr><td align="center"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/pixel.gif" width="1" height="13">'+inChat+'</td></tr>');
		writeln('<tr><td background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');
		writeln('<tr><td >&nbsp;</td></tr>');
		writeln('<tr><td><table border="0" cellpadding="0" cellspacing="3" width="190">');
		var k = users.length;
		for (var i=0;i<k;i++)
		{
			writeln('<tr><td align="left" valign="center"><nobr>');
			if (users[i] != voc_username)
			{
				if (photos == 1 && sm_photos[i]!="") {
					writeln('<a href="javascript:parent.voc_sender.SendTo(\''+users[i]+'\')"><img src="http://ui.germany.ru/photos/'+sm_photos[i]+'" border="0"></a>');
				}
				else {
					writeln('&nbsp;&nbsp;<a href="javascript:parent.voc_sender.SendTo(\''+users[i]+'\')">&nbsp;&nbsp;&gt;&gt;</a>');
				}
			}
			else
			{
				if (photos == 1 && sm_photos[i]!="") {
					writeln('<img src="http://ui.germany.ru/photos/'+sm_photos[i]+'" border="0">');
				}
				else {
					writeln('&nbsp;&nbsp;&gt;&gt;');
				}
			}
			writeln('</td><td align="left"><nobr>');

			if(admins[i] == 1) {
				if(times[i] - last_actions[i] > 600) {
					writeln('<a class="nickgreengray" href="javascript:;" onclick="javascript:info(\''+u_ids[i]+'\')" title="info">');
				}
				else {
					writeln('<a class="nickgreen" href="javascript:;" onclick="javascript:info(\''+u_ids[i]+'\')" title="info">');
				}
			}
			else {
				if(times[i] - last_actions[i] > 600) {
					writeln('<a class="nickgray" href="javascript:;" onclick="javascript:info(\''+u_ids[i]+'\')" title="info">');
				}
				else {
					writeln('<a class="nick" href="javascript:;" onclick="javascript:info(\''+u_ids[i]+'\')" title="info">');
				}
			}
			if (sexes[i] == 1) {writeln('<img src="http://chatui.germany.ru/voc/designes/hi-tech/images/sex_m.gif" title="Муж" alt="Муж" border="0"> ');}
			if (sexes[i] == 2) {writeln('<img src="http://chatui.germany.ru/voc/designes/hi-tech/images/sex_f.gif" title="Жен" alt="Жен" border="0"> ');}
			writeln(users_rus[i] + '</a><br><a class="jsnavi_red" href="javascript:parent.voc_sender.WhisperTo(\''+users[i]+'\')" title="Приват">');

			if(hbs[i] == 1) {writeln('<img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hb.gif" title="Happy Birthday" alt="Happy Birthday" border="0">');}
	
			writeln(statuses[i] + ' privat</a> | ');
			if (ignored[i] == 1)
			{
				writeln('<a class="jsnavi_red" href="who.php?session=352f2b7f2c75607ba9115cca5eee8400&remove_from_ignor_enc='+u_url[i]+'" target="voc_who">vis</a>');
			}
			else
			{
				writeln('<a class="jsnavi_green" href="who.php?session=352f2b7f2c75607ba9115cca5eee8400&add_to_ignor_enc='+u_url[i]+'" target="voc_who">ign</a>');
			}
//			writeln('</nobr></td></tr><tr><td colspan="2" background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');
			writeln('</nobr></td></tr>');
		}
		writeln('<tr><td colspan="2">&nbsp;</td></tr>');
		writeln('<tr><td colspan="2" background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');

		writeln('<form method="get" action="who.php" target="voc_who"><tr><td align="center" colspan="2">');
		if (photos == 1)
		{
			writeln('<input type="hidden" name="photoss" value="yes">');
		}
		else
		{
			writeln('<input type="hidden" name="photoss" value="nos">');
		}
		writeln('<input type="hidden" name="session" value="352f2b7f2c75607ba9115cca5eee8400">');
		writeln('Ваш статус: <br><select name="update_status" class="input">');
		write('<option value="0"');
		if (0 == user_status) write(' selected');
		writeln('>онлайн</option>');
		write('<option value="2"');
		if (2 == user_status) write(' selected');
		writeln('>ушел</option>');
		write('<option value="4"');
		if (4 == user_status) write(' selected');
		writeln('>недосягаем</option>');
		write('<option value="8"');
		if (8 == user_status) write(' selected');
		writeln('>не беспокоить!</option>');
		writeln('</select>');
		writeln('<input type="submit" value="Go!" class="input">');
		writeln('</td></tr></form>');
		writeln('<tr><td colspan="2" background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');

		if(room_ids.length>1)
		{
			writeln('<form method="post" action="voc.php" target="_parent"><tr><td align="center" colspan="2">');
			writeln('<input type="hidden" name="session" value="352f2b7f2c75607ba9115cca5eee8400">');
			writeln('Выберите комнату: <br><select name="room" class="input">');
			for (var i=0;i<room_ids.length;i++)
			{
				write('<option value="'+room_ids[i]+'"');
				if (room_ids[i] == current_room) write(' selected');
				writeln('>'+room_names[i]+'('+room_users[i]+')</option>');
			}
			writeln('</select>\n<input type="submit" value="Go!" class="input">\n</td></tr></form>');
			writeln('<tr><td colspan="2" background="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" align="left"><img src="http://chatui.germany.ru/voc/designes/hi-tech/images/hor_dot_line.gif" width="10" height="1"></td></tr>');
		}
		writeln('</table></td></tr>');
		writeln('<tr><td height="100%">&nbsp;</td></tr>');
		writeln('</table>');
write('</body>\n</html>\n\n');
var finishedAt = new Date();

//writeln('proccessed in '+(finishedAt.getTime()-startedAt.getTime())+'ms');
		close();
	}

	with (window.parent.personalFrame.window.document)
	{
		open('text/html', '');
		writeln(' <html> <head> <style type="text/css"> <!-- BODY { color: #000000; background-color: #FFF1BE; } td, body { font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; } p { margin: 0px; white-space: normal; } a:link { color: #0055CC; text-decoration: none; } a:visited { color: #990099; text-decoration: none; } a:hover { color: #CC3300; } a:active { color: #FF0000; } --> </style> <title>Unbenanntes Dokument</title> <meta http-equiv="Content-Type" content="text/html"> <base target="_blank"> </head> <body bgcolor="FFF1BE" MARGINHEIGHT="0" MARGINWIDTH="0" leftmargin="0" topmargin="0"> <table width=100%><tr><td>');
		write(informer);
		writeln('</td></tr></table> </body> </html>');
		close();
	}
}

function rel()
{
 window.voc_who.document.location.href='http://chat.germany.ru/voc/who.php?session=352f2b7f2c75607ba9115cca5eee8400&photoss='+pho_word;
 window.setTimeout('rel()',50000);
}
window.setTimeout('rel()',50000);

//-->
</script>
</head>
<frameset cols="*,220" frameborder="no" framespacing="0" border="0" borderwidth="0">
  <frameset rows="20,100,*, 45" frameborder="no" framespacing="0" border="0" borderwidth="0">
    <frame src="personal.html" name="personalFrame" scrolling="NO" noresize>
    <frameset cols="155,*,200" framespacing="0" frameborder="NO" border="0">
	<frame src="http://chat.germany.ru/voc/designes/hi-tech/navleft.html" scrolling="NO" noresize name="voc_navlef">
        <frame src="navibar.php?session=352f2b7f2c75607ba9115cca5eee8400" name="voc_navibar" scrolling="NO" noresize>
        <frame src="banner.html" noresize scrolling="no" marginwidth="0" marginheight="0" name="voc_banner">
    </frameset>

        <frame src="http://chat.germany.ru:8080/?352f2b7f2c75607ba9115cca5eee8400" name="voc_shower" noresize>
    
    <frameset cols="*,0" frameborder="no" framespacing="0" border="0" borderwidth="0">
		<frame src="http://chat.germany.ru/voc/designes/hi-tech/sender_visible.php?session=352f2b7f2c75607ba9115cca5eee8400" name="voc_sender" noresize scrolling="no" marginwidth="0" marginheight="0">
		<frame src="" name="voc_sender_hidden" noresize scrolling="no" marginwidth="0" marginheight="0">
    </frameset>
  </frameset>
  <frameset rows="0,21,*,0" frameborder="no" framespacing="0" border="0" borderwidth="0">
	<frame src="http://chat.germany.ru/voc/designes/hi-tech/status.php?session=352f2b7f2c75607ba9115cca5eee8400" noresize scrolling="no" marginwidth="0" marginheight="0" name="voc_status_op">
	<frame src="http://chat.germany.ru/voc/designes/hi-tech/status_blank.php?session=352f2b7f2c75607ba9115cca5eee8400" noresize scrolling="no" marginwidth="0" marginheight="0" name="voc_status_view">
	<frame src="" name="voc_who_visible" marginwidth="0" marginheight="0">
	<frame src="who.php?session=352f2b7f2c75607ba9115cca5eee8400" name="voc_who" marginwidth="0" marginheight="0">
  </frameset> 
</frameset>
</html>
 
hallo ich wollte fragen ob jmd damit was anfangen kann!? hab dieses problem noch immer..
falls weitere daten benötigt bitte sagen.
 
Also ohne mich jetzt groß in den Quelltext einlesen zu wollen würde ich dir raten zunächst mal den Betreiber bzw Coder des Chats zu deinem problem zu befragen. Ansonsten probier mal den Chat mit einem anderen Browser zu öffnen, z.b. Opera. Ein Javaupdate kann auch nicht schaden.
 
Zurück
Oben