Hallo,
probiers mal damit:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
>
>
> window.onload=init;
>
> function init() {
> document.getElementById("suchlink").onclick=allySuche;
> }
>
> function allySuche() {
> var uni = window.prompt("Universum", "");
> var ally = window.prompt("Allianztag", "");
> window.location.href = "http://Uni" + uni + ".ogame.de/game/ainfo.php?allytag=" + ally;
> }
>
>
~~~~~~html
>
>
> </script>
> </head>
> <body>
> <span id="suchlink">suche</span>
> </body>
> </html>
>
~~~
>
> Gruß, der Arbeitslose
Na ja....
Danke für die Mühe aber so weit war ich auch schon, so lädt es ja auch im selben frame...
ich hab rausgefunden ohne das target="body" läuft es, aber halt net im bodyframe sondern über die ganze Seite...