Ich möchte gerne, wenn man auf den Botton klickt, das man dann zu einer anderen Textseite kommt.
Hier ist der Code für Home:
Zitat:
<style type="text/css">
input.groovybutton
{
font-size:11px;
font-family:Verdana,sans-serif;
font-weight:bold;
color:#0000FF;
width:120px;
background-color:#FFEEDD;
filter:progid:DXImageTransform.Microsoft.Gradient( GradientType=0,StartColorStr='#ffFFFFFF',EndColorS tr='#ffFFEEDD');
border-top-style:solid;
border-top-color:#AAAAAA;
border-top-width:1px;
border-bottom-style:solid;
border-bottom-color:#AAAAAA;
border-bottom-width:1px;
border-left-style:solid;
border-left-color:#FFEEDD;
border-left-width:1px;
border-right-style:solid;
border-right-color:#FFFFFF;
border-right-width:1px;
}
</style>
<script language="javascript">
function goLite(FRM,BTN)
{
window.document.forms[FRM].elements[BTN].style.color = "#FF0000";
window.document.forms[FRM].elements[BTN].style.borderTopStyle = "outset";
window.document.forms[FRM].elements[BTN].style.borderBottomStyle = "outset";
window.document.forms[FRM].elements[BTN].style.borderLeftStyle = "none";
window.document.forms[FRM].elements[BTN].style.borderRightStyle = "none";
window.document.forms[FRM].elements[BTN].style.borderTopColor = "#666666";
window.document.forms[FRM].elements[BTN].style.borderBottomColor = "#666666";
}
function goDim(FRM,BTN)
{
window.document.forms[FRM].elements[BTN].style.color = "#0000FF";
window.document.forms[FRM].elements[BTN].style.borderTopStyle = "solid";
window.document.forms[FRM].elements[BTN].style.borderBottomStyle = "solid";
window.document.forms[FRM].elements[BTN].style.borderLeftStyle = "solid";
window.document.forms[FRM].elements[BTN].style.borderRightStyle = "solid";
window.document.forms[FRM].elements[BTN].style.borderTopColor = "#AAAAAA";
window.document.forms[FRM].elements[BTN].style.borderBottomColor = "#AAAAAA";
}
</script>
<form name="groovyform">
<input
type="button"
name="groovybtn1"
class="groovybutton"
value="Home"
title="Zur Startseite"
onMouseOver="goLite(this.form.name,this.name)"
onMouseOut="goDim(this.form.name,this.name)">
</form>
|