Scholieren.com forum

Scholieren.com forum (https://forum.scholieren.com/index.php)
-   Software & Hardware (https://forum.scholieren.com/forumdisplay.php?f=20)
-   -   [Javascript] meerdere frames vraag (https://forum.scholieren.com/showthread.php?t=864281)

Lil' Stef 08-06-2004 15:21

[Javascript] meerdere frames vraag
 
Hallo,

Ik heb wat zitten klooien met javascript om 2 pagina's in 1 keer te openen. Het werkt deels. Hij opent wel die 2 pagina's maar niet in het goede target. Hoe krijg ik dat goed?

<script language=Javascript>
function changeContent(url1,url2)
{
top.body.location= url1;
top.onder.location= url2;
}
</script>

<link rel=stylesheet type=text/css href=style.css>
<center><div valign=left><body topmargin=0 class=table>
<table cellpadding=2 width=100% height=100%>


<tr><td><form action=login/stuur.php method=post target=body></td>
<td><input type="text" name="username" value="Uw Gebruikersnaam" onfocus="this.value=''; document.login_box.password.value='';" class=form></td>
<td class=text>Wachtwoord: </td>
<td><input type="password" name="password" value="Uw wachtwoord" onfocus="this.value=''; document.login_box.password.value='';" class=form></td>
<td><a href="#" onClick="changeContent('login/stuur.php','onder.php');">Submit</a> td>
</form>

Alvast bedankt,

Stefan

Triloxigen 08-06-2004 15:42

http://forum.scholieren.com/showthre...hreadid=778013

Blijft moeilijk :|


Alle tijden zijn GMT +1. Het is nu 07:31.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.