oebiedoebie
Gebruiker
- Lid geworden
- 13 nov 2007
- Berichten
- 103
Ik heb op de site van leejoo.nl een botton gemaakt nou zou ik graag deze in een nieuw venster willen laten open. Maar ik heb van alles al geprobeert maar mij lukt het niet. Weet iemand een oplossing? Weet dat ik ergens TRAGET in moet vullen maar niet precies waar!
Dit is mijn html:
<html>
<head>
<meta http-equiv="Content-Language" content="nl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nieuwe pagina 1</title>
<!--Button Gegenereerd door leejoo.nl -->
<style>
.thisclass{background-color:#C0C0C0}
</style>
<script language="javascript">
function change(color){
var el=event.srcElement
if (el.tagName=="INPUT"&&el.type=="button")
event.srcElement.style.backgroundColor=color
}
function jumpto2(url)
{window.location=url}
</script>
</head>
<body bgcolor="#C0C0C0">
<form onMouseOver="change('#E63A10')" onMouseOut="change('#C0C0C0')"</A>
<input type="button" name="Button4" class="thisclass" value="Home" onMouseOver="this.style.color='#FFFFFF'" onMouseOut="this.style.color='#FFFFFF'" onMouseDown="this.style.color='#FFFFFF'" style="color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:16px;" onClick="jumpto2('start.htm')"></a></form>
</body>
</html>
Dit is mijn html:
<html>
<head>
<meta http-equiv="Content-Language" content="nl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nieuwe pagina 1</title>
<!--Button Gegenereerd door leejoo.nl -->
<style>
.thisclass{background-color:#C0C0C0}
</style>
<script language="javascript">
function change(color){
var el=event.srcElement
if (el.tagName=="INPUT"&&el.type=="button")
event.srcElement.style.backgroundColor=color
}
function jumpto2(url)
{window.location=url}
</script>
</head>
<body bgcolor="#C0C0C0">
<form onMouseOver="change('#E63A10')" onMouseOut="change('#C0C0C0')"</A>
<input type="button" name="Button4" class="thisclass" value="Home" onMouseOver="this.style.color='#FFFFFF'" onMouseOut="this.style.color='#FFFFFF'" onMouseDown="this.style.color='#FFFFFF'" style="color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:16px;" onClick="jumpto2('start.htm')"></a></form>
</body>
</html>