G
GROOV-N
Guest
Habe einen javascriptbefehl für onmousedown in einen Link eingebaut.
Die Statuszeile soll dann einen bestimmten text anzeigen, nicht aber das linkziel!!
Leider funktioniert das nicht...
Weiss einer warum??
Hier der Code:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
<!--
if (document.layers){
window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
window.onmousedown=rightclick;
window.onmouseup=rightclick;
function rightclick(e) {
if (e.which == 3) {
// Put right mouse code here
alert('Nanu, wer wird denn wohl...');
return false;
}
else {
return true;
}
}
}
if (document.all){
function click() {
if (event.button==2) {
alert('Nanu, wer wird denn wohl...')
}
if (event.button==3) {
alert('Nanu, wer wird denn wohl...')}
}
document.onmousedown=click
}
// -->
</script>
<html>
<head>
<title>ZWERG & RIESE - Alles für "Gross" und "Klein"</title>
<meta name="author" content="bytebybyte2000">
<meta name="keywords" content="ebay, ebay-shop, zwerg und riese, zwerg, riese, secondhand, second-hand, kleidung, spielwaren, gross, klein, alles für gross und klein">
<meta name="Description" content="ZWERG & RIESE - Alles für 'Gross' und 'Klein'">
<meta name="COPYRIGHT" content="ByteByByte2000">
<meta http-equiv="CONTENT-LANGUAGE" content="German">
<meta http-equiv="AUDIENCE" content="General">
<meta name="RATING" content="General">
<meta name="EXPIRES" content="43200">
<meta name="REVISIT-AFTER" content="14 days">
<style type="text/css">
<!--
body { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
td { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none;}
a:link { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
a:visited { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
a:active { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#D45B24;text-decoration:none; }
a:hover { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#D45B24;;text-decoration:none; }
//-->
</style>
</head>
<body status="no" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<!-- HAUPTTABELLE -->
<table border="0" width="700" height="500" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="86" ><img src="files/pix/logo.gif" width="700" height="86"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="27" background="files/pix/buttonsbacktop.gif" align="right" valign="middle">
<a href="files/start.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">HOME</a>&nbsp;&nbsp;
<a href="files/produkte.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">PRODUKTE</a>&nbsp;&nbsp;
<a href="files/kontakt.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">KONTAKT</a>&nbsp;&nbsp;
<a href="http://197284.multiguestbook.com" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">G&Auml;STEBUCH</a>&nbsp;&nbsp;
<a href="files/links.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">LINKS</a>&nbsp;&nbsp;
<a href="files/impressum.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">IMPRESSUM</a>&nbsp;&nbsp;
<a href="files/agb.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">AGB</a>&nbsp;&nbsp;&nbsp;
</td>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="9" ><img src="files/pix/verlauf.gif" width="700" height="9"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="143" height="326" background="files/pix/leftmenue.gif" align="left" valign="top">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/herren.htm" target="Inhalt"onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">HERRENBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/damen.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">DAMENBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/kinder.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">KINDERBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/spielwaren.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">SPIELWAREN</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/sonstiges.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">SONSTIGES</a>
<br><br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/angebote.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">UNSERE ANGEBOTE</a>
</td>
<!-- IFRAME -->
<td bgcolor="#FFFFFF" width="549" height="326">
<iframe src="files/start.htm" width="549" height="326" frameborder="0" border="0" name="Inhalt">&nbsp;</iframe>
</td>
<td bgcolor="#FFFFFF" width="8" height="326" background="files/pix/right.gif">&nbsp;</td>
</tr>
<tr>
<td bgcolor:"#FFFFFF" colspan="3" width="700" height="27" background="files/pix/buttonsbacktop.gif" align="right" valign="middle">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:bytebybyte2000@gmx.net">&copy; ByteByByte2000</a>&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="25" align="left" valign="middle" background="files/pix/bottom.gif">&nbsp;&nbsp;&nbsp;<img src="http://www.bluenetdesign.de/cgi-bin/counter.pl?member=1099220703"></td>
</tr>
</table>
</body>
</html>
Vielen Dank schon mal für die Hilfe!!
Gruß, Rouven.
Die Statuszeile soll dann einen bestimmten text anzeigen, nicht aber das linkziel!!
Leider funktioniert das nicht...
Weiss einer warum??
Hier der Code:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
<!--
if (document.layers){
window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
window.onmousedown=rightclick;
window.onmouseup=rightclick;
function rightclick(e) {
if (e.which == 3) {
// Put right mouse code here
alert('Nanu, wer wird denn wohl...');
return false;
}
else {
return true;
}
}
}
if (document.all){
function click() {
if (event.button==2) {
alert('Nanu, wer wird denn wohl...')
}
if (event.button==3) {
alert('Nanu, wer wird denn wohl...')}
}
document.onmousedown=click
}
// -->
</script>
<html>
<head>
<title>ZWERG & RIESE - Alles für "Gross" und "Klein"</title>
<meta name="author" content="bytebybyte2000">
<meta name="keywords" content="ebay, ebay-shop, zwerg und riese, zwerg, riese, secondhand, second-hand, kleidung, spielwaren, gross, klein, alles für gross und klein">
<meta name="Description" content="ZWERG & RIESE - Alles für 'Gross' und 'Klein'">
<meta name="COPYRIGHT" content="ByteByByte2000">
<meta http-equiv="CONTENT-LANGUAGE" content="German">
<meta http-equiv="AUDIENCE" content="General">
<meta name="RATING" content="General">
<meta name="EXPIRES" content="43200">
<meta name="REVISIT-AFTER" content="14 days">
<style type="text/css">
<!--
body { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
td { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none;}
a:link { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
a:visited { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#8A7F09;text-decoration:none; }
a:active { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#D45B24;text-decoration:none; }
a:hover { font-family:Tahoma,Arial,Helvetica;font-size:9px;color:#D45B24;;text-decoration:none; }
//-->
</style>
</head>
<body status="no" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<!-- HAUPTTABELLE -->
<table border="0" width="700" height="500" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="86" ><img src="files/pix/logo.gif" width="700" height="86"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="27" background="files/pix/buttonsbacktop.gif" align="right" valign="middle">
<a href="files/start.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">HOME</a>&nbsp;&nbsp;
<a href="files/produkte.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">PRODUKTE</a>&nbsp;&nbsp;
<a href="files/kontakt.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">KONTAKT</a>&nbsp;&nbsp;
<a href="http://197284.multiguestbook.com" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">G&Auml;STEBUCH</a>&nbsp;&nbsp;
<a href="files/links.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">LINKS</a>&nbsp;&nbsp;
<a href="files/impressum.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">IMPRESSUM</a>&nbsp;&nbsp;
<a href="files/agb.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">AGB</a>&nbsp;&nbsp;&nbsp;
</td>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="9" ><img src="files/pix/verlauf.gif" width="700" height="9"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="143" height="326" background="files/pix/leftmenue.gif" align="left" valign="top">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/herren.htm" target="Inhalt"onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">HERRENBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/damen.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">DAMENBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/kinder.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">KINDERBEKLEIDUNG</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/spielwaren.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">SPIELWAREN</a>
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/sonstiges.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">SONSTIGES</a>
<br><br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="files/angebote.htm" target="Inhalt" onMousedown="status='Verweis zur Startseite';return true;" onmouseover="status='ZWERG & RIESE - Alles für Gross und Klein';return true;">UNSERE ANGEBOTE</a>
</td>
<!-- IFRAME -->
<td bgcolor="#FFFFFF" width="549" height="326">
<iframe src="files/start.htm" width="549" height="326" frameborder="0" border="0" name="Inhalt">&nbsp;</iframe>
</td>
<td bgcolor="#FFFFFF" width="8" height="326" background="files/pix/right.gif">&nbsp;</td>
</tr>
<tr>
<td bgcolor:"#FFFFFF" colspan="3" width="700" height="27" background="files/pix/buttonsbacktop.gif" align="right" valign="middle">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:bytebybyte2000@gmx.net">&copy; ByteByByte2000</a>&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" colspan="3" width="700" height="25" align="left" valign="middle" background="files/pix/bottom.gif">&nbsp;&nbsp;&nbsp;<img src="http://www.bluenetdesign.de/cgi-bin/counter.pl?member=1099220703"></td>
</tr>
</table>
</body>
</html>
Vielen Dank schon mal für die Hilfe!!
Gruß, Rouven.